{ "_info": { "license": { "name": "Apache 2.0", "url": "https://github.com/elastic/elasticsearch-specification/blob/main/LICENSE" }, "title": "Elasticsearch Request & Response Specification" }, "endpoints": [ { "availability": { "stack": { "stability": "experimental", "visibility": "private" } }, "description": "This API is a diagnostics API and the output should not be relied upon for building applications.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-desired-balance.html", "name": "_internal.delete_desired_balance", "request": null, "requestBodyRequired": false, "response": null, "responseMediaType": [ "application/json" ], "stability": "experimental", "urls": [ { "methods": [ "DELETE" ], "path": "/_internal/desired_balance" } ], "visibility": "private" }, { "availability": { "stack": { "stability": "experimental", "visibility": "private" } }, "description": "Deletes the desired nodes. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-desired-nodes.html", "name": "_internal.delete_desired_nodes", "request": null, "requestBodyRequired": false, "response": null, "responseMediaType": [ "application/json" ], "stability": "experimental", "urls": [ { "methods": [ "DELETE" ], "path": "/_internal/desired_nodes" } ], "visibility": "private" }, { "availability": { "stack": { "stability": "experimental", "visibility": "private" } }, "description": "This API is a diagnostics API and the output should not be relied upon for building applications.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-desired-balance.html", "name": "_internal.get_desired_balance", "request": null, "requestBodyRequired": false, "response": null, "responseMediaType": [ "application/json" ], "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_internal/desired_balance" } ], "visibility": "private" }, { "availability": { "stack": { "stability": "experimental", "visibility": "private" } }, "description": "Gets the latest desired nodes. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-desired-nodes.html", "name": "_internal.get_desired_nodes", "request": null, "requestBodyRequired": false, "response": null, "responseMediaType": [ "application/json" ], "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_internal/desired_nodes/_latest" } ], "visibility": "private" }, { "availability": { "stack": { "stability": "stable", "visibility": "private" } }, "description": "Prevalidates node removal from the cluster", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/prevalidate-node-removal-api.html", "name": "_internal.prevalidate_node_removal", "request": null, "requestBodyRequired": false, "response": null, "responseMediaType": [ "application/json" ], "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_internal/prevalidate_node_removal" } ], "visibility": "private" }, { "availability": { "stack": { "stability": "experimental", "visibility": "private" } }, "description": "Updates the desired nodes. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-desired-nodes.html", "name": "_internal.update_desired_nodes", "request": null, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": null, "responseMediaType": [ "application/json" ], "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_internal/desired_nodes/{history_id}/{version}" } ], "visibility": "private" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.7.0", "stability": "stable" } }, "description": "Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.", "docId": "async-search", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/async-search.html", "name": "async_search.delete", "request": { "name": "Request", "namespace": "async_search.delete" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "async_search.delete" }, "responseMediaType": [ "application/json" ], "since": "7.7.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_async_search/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.7.0", "stability": "stable" } }, "description": "Retrieves the results of a previously submitted async search request given its ID.", "docId": "async-search", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/async-search.html", "name": "async_search.get", "request": { "name": "Request", "namespace": "async_search.get" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "async_search.get" }, "responseMediaType": [ "application/json" ], "since": "7.7.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_async_search/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.11.0", "stability": "stable" } }, "description": "Retrieves the status of a previously submitted async search request given its ID.", "docId": "async-search", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/async-search.html", "name": "async_search.status", "request": { "name": "Request", "namespace": "async_search.status" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "async_search.status" }, "responseMediaType": [ "application/json" ], "since": "7.11.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_async_search/status/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.7.0", "stability": "stable" } }, "description": "Executes a search request asynchronously.", "docId": "async-search", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/async-search.html", "name": "async_search.submit", "request": { "name": "Request", "namespace": "async_search.submit" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "async_search.submit" }, "responseMediaType": [ "application/json" ], "since": "7.7.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_async_search" }, { "methods": [ "POST" ], "path": "/{index}/_async_search" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.11.0", "stability": "stable" } }, "description": "Deletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "docId": "autoscaling-delete-autoscaling-policy", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/autoscaling-delete-autoscaling-policy.html", "name": "autoscaling.delete_autoscaling_policy", "request": { "name": "Request", "namespace": "autoscaling.delete_autoscaling_policy" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "autoscaling.delete_autoscaling_policy" }, "responseMediaType": [ "application/json" ], "since": "7.11.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_autoscaling/policy/{name}" } ], "visibility": "private" }, { "availability": { "stack": { "since": "7.11.0", "stability": "stable" } }, "description": "Gets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "docId": "autoscaling-get-autoscaling-capacity", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/autoscaling-get-autoscaling-capacity.html", "name": "autoscaling.get_autoscaling_capacity", "request": { "name": "Request", "namespace": "autoscaling.get_autoscaling_capacity" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "autoscaling.get_autoscaling_capacity" }, "responseMediaType": [ "application/json" ], "since": "7.11.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_autoscaling/capacity" } ], "visibility": "private" }, { "availability": { "stack": { "since": "7.11.0", "stability": "stable" } }, "description": "Retrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "docId": "autoscaling-get-autoscaling-capacity", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/autoscaling-get-autoscaling-capacity.html", "name": "autoscaling.get_autoscaling_policy", "request": { "name": "Request", "namespace": "autoscaling.get_autoscaling_policy" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "autoscaling.get_autoscaling_policy" }, "responseMediaType": [ "application/json" ], "since": "7.11.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_autoscaling/policy/{name}" } ], "visibility": "private" }, { "availability": { "stack": { "since": "7.11.0", "stability": "stable" } }, "description": "Creates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "docId": "autoscaling-put-autoscaling-policy", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/autoscaling-put-autoscaling-policy.html", "name": "autoscaling.put_autoscaling_policy", "request": { "name": "Request", "namespace": "autoscaling.put_autoscaling_policy" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "autoscaling.put_autoscaling_policy" }, "responseMediaType": [ "application/json" ], "since": "7.11.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_autoscaling/policy/{name}" } ], "visibility": "private" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Allows to perform multiple index/update/delete operations in a single request.", "docId": "docs-bulk", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-bulk.html", "name": "bulk", "request": { "name": "Request", "namespace": "_global.bulk" }, "requestBodyRequired": true, "requestMediaType": [ "application/x-ndjson" ], "response": { "name": "Response", "namespace": "_global.bulk" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "POST", "PUT" ], "path": "/_bulk" }, { "methods": [ "POST", "PUT" ], "path": "/{index}/_bulk" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Shows information about currently configured aliases to indices including filter and routing infos.", "docId": "cat-alias", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-alias.html", "name": "cat.aliases", "privileges": { "index": [ "view_index_metadata" ] }, "request": { "name": "Request", "namespace": "cat.aliases" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.aliases" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/aliases" }, { "methods": [ "GET" ], "path": "/_cat/aliases/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.", "docId": "cat-allocation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-allocation.html", "name": "cat.allocation", "privileges": { "cluster": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cat.allocation" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.allocation" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/allocation" }, { "methods": [ "GET" ], "path": "/_cat/allocation/{node_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.1.0", "stability": "stable" } }, "description": "Returns information about existing component_templates templates.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html", "name": "cat.component_templates", "privileges": { "cluster": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cat.component_templates" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.component_templates" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "5.1.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/component_templates" }, { "methods": [ "GET" ], "path": "/_cat/component_templates/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Provides quick access to the document count of the entire cluster, or individual indices.", "docId": "cat-count", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-count.html", "name": "cat.count", "privileges": { "index": [ "read" ] }, "request": { "name": "Request", "namespace": "cat.count" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.count" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/count" }, { "methods": [ "GET" ], "path": "/_cat/count/{index}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Shows how much heap memory is currently being used by fielddata on every data node in the cluster.", "docId": "cat-fielddata", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-fielddata.html", "name": "cat.fielddata", "privileges": { "cluster": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cat.fielddata" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.fielddata" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/fielddata" }, { "methods": [ "GET" ], "path": "/_cat/fielddata/{fields}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns a concise representation of the cluster health.", "docId": "cat-health", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-health.html", "name": "cat.health", "privileges": { "cluster": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cat.health" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.health" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/health" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns help for the Cat APIs.", "docId": "cat", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat.html", "name": "cat.help", "request": { "name": "Request", "namespace": "cat.help" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.help" }, "responseMediaType": [ "text/plain" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about indices: number of primaries and replicas, document counts, disk size, ...", "docId": "cat-indices", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-indices.html", "name": "cat.indices", "privileges": { "cluster": [ "monitor" ], "index": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cat.indices" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.indices" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/indices" }, { "methods": [ "GET" ], "path": "/_cat/indices/{index}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about the master node.", "docId": "cat-master", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-master.html", "name": "cat.master", "privileges": { "cluster": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cat.master" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.master" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/master" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.7.0", "stability": "stable" } }, "description": "Gets configuration and usage information about data frame analytics jobs.", "docId": "cat-dfanalytics", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-dfanalytics.html", "name": "cat.ml_data_frame_analytics", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "cat.ml_data_frame_analytics" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.ml_data_frame_analytics" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "7.7.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/ml/data_frame/analytics" }, { "methods": [ "GET" ], "path": "/_cat/ml/data_frame/analytics/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.7.0", "stability": "stable" } }, "description": "Gets configuration and usage information about datafeeds.", "docId": "cat-datafeeds", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-datafeeds.html", "name": "cat.ml_datafeeds", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "cat.ml_datafeeds" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.ml_datafeeds" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "7.7.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/ml/datafeeds" }, { "methods": [ "GET" ], "path": "/_cat/ml/datafeeds/{datafeed_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.7.0", "stability": "stable" } }, "description": "Gets configuration and usage information about anomaly detection jobs.", "docId": "cat-anomaly-detectors", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-anomaly-detectors.html", "name": "cat.ml_jobs", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "cat.ml_jobs" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.ml_jobs" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "7.7.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/ml/anomaly_detectors" }, { "methods": [ "GET" ], "path": "/_cat/ml/anomaly_detectors/{job_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.7.0", "stability": "stable" } }, "description": "Gets configuration and usage information about inference trained models.", "docId": "cat-trained-model", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-trained-model.html", "name": "cat.ml_trained_models", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "cat.ml_trained_models" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.ml_trained_models" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "7.7.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/ml/trained_models" }, { "methods": [ "GET" ], "path": "/_cat/ml/trained_models/{model_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about custom node attributes.", "docId": "cat-nodeattrs", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-nodeattrs.html", "name": "cat.nodeattrs", "privileges": { "cluster": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cat.nodeattrs" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.nodeattrs" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/nodeattrs" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns basic statistics about performance of cluster nodes.", "docId": "cat-nodes", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-nodes.html", "name": "cat.nodes", "privileges": { "cluster": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cat.nodes" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.nodes" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/nodes" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns a concise representation of the cluster pending tasks.", "docId": "cat-pending-tasks", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-pending-tasks.html", "name": "cat.pending_tasks", "privileges": { "cluster": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cat.pending_tasks" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.pending_tasks" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/pending_tasks" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about installed plugins across nodes node.", "docId": "cat-plugins", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-plugins.html", "name": "cat.plugins", "privileges": { "cluster": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cat.plugins" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.plugins" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/plugins" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about index shard recoveries, both on-going completed.", "docId": "cat-recovery", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-recovery.html", "name": "cat.recovery", "privileges": { "cluster": [ "monitor" ], "index": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cat.recovery" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.recovery" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/recovery" }, { "methods": [ "GET" ], "path": "/_cat/recovery/{index}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "2.1.0", "stability": "stable" } }, "description": "Returns information about snapshot repositories registered in the cluster.", "docId": "cat-repositories", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-repositories.html", "name": "cat.repositories", "privileges": { "cluster": [ "monitor_snapshot" ] }, "request": { "name": "Request", "namespace": "cat.repositories" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.repositories" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "2.1.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/repositories" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Provides low-level information about the segments in the shards of an index.", "docId": "cat-segments", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-segments.html", "name": "cat.segments", "privileges": { "cluster": [ "monitor" ], "index": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cat.segments" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.segments" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/segments" }, { "methods": [ "GET" ], "path": "/_cat/segments/{index}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Provides a detailed view of shard allocation on nodes.", "docId": "cat-shards", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-shards.html", "name": "cat.shards", "privileges": { "cluster": [ "monitor" ], "index": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cat.shards" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.shards" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/shards" }, { "methods": [ "GET" ], "path": "/_cat/shards/{index}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "2.1.0", "stability": "stable" } }, "description": "Returns all snapshots in a specific repository.", "docId": "cat-snapshots", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-snapshots.html", "name": "cat.snapshots", "privileges": { "cluster": [ "monitor_snapshot" ] }, "request": { "name": "Request", "namespace": "cat.snapshots" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.snapshots" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "2.1.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/snapshots" }, { "methods": [ "GET" ], "path": "/_cat/snapshots/{repository}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "private" }, "stack": { "since": "5.0.0", "stability": "experimental" } }, "description": "Returns information about the tasks currently executing on one or more nodes in the cluster.", "docId": "tasks", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/tasks.html", "name": "cat.tasks", "privileges": { "cluster": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cat.tasks" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.tasks" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "5.0.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_cat/tasks" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.2.0", "stability": "stable" } }, "description": "Returns information about existing templates.", "docId": "cat-templates", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-templates.html", "name": "cat.templates", "privileges": { "cluster": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cat.templates" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.templates" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "5.2.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/templates" }, { "methods": [ "GET" ], "path": "/_cat/templates/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns cluster-wide thread pool statistics per node.\nBy default the active, queue and rejected statistics are returned for all thread pools.", "docId": "cat-thread-pool", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-thread-pool.html", "name": "cat.thread_pool", "privileges": { "cluster": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cat.thread_pool" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.thread_pool" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/thread_pool" }, { "methods": [ "GET" ], "path": "/_cat/thread_pool/{thread_pool_patterns}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.7.0", "stability": "stable" } }, "description": "Gets configuration and usage information about transforms.", "docId": "cat-transforms", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-transforms.html", "name": "cat.transforms", "privileges": { "cluster": [ "monitor_transform" ] }, "request": { "name": "Request", "namespace": "cat.transforms" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cat.transforms" }, "responseMediaType": [ "text/plain", "application/json" ], "since": "7.7.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cat/transforms" }, { "methods": [ "GET" ], "path": "/_cat/transforms/{transform_id}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.5.0", "stability": "stable" } }, "description": "Deletes auto-follow patterns.", "docId": "ccr-delete-auto-follow-pattern", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-delete-auto-follow-pattern.html", "name": "ccr.delete_auto_follow_pattern", "request": { "name": "Request", "namespace": "ccr.delete_auto_follow_pattern" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ccr.delete_auto_follow_pattern" }, "responseMediaType": [ "application/json" ], "since": "6.5.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_ccr/auto_follow/{name}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.5.0", "stability": "stable" } }, "description": "Creates a new follower index configured to follow the referenced leader index.", "docId": "ccr-put-follow", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-put-follow.html", "name": "ccr.follow", "request": { "name": "Request", "namespace": "ccr.follow" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ccr.follow" }, "responseMediaType": [ "application/json" ], "since": "6.5.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/{index}/_ccr/follow" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.7.0", "stability": "stable" } }, "description": "Retrieves information about all follower indices, including parameters and status for each follower index", "docId": "ccr-get-follow-info", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-get-follow-info.html", "name": "ccr.follow_info", "request": { "name": "Request", "namespace": "ccr.follow_info" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ccr.follow_info" }, "responseMediaType": [ "application/json" ], "since": "6.7.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/{index}/_ccr/info" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.5.0", "stability": "stable" } }, "description": "Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices.", "docId": "ccr-get-follow-stats", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-get-follow-stats.html", "name": "ccr.follow_stats", "request": { "name": "Request", "namespace": "ccr.follow_stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ccr.follow_stats" }, "responseMediaType": [ "application/json" ], "since": "6.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/{index}/_ccr/stats" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.7.0", "stability": "stable" } }, "description": "Removes the follower retention leases from the leader.", "docId": "ccr-post-forget-follower", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-post-forget-follower.html", "name": "ccr.forget_follower", "request": { "name": "Request", "namespace": "ccr.forget_follower" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ccr.forget_follower" }, "responseMediaType": [ "application/json" ], "since": "6.7.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/{index}/_ccr/forget_follower" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.5.0", "stability": "stable" } }, "description": "Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection.", "docId": "ccr-get-auto-follow-pattern", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-get-auto-follow-pattern.html", "name": "ccr.get_auto_follow_pattern", "request": { "name": "Request", "namespace": "ccr.get_auto_follow_pattern" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ccr.get_auto_follow_pattern" }, "responseMediaType": [ "application/json" ], "since": "6.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ccr/auto_follow" }, { "methods": [ "GET" ], "path": "/_ccr/auto_follow/{name}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Pauses an auto-follow pattern", "docId": "ccr-pause-auto-follow-pattern", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-pause-auto-follow-pattern.html", "name": "ccr.pause_auto_follow_pattern", "request": { "name": "Request", "namespace": "ccr.pause_auto_follow_pattern" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ccr.pause_auto_follow_pattern" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ccr/auto_follow/{name}/pause" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.5.0", "stability": "stable" } }, "description": "Pauses a follower index. The follower index will not fetch any additional operations from the leader index.", "docId": "ccr-post-pause-follow", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-post-pause-follow.html", "name": "ccr.pause_follow", "request": { "name": "Request", "namespace": "ccr.pause_follow" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ccr.pause_follow" }, "responseMediaType": [ "application/json" ], "since": "6.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/{index}/_ccr/pause_follow" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.5.0", "stability": "stable" } }, "description": "Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices.", "docId": "ccr-put-auto-follow-pattern", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-put-auto-follow-pattern.html", "name": "ccr.put_auto_follow_pattern", "request": { "name": "Request", "namespace": "ccr.put_auto_follow_pattern" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ccr.put_auto_follow_pattern" }, "responseMediaType": [ "application/json" ], "since": "6.5.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_ccr/auto_follow/{name}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Resumes an auto-follow pattern that has been paused", "docId": "ccr-resume-auto-follow-pattern", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-resume-auto-follow-pattern.html", "name": "ccr.resume_auto_follow_pattern", "request": { "name": "Request", "namespace": "ccr.resume_auto_follow_pattern" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ccr.resume_auto_follow_pattern" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ccr/auto_follow/{name}/resume" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.5.0", "stability": "stable" } }, "description": "Resumes a follower index that has been paused", "docId": "ccr-post-resume-follow", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-post-resume-follow.html", "name": "ccr.resume_follow", "request": { "name": "Request", "namespace": "ccr.resume_follow" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ccr.resume_follow" }, "responseMediaType": [ "application/json" ], "since": "6.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/{index}/_ccr/resume_follow" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.5.0", "stability": "stable" } }, "description": "Gets all stats related to cross-cluster replication.", "docId": "ccr-get-stats", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-get-stats.html", "name": "ccr.stats", "request": { "name": "Request", "namespace": "ccr.stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ccr.stats" }, "responseMediaType": [ "application/json" ], "since": "6.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ccr/stats" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.5.0", "stability": "stable" } }, "description": "Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication.", "docId": "ccr-post-unfollow", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ccr-post-unfollow.html", "name": "ccr.unfollow", "request": { "name": "Request", "namespace": "ccr.unfollow" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ccr.unfollow" }, "responseMediaType": [ "application/json" ], "since": "6.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/{index}/_ccr/unfollow" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Explicitly clears the search context for a scroll.", "docId": "clear-scroll-api", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/clear-scroll-api.html", "name": "clear_scroll", "request": { "name": "Request", "namespace": "_global.clear_scroll" }, "requestBodyRequired": false, "requestMediaType": [ "application/json", "text/plain" ], "response": { "name": "Response", "namespace": "_global.clear_scroll" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_search/scroll" }, { "deprecation": { "description": "A scroll id can be quite large and should be specified as part of the body", "version": "7.0.0" }, "methods": [ "DELETE" ], "path": "/_search/scroll/{scroll_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.10.0", "stability": "stable" } }, "description": "Close a point in time", "docId": "point-in-time-api", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/point-in-time-api.html", "name": "close_point_in_time", "request": { "name": "Request", "namespace": "_global.close_point_in_time" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.close_point_in_time" }, "responseMediaType": [ "application/json" ], "since": "7.10.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_pit" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.0.0", "stability": "stable" } }, "description": "Provides explanations for shard allocations in the cluster.", "docId": "cluster-allocation-explain", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-allocation-explain.html", "name": "cluster.allocation_explain", "request": { "name": "Request", "namespace": "cluster.allocation_explain" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "cluster.allocation_explain" }, "responseMediaType": [ "application/json" ], "since": "5.0.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_cluster/allocation/explain" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.8.0", "stability": "stable" } }, "description": "Deletes a component template", "docId": "indices-component-template", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-component-template.html", "name": "cluster.delete_component_template", "privileges": { "cluster": [ "manage_index_templates" ] }, "request": { "name": "Request", "namespace": "cluster.delete_component_template" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cluster.delete_component_template" }, "responseMediaType": [ "application/json" ], "since": "7.8.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_component_template/{name}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.0.0", "stability": "stable" } }, "description": "Clears cluster voting config exclusions.", "docId": "voting-config-exclusions", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/voting-config-exclusions.html", "name": "cluster.delete_voting_config_exclusions", "request": { "name": "Request", "namespace": "cluster.delete_voting_config_exclusions" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cluster.delete_voting_config_exclusions" }, "responseMediaType": [ "application/json" ], "since": "7.0.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_cluster/voting_config_exclusions" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.8.0", "stability": "stable" } }, "description": "Returns information about whether a particular component template exist", "docId": "indices-component-template", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-component-template.html", "name": "cluster.exists_component_template", "request": { "name": "Request", "namespace": "cluster.exists_component_template" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cluster.exists_component_template" }, "responseMediaType": [ "application/json" ], "since": "7.8.0", "stability": "stable", "urls": [ { "methods": [ "HEAD" ], "path": "/_component_template/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.8.0", "stability": "stable" } }, "description": "Returns one or more component templates", "docId": "indices-component-template", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-component-template.html", "name": "cluster.get_component_template", "privileges": { "cluster": [ "manage_index_templates" ] }, "request": { "name": "Request", "namespace": "cluster.get_component_template" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cluster.get_component_template" }, "responseMediaType": [ "application/json" ], "since": "7.8.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_component_template" }, { "methods": [ "GET" ], "path": "/_component_template/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns cluster settings.", "docId": "cluster-get-settings", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-get-settings.html", "name": "cluster.get_settings", "privileges": { "cluster": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cluster.get_settings" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cluster.get_settings" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cluster/settings" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "1.3.0", "stability": "stable" } }, "description": "Returns basic information about the health of the cluster.", "docId": "cluster-health", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-health.html", "name": "cluster.health", "privileges": { "cluster": [ "monitor", "manage" ] }, "request": { "name": "Request", "namespace": "cluster.health" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cluster.health" }, "responseMediaType": [ "application/json" ], "since": "1.3.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cluster/health" }, { "methods": [ "GET" ], "path": "/_cluster/health/{index}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.9.0", "stability": "stable" } }, "description": "Returns different information about the cluster.", "docId": "cluster-info", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-info.html", "name": "cluster.info", "request": { "name": "Request", "namespace": "cluster.info" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cluster.info" }, "responseMediaType": [ "application/json" ], "since": "8.9.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_info/{target}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns a list of any cluster-level changes (e.g. create index, update mapping,\nallocate or fail shard) which have not yet been executed.", "docId": "cluster-pending", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-pending.html", "name": "cluster.pending_tasks", "privileges": { "cluster": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cluster.pending_tasks" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cluster.pending_tasks" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cluster/pending_tasks" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.0.0", "stability": "stable" } }, "description": "Updates the cluster voting config exclusions by node ids or node names.", "docId": "voting-config-exclusions", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/voting-config-exclusions.html", "name": "cluster.post_voting_config_exclusions", "request": { "name": "Request", "namespace": "cluster.post_voting_config_exclusions" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cluster.post_voting_config_exclusions" }, "responseMediaType": [ "application/json" ], "since": "7.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_cluster/voting_config_exclusions" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.8.0", "stability": "stable" } }, "description": "Creates or updates a component template", "docId": "indices-component-template", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-component-template.html", "name": "cluster.put_component_template", "privileges": { "cluster": [ "manage_index_templates" ] }, "request": { "name": "Request", "namespace": "cluster.put_component_template" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "cluster.put_component_template" }, "responseMediaType": [ "application/json" ], "since": "7.8.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_component_template/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Updates the cluster settings.", "docId": "cluster-update-settings", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-update-settings.html", "name": "cluster.put_settings", "request": { "name": "Request", "namespace": "cluster.put_settings" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "cluster.put_settings" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_cluster/settings" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.1.0", "stability": "stable" } }, "description": "Returns the information about configured remote clusters.", "docId": "cluster-remote-info", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-remote-info.html", "name": "cluster.remote_info", "request": { "name": "Request", "namespace": "cluster.remote_info" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cluster.remote_info" }, "responseMediaType": [ "application/json" ], "since": "6.1.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_remote/info" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.0.0", "stability": "stable" } }, "description": "Allows to manually change the allocation of individual shards in the cluster.", "docId": "cluster-reroute", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-reroute.html", "name": "cluster.reroute", "request": { "name": "Request", "namespace": "cluster.reroute" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "cluster.reroute" }, "responseMediaType": [ "application/json" ], "since": "5.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_cluster/reroute" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "1.3.0", "stability": "stable" } }, "description": "Returns a comprehensive information about the state of the cluster.", "docId": "cluster-state", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-state.html", "name": "cluster.state", "privileges": { "cluster": [ "monitor", "manage" ] }, "request": { "name": "Request", "namespace": "cluster.state" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cluster.state" }, "responseMediaType": [ "application/json" ], "since": "1.3.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cluster/state" }, { "methods": [ "GET" ], "path": "/_cluster/state/{metric}" }, { "methods": [ "GET" ], "path": "/_cluster/state/{metric}/{index}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "1.3.0", "stability": "stable" } }, "description": "Returns high-level overview of cluster statistics.", "docId": "cluster-stats", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-stats.html", "name": "cluster.stats", "privileges": { "cluster": [ "monitor" ] }, "request": { "name": "Request", "namespace": "cluster.stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "cluster.stats" }, "responseMediaType": [ "application/json" ], "since": "1.3.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_cluster/stats" }, { "methods": [ "GET" ], "path": "/_cluster/stats/nodes/{node_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Updates the last_seen timestamp in the connector document.", "docId": "connector-checkin", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/check-in-connector-api.html", "name": "connector.check_in", "request": { "name": "Request", "namespace": "connector.check_in" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "connector.check_in" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/{connector_id}/_check_in" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Deletes a connector.", "docId": "connector-delete", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/delete-connector-api.html", "name": "connector.delete", "request": { "name": "Request", "namespace": "connector.delete" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "connector.delete" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "DELETE" ], "path": "/_connector/{connector_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Returns the details about a connector.", "docId": "connector-get", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/get-connector-api.html", "name": "connector.get", "request": { "name": "Request", "namespace": "connector.get" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "connector.get" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_connector/{connector_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Updates the stats of last sync in the connector document.", "docId": "connector-last-sync", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/update-connector-last-sync-api.html", "name": "connector.last_sync", "request": { "name": "Request", "namespace": "connector.last_sync" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.last_sync" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/{connector_id}/_last_sync" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Lists all connectors.", "docId": "connector-list", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/list-connector-api.html", "name": "connector.list", "request": { "name": "Request", "namespace": "connector.list" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "connector.list" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_connector" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Creates a connector.", "docId": "connector-post", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/create-connector-api.html", "name": "connector.post", "request": { "name": "Request", "namespace": "connector.post" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.post" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "POST" ], "path": "/_connector" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Creates or updates a connector.", "docId": "connector-put", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/create-connector-api.html", "name": "connector.put", "request": { "name": "Request", "namespace": "connector.put" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.put" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/{connector_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Cancels a connector sync job.", "docId": "connector-sync-job-cancel", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cancel-connector-sync-job-api.html", "name": "connector.sync_job_cancel", "request": { "name": "Request", "namespace": "connector.sync_job_cancel" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "connector.sync_job_cancel" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/_sync_job/{connector_sync_job_id}/_cancel" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Deletes a connector sync job.", "docId": "connector-sync-job-delete", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/delete-connector-sync-job-api.html", "name": "connector.sync_job_delete", "request": { "name": "Request", "namespace": "connector.sync_job_delete" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "connector.sync_job_delete" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "DELETE" ], "path": "/_connector/_sync_job/{connector_sync_job_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Returns the details about a connector sync job.", "docId": "connector-sync-job-get", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/get-connector-sync-job-api.html", "name": "connector.sync_job_get", "request": { "name": "Request", "namespace": "connector.sync_job_get" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "connector.sync_job_get" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_connector/_sync_job/{connector_sync_job_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Lists all connector sync jobs.", "docId": "connector-sync-job-list", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/list-connector-sync-jobs-api.html", "name": "connector.sync_job_list", "request": { "name": "Request", "namespace": "connector.sync_job_list" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "connector.sync_job_list" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_connector/_sync_job" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Creates a connector sync job.", "docId": "connector-sync-job-post", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/create-connector-sync-job-api.html", "name": "connector.sync_job_post", "request": { "name": "Request", "namespace": "connector.sync_job_post" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.sync_job_post" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "POST" ], "path": "/_connector/_sync_job" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Activates the draft filtering rules if they are in a validated state.", "docId": "connector-update-filtering", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/update-connector-filtering-api.html", "name": "connector.update_active_filtering", "request": { "name": "Request", "namespace": "connector.update_active_filtering" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.update_active_filtering" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/{connector_id}/_filtering/_activate" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Updates the API key id and/or API key secret id fields in the connector document.", "docId": "connector-update-api-key-id", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/update-connector-api-key-id-api.html", "name": "connector.update_api_key_id", "request": { "name": "Request", "namespace": "connector.update_api_key_id" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.update_api_key_id" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/{connector_id}/_api_key_id" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Updates the connector configuration.", "docId": "connector-configuration", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/update-connector-configuration-api.html", "name": "connector.update_configuration", "request": { "name": "Request", "namespace": "connector.update_configuration" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.update_configuration" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/{connector_id}/_configuration" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Updates the error field in the connector document.", "docId": "connector-update-error", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/update-connector-error-api.html", "name": "connector.update_error", "request": { "name": "Request", "namespace": "connector.update_error" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.update_error" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/{connector_id}/_error" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Updates the filtering field in the connector document.", "docId": "connector-update-filtering", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/update-connector-filtering-api.html", "name": "connector.update_filtering", "request": { "name": "Request", "namespace": "connector.update_filtering" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.update_filtering" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/{connector_id}/_filtering" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Updates the validation info of the draft filtering rules.", "docId": "connector-update-filtering-validation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/update-connector-filtering-validation-api.html", "name": "connector.update_filtering_validation", "request": { "name": "Request", "namespace": "connector.update_filtering_validation" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.update_filtering_validation" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/{connector_id}/_filtering/_validation" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Updates the index name of the connector.", "docId": "connector-update-index-name", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/update-connector-index-name-api.html", "name": "connector.update_index_name", "request": { "name": "Request", "namespace": "connector.update_index_name" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.update_index_name" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/{connector_id}/_index_name" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Updates the name and/or description fields in the connector document.", "docId": "connector-update-name", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/update-connector-name-description-api.html", "name": "connector.update_name", "request": { "name": "Request", "namespace": "connector.update_name" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.update_name" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/{connector_id}/_name" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Updates the is_native flag of the connector.", "docId": "connector-update-native", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/update-connector-native-api.html", "name": "connector.update_native", "request": { "name": "Request", "namespace": "connector.update_native" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.update_native" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/{connector_id}/_native" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Updates the pipeline field in the connector document.", "docId": "connector-update-pipeline", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/update-connector-pipeline-api.html", "name": "connector.update_pipeline", "request": { "name": "Request", "namespace": "connector.update_pipeline" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.update_pipeline" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/{connector_id}/_pipeline" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Updates the scheduling field in the connector document.", "docId": "connector-update-scheduling", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/update-connector-scheduling-api.html", "name": "connector.update_scheduling", "request": { "name": "Request", "namespace": "connector.update_scheduling" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.update_scheduling" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/{connector_id}/_scheduling" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Updates the service type of the connector.", "docId": "connector-update-service-type", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/update-connector-service-type-api.html", "name": "connector.update_service_type", "request": { "name": "Request", "namespace": "connector.update_service_type" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.update_service_type" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/{connector_id}/_service_type" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.12.0", "stability": "experimental" } }, "description": "Updates the status of the connector.", "docId": "connector-update-status", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/update-connector-status-api.html", "name": "connector.update_status", "request": { "name": "Request", "namespace": "connector.update_status" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "connector.update_status" }, "responseMediaType": [ "application/json" ], "since": "8.12.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_connector/{connector_id}/_status" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns number of documents matching a query.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html", "name": "count", "request": { "name": "Request", "namespace": "_global.count" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.count" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "POST", "GET" ], "path": "/_count" }, { "methods": [ "POST", "GET" ], "path": "/{index}/_count" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.0.0", "stability": "stable" } }, "description": "Creates a new document in the index.\n\nReturns a 409 response when a document with a same ID already exists in the index.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html", "name": "create", "request": { "name": "Request", "namespace": "_global.create" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.create" }, "responseMediaType": [ "application/json" ], "since": "5.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/{index}/_create/{id}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Deletes the specified dangling index", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html", "name": "dangling_indices.delete_dangling_index", "request": { "name": "Request", "namespace": "dangling_indices.delete_dangling_index" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "dangling_indices.delete_dangling_index" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_dangling/{index_uuid}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Imports the specified dangling index", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html", "name": "dangling_indices.import_dangling_index", "request": { "name": "Request", "namespace": "dangling_indices.import_dangling_index" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "dangling_indices.import_dangling_index" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_dangling/{index_uuid}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Returns all dangling indices.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html", "name": "dangling_indices.list_dangling_indices", "request": { "name": "Request", "namespace": "dangling_indices.list_dangling_indices" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "dangling_indices.list_dangling_indices" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_dangling" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Removes a document from the index.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html", "name": "delete", "request": { "name": "Request", "namespace": "_global.delete" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.delete" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/{index}/_doc/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.0.0", "stability": "stable" } }, "description": "Deletes documents matching the provided query.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html", "name": "delete_by_query", "request": { "name": "Request", "namespace": "_global.delete_by_query" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.delete_by_query" }, "responseMediaType": [ "application/json" ], "since": "5.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/{index}/_delete_by_query" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "6.5.0", "stability": "stable" } }, "description": "Changes the number of requests per second for a particular Delete By Query operation.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html", "name": "delete_by_query_rethrottle", "request": { "name": "Request", "namespace": "_global.delete_by_query_rethrottle" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.delete_by_query_rethrottle" }, "responseMediaType": [ "application/json" ], "since": "6.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_delete_by_query/{task_id}/_rethrottle" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Deletes a script.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html", "name": "delete_script", "request": { "name": "Request", "namespace": "_global.delete_script" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.delete_script" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_scripts/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Deletes an existing enrich policy and its enrich index.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-enrich-policy-api.html", "name": "enrich.delete_policy", "request": { "name": "Request", "namespace": "enrich.delete_policy" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "enrich.delete_policy" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_enrich/policy/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Creates the enrich index for an existing enrich policy.", "docId": "execute-enrich-policy-api", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/execute-enrich-policy-api.html", "name": "enrich.execute_policy", "request": { "name": "Request", "namespace": "enrich.execute_policy" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "enrich.execute_policy" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_enrich/policy/{name}/_execute" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Gets information about an enrich policy.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html", "name": "enrich.get_policy", "request": { "name": "Request", "namespace": "enrich.get_policy" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "enrich.get_policy" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_enrich/policy/{name}" }, { "methods": [ "GET" ], "path": "/_enrich/policy" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Creates a new enrich policy.", "docId": "put-enrich-policy-api", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/put-enrich-policy-api.html", "name": "enrich.put_policy", "request": { "name": "Request", "namespace": "enrich.put_policy" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "enrich.put_policy" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_enrich/policy/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Gets enrich coordinator statistics and information about enrich policies that are currently executing.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-stats-api.html", "name": "enrich.stats", "request": { "name": "Request", "namespace": "enrich.stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "enrich.stats" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_enrich/_stats" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Deletes an async EQL search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html", "name": "eql.delete", "request": { "name": "Request", "namespace": "eql.delete" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "eql.delete" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_eql/search/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Returns async results from previously executed Event Query Language (EQL) search", "docId": "eql-async-search-api", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/get-async-eql-search-api.html", "name": "eql.get", "request": { "name": "Request", "namespace": "eql.get" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "eql.get" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_eql/search/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Returns the status of a previously submitted async or stored Event Query Language (EQL) search", "docId": "eql-async-search-status-api", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/get-async-eql-status-api.html", "name": "eql.get_status", "request": { "name": "Request", "namespace": "eql.get_status" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "eql.get_status" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_eql/search/status/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Returns results matching a query expressed in Event Query Language (EQL)", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html", "name": "eql.search", "request": { "name": "Request", "namespace": "eql.search" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "eql.search" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/{index}/_eql/search" } ], "visibility": "public" }, { "availability": { "stack": { "since": "8.11.0", "stability": "experimental" } }, "description": "Executes an ESQL request", "docId": "esql-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/esql-rest.html", "name": "esql.query", "request": { "name": "Request", "namespace": "esql.query" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "esql.query" }, "responseMediaType": [ "application/json" ], "since": "8.11.0", "stability": "experimental", "urls": [ { "methods": [ "POST" ], "path": "/_query" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about whether a document exists in an index.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html", "name": "exists", "request": { "name": "Request", "namespace": "_global.exists" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.exists" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "HEAD" ], "path": "/{index}/_doc/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Returns information about whether a document source exists in an index.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html", "name": "exists_source", "request": { "name": "Request", "namespace": "_global.exists_source" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.exists_source" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "HEAD" ], "path": "/{index}/_source/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about why a specific matches (or doesn't match) a query.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html", "name": "explain", "request": { "name": "Request", "namespace": "_global.explain" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.explain" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/{index}/_explain/{id}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.12.0", "stability": "stable" } }, "description": "Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-features-api.html", "name": "features.get_features", "request": { "name": "Request", "namespace": "features.get_features" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "features.get_features" }, "responseMediaType": [ "application/json" ], "since": "7.12.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_features" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "private" }, "stack": { "since": "7.12.0", "stability": "experimental" } }, "description": "Resets the internal state of features, usually by deleting system indices", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "name": "features.reset_features", "request": { "name": "Request", "namespace": "features.reset_features" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "features.reset_features" }, "responseMediaType": [ "application/json" ], "since": "7.12.0", "stability": "experimental", "urls": [ { "methods": [ "POST" ], "path": "/_features/_reset" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Returns the information about the capabilities of fields among multiple indices.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html", "name": "field_caps", "privileges": { "index": [ "view_index_metadata", "read", "manage" ] }, "request": { "name": "Request", "namespace": "_global.field_caps" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.field_caps" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_field_caps" }, { "methods": [ "GET", "POST" ], "path": "/{index}/_field_caps" } ], "visibility": "public" }, { "availability": { "stack": { "stability": "experimental", "visibility": "private" } }, "description": "Deletes a secret stored by Fleet.", "docUrl": null, "name": "fleet.delete_secret", "request": null, "requestBodyRequired": false, "response": null, "responseMediaType": [ "application/json" ], "stability": "experimental", "urls": [ { "methods": [ "DELETE" ], "path": "/_fleet/secret/{id}" } ], "visibility": "private" }, { "availability": { "stack": { "stability": "experimental", "visibility": "private" } }, "description": "Retrieves a secret stored by Fleet.", "docUrl": null, "name": "fleet.get_secret", "request": null, "requestBodyRequired": false, "response": null, "responseMediaType": [ "application/json" ], "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_fleet/secret/{id}" } ], "visibility": "private" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.13.0", "stability": "stable" } }, "description": "Returns the current global checkpoints for an index. This API is design for internal use by the fleet server project.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-global-checkpoints.html", "name": "fleet.global_checkpoints", "request": { "name": "Request", "namespace": "fleet.global_checkpoints" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "fleet.global_checkpoints" }, "responseMediaType": [ "application/json" ], "since": "7.13.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/{index}/_fleet/global_checkpoints" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "private" }, "stack": { "since": "7.16.0", "stability": "experimental" } }, "description": "Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", "docUrl": null, "name": "fleet.msearch", "privileges": { "index": [ "read" ] }, "request": { "name": "Request", "namespace": "fleet.msearch" }, "requestBodyRequired": true, "requestMediaType": [ "application/x-ndjson" ], "response": { "name": "Response", "namespace": "fleet.msearch" }, "responseMediaType": [ "application/json" ], "since": "7.16.0", "stability": "experimental", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_fleet/_fleet_msearch" }, { "methods": [ "GET", "POST" ], "path": "/{index}/_fleet/_fleet_msearch" } ], "visibility": "public" }, { "availability": { "stack": { "stability": "experimental", "visibility": "private" } }, "description": "Creates a secret stored by Fleet.", "docUrl": null, "name": "fleet.post_secret", "request": null, "requestBodyRequired": true, "response": null, "responseMediaType": [ "application/json" ], "stability": "experimental", "urls": [ { "methods": [ "POST" ], "path": "/_fleet/secret" } ], "visibility": "private" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "private" }, "stack": { "since": "7.16.0", "stability": "experimental" } }, "description": "Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.", "docUrl": null, "name": "fleet.search", "privileges": { "index": [ "read" ] }, "request": { "name": "Request", "namespace": "fleet.search" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "fleet.search" }, "responseMediaType": [ "application/json" ], "since": "7.16.0", "stability": "experimental", "urls": [ { "methods": [ "GET", "POST" ], "path": "/{index}/_fleet/_fleet_search" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns a document.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html", "name": "get", "request": { "name": "Request", "namespace": "_global.get" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.get" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/{index}/_doc/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns a script.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html", "name": "get_script", "request": { "name": "Request", "namespace": "_global.get_script" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.get_script" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_scripts/{id}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns all script contexts.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html", "name": "get_script_context", "request": { "name": "Request", "namespace": "_global.get_script_context" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.get_script_context" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_script_context" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns available script types, languages and contexts", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html", "name": "get_script_languages", "request": { "name": "Request", "namespace": "_global.get_script_languages" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.get_script_languages" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_script_language" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns the source of a document.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html", "name": "get_source", "request": { "name": "Request", "namespace": "_global.get_source" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.get_source" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/{index}/_source/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Explore extracted and summarized information about the documents and terms in an index.", "docId": "graph-explore-api", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/graph-explore-api.html", "name": "graph.explore", "request": { "name": "Request", "namespace": "graph.explore" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "graph.explore" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/{index}/_graph/explore" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "8.7.0", "stability": "stable" } }, "description": "Returns the health of the cluster.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/health-api.html", "name": "health_report", "request": { "name": "Request", "namespace": "_global.health_report" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.health_report" }, "responseMediaType": [ "application/json" ], "since": "8.7.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_health_report" }, { "methods": [ "GET" ], "path": "/_health_report/{feature}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.6.0", "stability": "stable" } }, "description": "Deletes the specified lifecycle policy definition. A currently used policy cannot be deleted.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-delete-lifecycle.html", "name": "ilm.delete_lifecycle", "privileges": { "cluster": [ "manage_ilm" ] }, "request": { "name": "Request", "namespace": "ilm.delete_lifecycle" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ilm.delete_lifecycle" }, "responseMediaType": [ "application/json" ], "since": "6.6.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_ilm/policy/{policy}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.6.0", "stability": "stable" } }, "description": "Retrieves information about the index's current lifecycle state, such as the currently executing phase, action, and step.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-explain-lifecycle.html", "name": "ilm.explain_lifecycle", "privileges": { "index": [ "view_index_metadata", "manage_ilm" ] }, "request": { "name": "Request", "namespace": "ilm.explain_lifecycle" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ilm.explain_lifecycle" }, "responseMediaType": [ "application/json" ], "since": "6.6.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/{index}/_ilm/explain" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.6.0", "stability": "stable" } }, "description": "Returns the specified policy definition. Includes the policy version and last modified date.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-lifecycle.html", "name": "ilm.get_lifecycle", "privileges": { "cluster": [ "manage_ilm", "read_ilm" ] }, "request": { "name": "Request", "namespace": "ilm.get_lifecycle" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ilm.get_lifecycle" }, "responseMediaType": [ "application/json" ], "since": "6.6.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ilm/policy/{policy}" }, { "methods": [ "GET" ], "path": "/_ilm/policy" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.6.0", "stability": "stable" } }, "description": "Retrieves the current index lifecycle management (ILM) status.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-status.html", "name": "ilm.get_status", "request": { "name": "Request", "namespace": "ilm.get_status" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ilm.get_status" }, "responseMediaType": [ "application/json" ], "since": "6.6.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ilm/status" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.14.0", "stability": "stable" } }, "description": "Migrates the indices and ILM policies away from custom node attribute allocation routing to data tiers routing", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-migrate-to-data-tiers.html", "name": "ilm.migrate_to_data_tiers", "request": { "name": "Request", "namespace": "ilm.migrate_to_data_tiers" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ilm.migrate_to_data_tiers" }, "responseMediaType": [ "application/json" ], "since": "7.14.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ilm/migrate_to_data_tiers" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.6.0", "stability": "stable" } }, "description": "Manually moves an index into the specified step and executes that step.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-move-to-step.html", "name": "ilm.move_to_step", "request": { "name": "Request", "namespace": "ilm.move_to_step" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ilm.move_to_step" }, "responseMediaType": [ "application/json" ], "since": "6.6.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ilm/move/{index}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.6.0", "stability": "stable" } }, "description": "Creates a lifecycle policy", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-put-lifecycle.html", "name": "ilm.put_lifecycle", "privileges": { "cluster": [ "manage_ilm" ], "index": [ "manage" ] }, "request": { "name": "Request", "namespace": "ilm.put_lifecycle" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ilm.put_lifecycle" }, "responseMediaType": [ "application/json" ], "since": "6.6.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_ilm/policy/{policy}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.6.0", "stability": "stable" } }, "description": "Removes the assigned lifecycle policy and stops managing the specified index", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-remove-policy.html", "name": "ilm.remove_policy", "request": { "name": "Request", "namespace": "ilm.remove_policy" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ilm.remove_policy" }, "responseMediaType": [ "application/json" ], "since": "6.6.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/{index}/_ilm/remove" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.6.0", "stability": "stable" } }, "description": "Retries executing the policy for an index that is in the ERROR step.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-retry-policy.html", "name": "ilm.retry", "request": { "name": "Request", "namespace": "ilm.retry" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ilm.retry" }, "responseMediaType": [ "application/json" ], "since": "6.6.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/{index}/_ilm/retry" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.6.0", "stability": "stable" } }, "description": "Start the index lifecycle management (ILM) plugin.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-start.html", "name": "ilm.start", "request": { "name": "Request", "namespace": "ilm.start" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ilm.start" }, "responseMediaType": [ "application/json" ], "since": "6.6.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ilm/start" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.6.0", "stability": "stable" } }, "description": "Halts all lifecycle management operations and stops the index lifecycle management (ILM) plugin", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-stop.html", "name": "ilm.stop", "request": { "name": "Request", "namespace": "ilm.stop" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ilm.stop" }, "responseMediaType": [ "application/json" ], "since": "6.6.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ilm/stop" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Creates or updates a document in an index.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html", "name": "index", "request": { "name": "Request", "namespace": "_global.index" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.index" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/{index}/_doc/{id}" }, { "methods": [ "POST" ], "path": "/{index}/_doc" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Adds a block to an index.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-blocks.html", "name": "indices.add_block", "request": { "name": "Request", "namespace": "indices.add_block" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.add_block" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/{index}/_block/{block}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Performs the analysis process on a text and return the tokens breakdown of the text.", "docId": "indices-analyze", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-analyze.html", "name": "indices.analyze", "request": { "name": "Request", "namespace": "indices.analyze" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.analyze" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_analyze" }, { "methods": [ "GET", "POST" ], "path": "/{index}/_analyze" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Clears all or specific caches for one or more indices.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html", "name": "indices.clear_cache", "request": { "name": "Request", "namespace": "indices.clear_cache" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.clear_cache" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_cache/clear" }, { "methods": [ "POST" ], "path": "/{index}/_cache/clear" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.4.0", "stability": "stable" } }, "description": "Clones an index", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clone-index.html", "name": "indices.clone", "request": { "name": "Request", "namespace": "indices.clone" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.clone" }, "responseMediaType": [ "application/json" ], "since": "7.4.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/{index}/_clone/{target}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Closes an index.", "docId": "indices-close", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-close.html", "name": "indices.close", "request": { "name": "Request", "namespace": "indices.close" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.close" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/{index}/_close" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Creates an index with optional settings and mappings.", "docId": "indices-create-index", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-create-index.html", "name": "indices.create", "privileges": { "index": [ "create_index", "manage" ] }, "request": { "name": "Request", "namespace": "indices.create" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.create" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/{index}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Creates a data stream", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html", "name": "indices.create_data_stream", "privileges": { "index": [ "create_index" ] }, "request": { "name": "Request", "namespace": "indices.create_data_stream" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.create_data_stream" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_data_stream/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Provides statistics on operations happening in a data stream.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html", "name": "indices.data_streams_stats", "privileges": { "index": [ "monitor" ] }, "request": { "name": "Request", "namespace": "indices.data_streams_stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.data_streams_stats" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_data_stream/_stats" }, { "methods": [ "GET" ], "path": "/_data_stream/{name}/_stats" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Deletes an index.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html", "name": "indices.delete", "request": { "name": "Request", "namespace": "indices.delete" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.delete" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/{index}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Deletes an alias.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html", "name": "indices.delete_alias", "request": { "name": "Request", "namespace": "indices.delete_alias" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.delete_alias" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/{index}/_alias/{name}" }, { "methods": [ "DELETE" ], "path": "/{index}/_aliases/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.11.0", "stability": "stable" } }, "description": "Deletes the data stream lifecycle of the selected data streams.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-delete-lifecycle.html", "name": "indices.delete_data_lifecycle", "request": { "name": "Request", "namespace": "indices.delete_data_lifecycle" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.delete_data_lifecycle" }, "responseMediaType": [ "application/json" ], "since": "8.11.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_data_stream/{name}/_lifecycle" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Deletes a data stream.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html", "name": "indices.delete_data_stream", "privileges": { "index": [ "delete_index" ] }, "request": { "name": "Request", "namespace": "indices.delete_data_stream" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.delete_data_stream" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_data_stream/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.8.0", "stability": "stable" } }, "description": "Deletes an index template.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-template.html", "name": "indices.delete_index_template", "privileges": { "cluster": [ "manage_index_templates", "manage" ] }, "request": { "name": "Request", "namespace": "indices.delete_index_template" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.delete_index_template" }, "responseMediaType": [ "application/json" ], "since": "7.8.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_index_template/{name}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Deletes an index template.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-template-v1.html", "name": "indices.delete_template", "privileges": { "cluster": [ "manage_index_templates", "manage" ] }, "request": { "name": "Request", "namespace": "indices.delete_template" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.delete_template" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_template/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "private" }, "stack": { "since": "7.15.0", "stability": "experimental" } }, "description": "Analyzes the disk usage of each field of an index or data stream", "docId": "indices-disk-usage", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-disk-usage.html", "name": "indices.disk_usage", "request": { "name": "Request", "namespace": "indices.disk_usage" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.disk_usage" }, "responseMediaType": [ "application/json" ], "since": "7.15.0", "stability": "experimental", "urls": [ { "methods": [ "POST" ], "path": "/{index}/_disk_usage" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "private" }, "stack": { "since": "8.5.0", "stability": "experimental" } }, "description": "Downsample an index", "docId": "indices-downsample-data-stream", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-downsample-data-stream.html", "name": "indices.downsample", "request": { "name": "Request", "namespace": "indices.downsample" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.downsample" }, "responseMediaType": [ "application/json" ], "since": "8.5.0", "stability": "experimental", "urls": [ { "methods": [ "POST" ], "path": "/{index}/_downsample/{target_index}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about whether a particular index exists.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html", "name": "indices.exists", "request": { "name": "Request", "namespace": "indices.exists" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.exists" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "HEAD" ], "path": "/{index}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about whether a particular alias exists.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html", "name": "indices.exists_alias", "request": { "name": "Request", "namespace": "indices.exists_alias" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.exists_alias" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "HEAD" ], "path": "/_alias/{name}" }, { "methods": [ "HEAD" ], "path": "/{index}/_alias/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about whether a particular index template exists.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/index-templates.html", "name": "indices.exists_index_template", "request": { "name": "Request", "namespace": "indices.exists_index_template" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.exists_index_template" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "HEAD" ], "path": "/_index_template/{name}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about whether a particular index template exists.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-template-exists-v1.html", "name": "indices.exists_template", "request": { "name": "Request", "namespace": "indices.exists_template" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.exists_template" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "HEAD" ], "path": "/_template/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.11.0", "stability": "stable" } }, "description": "Retrieves information about the index's current data stream lifecycle, such as any potential encountered error, time since creation etc.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/data-streams-explain-lifecycle.html", "name": "indices.explain_data_lifecycle", "request": { "name": "Request", "namespace": "indices.explain_data_lifecycle" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.explain_data_lifecycle" }, "responseMediaType": [ "application/json" ], "since": "8.11.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/{index}/_lifecycle/explain" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "private" }, "stack": { "since": "7.15.0", "stability": "experimental" } }, "description": "Returns the field usage stats for each field of an index", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/field-usage-stats.html", "name": "indices.field_usage_stats", "privileges": { "index": [ "manage" ] }, "request": { "name": "Request", "namespace": "indices.field_usage_stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.field_usage_stats" }, "responseMediaType": [ "application/json" ], "since": "7.15.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/{index}/_field_usage_stats" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Performs the flush operation on one or more indices.", "docId": "indices-flush", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-flush.html", "name": "indices.flush", "request": { "name": "Request", "namespace": "indices.flush" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.flush" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "POST", "GET" ], "path": "/_flush" }, { "methods": [ "POST", "GET" ], "path": "/{index}/_flush" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "2.1.0", "stability": "stable" } }, "description": "Performs the force merge operation on one or more indices.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html", "name": "indices.forcemerge", "request": { "name": "Request", "namespace": "indices.forcemerge" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.forcemerge" }, "responseMediaType": [ "application/json" ], "since": "2.1.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_forcemerge" }, { "methods": [ "POST" ], "path": "/{index}/_forcemerge" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about one or more indices.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html", "name": "indices.get", "privileges": { "index": [ "view_index_metadata", "manage" ] }, "request": { "name": "Request", "namespace": "indices.get" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.get" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/{index}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns an alias.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html", "name": "indices.get_alias", "request": { "name": "Request", "namespace": "indices.get_alias" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.get_alias" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_alias" }, { "methods": [ "GET" ], "path": "/_alias/{name}" }, { "methods": [ "GET" ], "path": "/{index}/_alias/{name}" }, { "methods": [ "GET" ], "path": "/{index}/_alias" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.11.0", "stability": "stable" } }, "description": "Returns the data stream lifecycle of the selected data streams.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-get-lifecycle.html", "name": "indices.get_data_lifecycle", "request": { "name": "Request", "namespace": "indices.get_data_lifecycle" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.get_data_lifecycle" }, "responseMediaType": [ "application/json" ], "since": "8.11.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_data_stream/{name}/_lifecycle" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Returns data streams.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html", "name": "indices.get_data_stream", "privileges": { "index": [ "view_index_metadata" ] }, "request": { "name": "Request", "namespace": "indices.get_data_stream" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.get_data_stream" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_data_stream" }, { "methods": [ "GET" ], "path": "/_data_stream/{name}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns mapping for one or more fields.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html", "name": "indices.get_field_mapping", "request": { "name": "Request", "namespace": "indices.get_field_mapping" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.get_field_mapping" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_mapping/field/{fields}" }, { "methods": [ "GET" ], "path": "/{index}/_mapping/field/{fields}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Returns an index template.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-template.html", "name": "indices.get_index_template", "privileges": { "cluster": [ "manage_index_templates", "manage" ] }, "request": { "name": "Request", "namespace": "indices.get_index_template" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.get_index_template" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_index_template" }, { "methods": [ "GET" ], "path": "/_index_template/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns mappings for one or more indices.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html", "name": "indices.get_mapping", "request": { "name": "Request", "namespace": "indices.get_mapping" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.get_mapping" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_mapping" }, { "methods": [ "GET" ], "path": "/{index}/_mapping" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns settings for one or more indices.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html", "name": "indices.get_settings", "privileges": { "index": [ "view_index_metadata", "monitor", "manage" ] }, "request": { "name": "Request", "namespace": "indices.get_settings" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.get_settings" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_settings" }, { "methods": [ "GET" ], "path": "/{index}/_settings" }, { "methods": [ "GET" ], "path": "/{index}/_settings/{name}" }, { "methods": [ "GET" ], "path": "/_settings/{name}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns an index template.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-template-v1.html", "name": "indices.get_template", "request": { "name": "Request", "namespace": "indices.get_template" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.get_template" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_template" }, { "methods": [ "GET" ], "path": "/_template/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Migrates an alias to a data stream", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html", "name": "indices.migrate_to_data_stream", "privileges": { "index": [ "manage" ] }, "request": { "name": "Request", "namespace": "indices.migrate_to_data_stream" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.migrate_to_data_stream" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_data_stream/_migrate/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.16.0", "stability": "stable" } }, "description": "Modifies a data stream", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html", "name": "indices.modify_data_stream", "request": { "name": "Request", "namespace": "indices.modify_data_stream" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.modify_data_stream" }, "responseMediaType": [ "application/json" ], "since": "7.16.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_data_stream/_modify" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Opens an index.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html", "name": "indices.open", "request": { "name": "Request", "namespace": "indices.open" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.open" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/{index}/_open" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Promotes a data stream from a replicated data stream managed by CCR to a regular data stream", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html", "name": "indices.promote_data_stream", "request": { "name": "Request", "namespace": "indices.promote_data_stream" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.promote_data_stream" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_data_stream/_promote/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Creates or updates an alias.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html", "name": "indices.put_alias", "request": { "name": "Request", "namespace": "indices.put_alias" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.put_alias" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/{index}/_alias/{name}" }, { "methods": [ "PUT", "POST" ], "path": "/{index}/_aliases/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.11.0", "stability": "stable" } }, "description": "Updates the data stream lifecycle of the selected data streams.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-put-lifecycle.html", "name": "indices.put_data_lifecycle", "request": { "name": "Request", "namespace": "indices.put_data_lifecycle" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.put_data_lifecycle" }, "responseMediaType": [ "application/json" ], "since": "8.11.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_data_stream/{name}/_lifecycle" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Creates or updates an index template.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-template.html", "name": "indices.put_index_template", "request": { "name": "Request", "namespace": "indices.put_index_template" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.put_index_template" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_index_template/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Updates the index mappings.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html", "name": "indices.put_mapping", "request": { "name": "Request", "namespace": "indices.put_mapping" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.put_mapping" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/{index}/_mapping" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Updates the index settings.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html", "name": "indices.put_settings", "privileges": { "index": [ "manage" ] }, "request": { "name": "Request", "namespace": "indices.put_settings" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.put_settings" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_settings" }, { "methods": [ "PUT" ], "path": "/{index}/_settings" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Creates or updates an index template.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates-v1.html", "name": "indices.put_template", "request": { "name": "Request", "namespace": "indices.put_template" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.put_template" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_template/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about ongoing index shard recoveries.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html", "name": "indices.recovery", "request": { "name": "Request", "namespace": "indices.recovery" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.recovery" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_recovery" }, { "methods": [ "GET" ], "path": "/{index}/_recovery" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Performs the refresh operation in one or more indices.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html", "name": "indices.refresh", "request": { "name": "Request", "namespace": "indices.refresh" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.refresh" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "POST", "GET" ], "path": "/_refresh" }, { "methods": [ "POST", "GET" ], "path": "/{index}/_refresh" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.3.0", "stability": "stable" } }, "description": "Reloads an index's search analyzers and their resources.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-reload-analyzers.html", "name": "indices.reload_search_analyzers", "request": { "name": "Request", "namespace": "indices.reload_search_analyzers" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.reload_search_analyzers" }, "responseMediaType": [ "application/json" ], "since": "7.3.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/{index}/_reload_search_analyzers" } ], "visibility": "public" }, { "availability": { "stack": { "since": "8.13.0", "stability": "stable" } }, "description": "Resolves the specified index expressions to return information about each cluster, including the local cluster, if included.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-cluster-api.html", "name": "indices.resolve_cluster", "request": { "name": "Request", "namespace": "indices.resolve_cluster" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.resolve_cluster" }, "responseMediaType": [ "application/json" ], "since": "8.13.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_resolve/cluster/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Returns information about any matching indices, aliases, and data streams", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html", "name": "indices.resolve_index", "request": { "name": "Request", "namespace": "indices.resolve_index" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.resolve_index" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_resolve/index/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.0.0", "stability": "stable" } }, "description": "Updates an alias to point to a new index when the existing index\nis considered to be too large or too old.", "docId": "indices-rollover-index", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-rollover-index.html", "name": "indices.rollover", "request": { "name": "Request", "namespace": "indices.rollover" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.rollover" }, "responseMediaType": [ "application/json" ], "since": "5.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/{alias}/_rollover" }, { "methods": [ "POST" ], "path": "/{alias}/_rollover/{new_index}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Provides low-level information about segments in a Lucene index.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html", "name": "indices.segments", "request": { "name": "Request", "namespace": "indices.segments" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.segments" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_segments" }, { "methods": [ "GET" ], "path": "/{index}/_segments" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Provides store information for shard copies of indices.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html", "name": "indices.shard_stores", "request": { "name": "Request", "namespace": "indices.shard_stores" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.shard_stores" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_shard_stores" }, { "methods": [ "GET" ], "path": "/{index}/_shard_stores" } ], "visibility": "public" }, { "availability": { "stack": { "since": "5.0.0", "stability": "stable" } }, "description": "Allow to shrink an existing index into a new index with fewer primary shards.", "docId": "indices-shrink-index", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-shrink-index.html", "name": "indices.shrink", "request": { "name": "Request", "namespace": "indices.shrink" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.shrink" }, "responseMediaType": [ "application/json" ], "since": "5.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/{index}/_shrink/{target}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Simulate matching the given index name against the index templates in the system", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-simulate-index.html", "name": "indices.simulate_index_template", "request": { "name": "Request", "namespace": "indices.simulate_index_template" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.simulate_index_template" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_index_template/_simulate_index/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Simulate resolving the given template name or body", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-simulate-template.html", "name": "indices.simulate_template", "privileges": { "cluster": [ "manage_index_templates", "manage" ] }, "request": { "name": "Request", "namespace": "indices.simulate_template" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.simulate_template" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_index_template/_simulate" }, { "methods": [ "POST" ], "path": "/_index_template/_simulate/{name}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.1.0", "stability": "stable" } }, "description": "Allows you to split an existing index into a new index with more primary shards.", "docId": "indices-split-index", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-split-index.html", "name": "indices.split", "request": { "name": "Request", "namespace": "indices.split" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.split" }, "responseMediaType": [ "application/json" ], "since": "6.1.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/{index}/_split/{target}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "1.3.0", "stability": "stable" } }, "description": "Provides statistics on operations happening in an index.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html", "name": "indices.stats", "privileges": { "index": [ "manage", "monitor" ] }, "request": { "name": "Request", "namespace": "indices.stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.stats" }, "responseMediaType": [ "application/json" ], "since": "1.3.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_stats" }, { "methods": [ "GET" ], "path": "/_stats/{metric}" }, { "methods": [ "GET" ], "path": "/{index}/_stats" }, { "methods": [ "GET" ], "path": "/{index}/_stats/{metric}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.6.0", "stability": "stable" } }, "description": "Unfreezes an index. When a frozen index is unfrozen, the index goes through the normal recovery process and becomes writeable again.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/unfreeze-index-api.html", "name": "indices.unfreeze", "request": { "name": "Request", "namespace": "indices.unfreeze" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "indices.unfreeze" }, "responseMediaType": [ "application/json" ], "since": "6.6.0", "stability": "stable", "urls": [ { "deprecation": { "description": "Frozen indices are deprecated because they provide no benefit given improvements in heap memory utilization. They will be removed in a future release.", "version": "7.14.0" }, "methods": [ "POST" ], "path": "/{index}/_unfreeze" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "1.3.0", "stability": "stable" } }, "description": "Updates index aliases.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html", "name": "indices.update_aliases", "request": { "name": "Request", "namespace": "indices.update_aliases" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.update_aliases" }, "responseMediaType": [ "application/json" ], "since": "1.3.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_aliases" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "1.3.0", "stability": "stable" } }, "description": "Allows a user to validate a potentially expensive query without executing it.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html", "name": "indices.validate_query", "request": { "name": "Request", "namespace": "indices.validate_query" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "indices.validate_query" }, "responseMediaType": [ "application/json" ], "since": "1.3.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_validate/query" }, { "methods": [ "GET", "POST" ], "path": "/{index}/_validate/query" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.11.0", "stability": "experimental", "visibility": "public" } }, "description": "Delete an inference endpoint", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-inference-api.html", "name": "inference.delete", "request": { "name": "Request", "namespace": "inference.delete" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "inference.delete" }, "responseMediaType": [ "application/json" ], "since": "8.11.0", "stability": "experimental", "urls": [ { "methods": [ "DELETE" ], "path": "/_inference/{inference_id}" }, { "methods": [ "DELETE" ], "path": "/_inference/{task_type}/{inference_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.11.0", "stability": "experimental", "visibility": "public" } }, "description": "Get an inference endpoint", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-inference-api.html", "name": "inference.get", "request": { "name": "Request", "namespace": "inference.get" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "inference.get" }, "responseMediaType": [ "application/json" ], "since": "8.11.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_inference" }, { "methods": [ "GET" ], "path": "/_inference/{inference_id}" }, { "methods": [ "GET" ], "path": "/_inference/{task_type}/{inference_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.11.0", "stability": "experimental", "visibility": "public" } }, "description": "Perform inference", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/post-inference-api.html", "name": "inference.inference", "request": { "name": "Request", "namespace": "inference.inference" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "inference.inference" }, "responseMediaType": [ "application/json" ], "since": "8.11.0", "stability": "experimental", "urls": [ { "methods": [ "POST" ], "path": "/_inference/{inference_id}" }, { "methods": [ "POST" ], "path": "/_inference/{task_type}/{inference_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.11.0", "stability": "experimental", "visibility": "public" } }, "description": "Configure an inference endpoint for use in the Inference API", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-inference-api.html", "name": "inference.put", "request": { "name": "Request", "namespace": "inference.put" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "inference.put" }, "responseMediaType": [ "application/json" ], "since": "8.11.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_inference/{inference_id}" }, { "methods": [ "PUT" ], "path": "/_inference/{task_type}/{inference_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns basic information about the cluster.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html", "name": "info", "request": { "name": "Request", "namespace": "_global.info" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.info" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.0.0", "stability": "stable" } }, "description": "Deletes a pipeline.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html", "name": "ingest.delete_pipeline", "request": { "name": "Request", "namespace": "ingest.delete_pipeline" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ingest.delete_pipeline" }, "responseMediaType": [ "application/json" ], "since": "5.0.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_ingest/pipeline/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.13.0", "stability": "stable" } }, "description": "Returns statistical information about geoip databases", "docId": "geoip-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/geoip-processor.html", "name": "ingest.geo_ip_stats", "request": { "name": "Request", "namespace": "ingest.geo_ip_stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ingest.geo_ip_stats" }, "responseMediaType": [ "application/json" ], "since": "7.13.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ingest/geoip/stats" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.0.0", "stability": "stable" } }, "description": "Returns a pipeline.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html", "name": "ingest.get_pipeline", "request": { "name": "Request", "namespace": "ingest.get_pipeline" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ingest.get_pipeline" }, "responseMediaType": [ "application/json" ], "since": "5.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ingest/pipeline" }, { "methods": [ "GET" ], "path": "/_ingest/pipeline/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.1.0", "stability": "stable" } }, "description": "Returns a list of the built-in patterns.", "docId": "grok-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/grok-processor.html", "name": "ingest.processor_grok", "request": { "name": "Request", "namespace": "ingest.processor_grok" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ingest.processor_grok" }, "responseMediaType": [ "application/json" ], "since": "6.1.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ingest/processor/grok" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.0.0", "stability": "stable" } }, "description": "Creates or updates a pipeline.", "docId": "ingest", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ingest.html", "name": "ingest.put_pipeline", "request": { "name": "Request", "namespace": "ingest.put_pipeline" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ingest.put_pipeline" }, "responseMediaType": [ "application/json" ], "since": "5.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_ingest/pipeline/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.0.0", "stability": "stable" } }, "description": "Allows to simulate a pipeline with example documents.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html", "name": "ingest.simulate", "request": { "name": "Request", "namespace": "ingest.simulate" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ingest.simulate" }, "responseMediaType": [ "application/json" ], "since": "5.0.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_ingest/pipeline/_simulate" }, { "methods": [ "GET", "POST" ], "path": "/_ingest/pipeline/{id}/_simulate" } ], "visibility": "public" }, { "availability": { "stack": { "since": "8.0.0", "stability": "experimental" } }, "description": "Performs a kNN search.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html", "name": "knn_search", "request": { "name": "Request", "namespace": "_global.knn_search" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.knn_search" }, "responseMediaType": [ "application/json" ], "since": "8.0.0", "stability": "experimental", "urls": [ { "methods": [ "GET", "POST" ], "path": "/{index}/_knn_search" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Deletes licensing information for the cluster", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-license.html", "name": "license.delete", "request": { "name": "Request", "namespace": "license.delete" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "license.delete" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_license" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Retrieves licensing information for the cluster", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-license.html", "name": "license.get", "request": { "name": "Request", "namespace": "license.get" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "license.get" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_license" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.3.0", "stability": "stable" } }, "description": "Retrieves information about the status of the basic license.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-basic-status.html", "name": "license.get_basic_status", "request": { "name": "Request", "namespace": "license.get_basic_status" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "license.get_basic_status" }, "responseMediaType": [ "application/json" ], "since": "6.3.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_license/basic_status" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.1.0", "stability": "stable" } }, "description": "Retrieves information about the status of the trial license.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-trial-status.html", "name": "license.get_trial_status", "request": { "name": "Request", "namespace": "license.get_trial_status" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "license.get_trial_status" }, "responseMediaType": [ "application/json" ], "since": "6.1.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_license/trial_status" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Updates the license for the cluster.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-license.html", "name": "license.post", "privileges": { "cluster": [ "manage" ] }, "request": { "name": "Request", "namespace": "license.post" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "license.post" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_license" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.3.0", "stability": "stable" } }, "description": "Starts an indefinite basic license.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-basic.html", "name": "license.post_start_basic", "request": { "name": "Request", "namespace": "license.post_start_basic" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "license.post_start_basic" }, "responseMediaType": [ "application/json" ], "since": "6.3.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_license/start_basic" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.1.0", "stability": "stable" } }, "description": "starts a limited time trial license.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trial.html", "name": "license.post_start_trial", "privileges": { "cluster": [ "manage" ] }, "request": { "name": "Request", "namespace": "license.post_start_trial" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "license.post_start_trial" }, "responseMediaType": [ "application/json" ], "since": "6.1.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_license/start_trial" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.12.0", "stability": "stable" } }, "description": "Deletes Logstash Pipelines used by Central Management", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-delete-pipeline.html", "name": "logstash.delete_pipeline", "privileges": { "cluster": [ "manage_logstash_pipelines" ] }, "request": { "name": "Request", "namespace": "logstash.delete_pipeline" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "logstash.delete_pipeline" }, "responseMediaType": [ "application/json" ], "since": "7.12.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_logstash/pipeline/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.12.0", "stability": "stable" } }, "description": "Retrieves Logstash Pipelines used by Central Management", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html", "name": "logstash.get_pipeline", "privileges": { "cluster": [ "manage_logstash_pipelines" ] }, "request": { "name": "Request", "namespace": "logstash.get_pipeline" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "logstash.get_pipeline" }, "responseMediaType": [ "application/json" ], "since": "7.12.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_logstash/pipeline" }, { "methods": [ "GET" ], "path": "/_logstash/pipeline/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.12.0", "stability": "stable" } }, "description": "Adds and updates Logstash Pipelines used for Central Management", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-put-pipeline.html", "name": "logstash.put_pipeline", "privileges": { "cluster": [ "manage_logstash_pipelines" ] }, "request": { "name": "Request", "namespace": "logstash.put_pipeline" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "logstash.put_pipeline" }, "responseMediaType": [ "application/json" ], "since": "7.12.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_logstash/pipeline/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "1.3.0", "stability": "stable" } }, "description": "Allows to get multiple documents in one request.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html", "name": "mget", "privileges": { "index": [ "read" ] }, "request": { "name": "Request", "namespace": "_global.mget" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.mget" }, "responseMediaType": [ "application/json" ], "since": "1.3.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_mget" }, { "methods": [ "GET", "POST" ], "path": "/{index}/_mget" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.1.0", "stability": "stable" } }, "description": "Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-deprecation.html", "name": "migration.deprecations", "request": { "name": "Request", "namespace": "migration.deprecations" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "migration.deprecations" }, "responseMediaType": [ "application/json" ], "since": "6.1.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_migration/deprecations" }, { "methods": [ "GET" ], "path": "/{index}/_migration/deprecations" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.16.0", "stability": "stable" } }, "description": "Find out whether system features need to be upgraded or not", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-feature-upgrade.html", "name": "migration.get_feature_upgrade_status", "privileges": { "index": [ "manage" ] }, "request": { "name": "Request", "namespace": "migration.get_feature_upgrade_status" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "migration.get_feature_upgrade_status" }, "responseMediaType": [ "application/json" ], "since": "7.16.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_migration/system_features" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.16.0", "stability": "stable" } }, "description": "Begin upgrades for system features", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-feature-upgrade.html", "name": "migration.post_feature_upgrade", "privileges": { "index": [ "manage" ] }, "request": { "name": "Request", "namespace": "migration.post_feature_upgrade" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "migration.post_feature_upgrade" }, "responseMediaType": [ "application/json" ], "since": "7.16.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_migration/system_features" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "8.5.0", "stability": "stable" } }, "description": "Clear the cached results from a trained model deployment", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/clear-trained-model-deployment-cache.html", "name": "ml.clear_trained_model_deployment_cache", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.clear_trained_model_deployment_cache" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.clear_trained_model_deployment_cache" }, "responseMediaType": [ "application/json" ], "since": "8.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/trained_models/{model_id}/deployment/cache/_clear" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Closes one or more anomaly detection jobs. A job can be opened and closed multiple times throughout its lifecycle.", "docId": "ml-close-job", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-close-job.html", "name": "ml.close_job", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.close_job" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.close_job" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/_close" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.2.0", "stability": "stable" } }, "description": "Deletes a calendar.", "docId": "ml-delete-calendar", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-delete-calendar.html", "name": "ml.delete_calendar", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.delete_calendar" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.delete_calendar" }, "responseMediaType": [ "application/json" ], "since": "6.2.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_ml/calendars/{calendar_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.2.0", "stability": "stable" } }, "description": "Deletes scheduled events from a calendar.", "docId": "ml-delete-calendar-event", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-delete-calendar-event.html", "name": "ml.delete_calendar_event", "request": { "name": "Request", "namespace": "ml.delete_calendar_event" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.delete_calendar_event" }, "responseMediaType": [ "application/json" ], "since": "6.2.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_ml/calendars/{calendar_id}/events/{event_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.2.0", "stability": "stable" } }, "description": "Deletes anomaly detection jobs from a calendar.", "docId": "ml-delete-calendar-job", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-delete-calendar-job.html", "name": "ml.delete_calendar_job", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.delete_calendar_job" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.delete_calendar_job" }, "responseMediaType": [ "application/json" ], "since": "6.2.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_ml/calendars/{calendar_id}/jobs/{job_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.3.0", "stability": "stable" } }, "description": "Deletes an existing data frame analytics job.", "docId": "ml-delete-dfanalytics", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/delete-dfanalytics.html", "name": "ml.delete_data_frame_analytics", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.delete_data_frame_analytics" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.delete_data_frame_analytics" }, "responseMediaType": [ "application/json" ], "since": "7.3.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_ml/data_frame/analytics/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Deletes an existing datafeed.", "docId": "ml-delete-datafeed", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-delete-datafeed.html", "name": "ml.delete_datafeed", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.delete_datafeed" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.delete_datafeed" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_ml/datafeeds/{datafeed_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Deletes expired and unused machine learning data.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html", "name": "ml.delete_expired_data", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.delete_expired_data" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.delete_expired_data" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_ml/_delete_expired_data/{job_id}" }, { "methods": [ "DELETE" ], "path": "/_ml/_delete_expired_data" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Deletes a filter.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-filter.html", "name": "ml.delete_filter", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.delete_filter" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.delete_filter" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_ml/filters/{filter_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "6.5.0", "stability": "stable" } }, "description": "Deletes forecasts from a machine learning job.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html", "name": "ml.delete_forecast", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.delete_forecast" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.delete_forecast" }, "responseMediaType": [ "application/json" ], "since": "6.5.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_ml/anomaly_detectors/{job_id}/_forecast" }, { "methods": [ "DELETE" ], "path": "/_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Deletes an existing anomaly detection job.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html", "name": "ml.delete_job", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.delete_job" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.delete_job" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_ml/anomaly_detectors/{job_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Deletes an existing model snapshot.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html", "name": "ml.delete_model_snapshot", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.delete_model_snapshot" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.delete_model_snapshot" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.10.0", "stability": "stable" } }, "description": "Deletes an existing trained inference model that is currently not referenced by an ingest pipeline.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models.html", "name": "ml.delete_trained_model", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.delete_trained_model" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.delete_trained_model" }, "responseMediaType": [ "application/json" ], "since": "7.10.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_ml/trained_models/{model_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.13.0", "stability": "stable" } }, "description": "Deletes a model alias that refers to the trained model", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models-aliases.html", "name": "ml.delete_trained_model_alias", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.delete_trained_model_alias" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.delete_trained_model_alias" }, "responseMediaType": [ "application/json" ], "since": "7.13.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_ml/trained_models/{model_id}/model_aliases/{model_alias}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.7.0", "stability": "stable" } }, "description": "Estimates the model memory", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-apis.html", "name": "ml.estimate_model_memory", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.estimate_model_memory" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.estimate_model_memory" }, "responseMediaType": [ "application/json" ], "since": "7.7.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/anomaly_detectors/_estimate_model_memory" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.3.0", "stability": "stable" } }, "description": "Evaluates the data frame analytics for an annotated index.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/evaluate-dfanalytics.html", "name": "ml.evaluate_data_frame", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.evaluate_data_frame" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.evaluate_data_frame" }, "responseMediaType": [ "application/json" ], "since": "7.3.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/data_frame/_evaluate" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.3.0", "stability": "stable" } }, "description": "Explains a data frame analytics config.", "docUrl": "http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html", "name": "ml.explain_data_frame_analytics", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.explain_data_frame_analytics" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.explain_data_frame_analytics" }, "responseMediaType": [ "application/json" ], "since": "7.3.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_ml/data_frame/analytics/_explain" }, { "methods": [ "GET", "POST" ], "path": "/_ml/data_frame/analytics/{id}/_explain" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Forces any buffered data to be processed by the job.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html", "name": "ml.flush_job", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.flush_job" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.flush_job" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/_flush" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "6.1.0", "stability": "stable" } }, "description": "Predicts the future behavior of a time series by using its historical behavior.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-forecast.html", "name": "ml.forecast", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.forecast" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.forecast" }, "responseMediaType": [ "application/json" ], "since": "6.1.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/_forecast" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Retrieves anomaly detection job results for one or more buckets.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html", "name": "ml.get_buckets", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_buckets" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.get_buckets" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}" }, { "methods": [ "GET", "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/results/buckets" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.2.0", "stability": "stable" } }, "description": "Retrieves information about the scheduled events in calendars.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar-event.html", "name": "ml.get_calendar_events", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_calendar_events" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.get_calendar_events" }, "responseMediaType": [ "application/json" ], "since": "6.2.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ml/calendars/{calendar_id}/events" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.2.0", "stability": "stable" } }, "description": "Retrieves configuration information for calendars.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html", "name": "ml.get_calendars", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_calendars" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.get_calendars" }, "responseMediaType": [ "application/json" ], "since": "6.2.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_ml/calendars" }, { "methods": [ "GET", "POST" ], "path": "/_ml/calendars/{calendar_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Retrieves anomaly detection job results for one or more categories.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html", "name": "ml.get_categories", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_categories" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.get_categories" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}" }, { "methods": [ "GET", "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/results/categories" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.3.0", "stability": "stable" } }, "description": "Retrieves configuration information for data frame analytics jobs.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html", "name": "ml.get_data_frame_analytics", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_data_frame_analytics" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.get_data_frame_analytics" }, "responseMediaType": [ "application/json" ], "since": "7.3.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ml/data_frame/analytics/{id}" }, { "methods": [ "GET" ], "path": "/_ml/data_frame/analytics" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.3.0", "stability": "stable" } }, "description": "Retrieves usage information for data frame analytics jobs.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html", "name": "ml.get_data_frame_analytics_stats", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_data_frame_analytics_stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.get_data_frame_analytics_stats" }, "responseMediaType": [ "application/json" ], "since": "7.3.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ml/data_frame/analytics/_stats" }, { "methods": [ "GET" ], "path": "/_ml/data_frame/analytics/{id}/_stats" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.5.0", "stability": "stable" } }, "description": "Retrieves usage information for datafeeds.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html", "name": "ml.get_datafeed_stats", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_datafeed_stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.get_datafeed_stats" }, "responseMediaType": [ "application/json" ], "since": "5.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ml/datafeeds/{datafeed_id}/_stats" }, { "methods": [ "GET" ], "path": "/_ml/datafeeds/_stats" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.5.0", "stability": "stable" } }, "description": "Retrieves configuration information for datafeeds.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html", "name": "ml.get_datafeeds", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_datafeeds" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.get_datafeeds" }, "responseMediaType": [ "application/json" ], "since": "5.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ml/datafeeds/{datafeed_id}" }, { "methods": [ "GET" ], "path": "/_ml/datafeeds" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.5.0", "stability": "stable" } }, "description": "Retrieves filters.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html", "name": "ml.get_filters", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_filters" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.get_filters" }, "responseMediaType": [ "application/json" ], "since": "5.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ml/filters" }, { "methods": [ "GET" ], "path": "/_ml/filters/{filter_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Retrieves anomaly detection job results for one or more influencers.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html", "name": "ml.get_influencers", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_influencers" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.get_influencers" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/results/influencers" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.5.0", "stability": "stable" } }, "description": "Retrieves usage information for anomaly detection jobs.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html", "name": "ml.get_job_stats", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_job_stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.get_job_stats" }, "responseMediaType": [ "application/json" ], "since": "5.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ml/anomaly_detectors/_stats" }, { "methods": [ "GET" ], "path": "/_ml/anomaly_detectors/{job_id}/_stats" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.5.0", "stability": "stable" } }, "description": "Retrieves configuration information for anomaly detection jobs.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html", "name": "ml.get_jobs", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_jobs" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.get_jobs" }, "responseMediaType": [ "application/json" ], "since": "5.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ml/anomaly_detectors/{job_id}" }, { "methods": [ "GET" ], "path": "/_ml/anomaly_detectors" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "8.2.0", "stability": "stable" } }, "description": "Returns information on how ML is using memory.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-memory.html", "name": "ml.get_memory_stats", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_memory_stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.get_memory_stats" }, "responseMediaType": [ "application/json" ], "since": "8.2.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ml/memory/_stats" }, { "methods": [ "GET" ], "path": "/_ml/memory/{node_id}/_stats" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.16.0", "stability": "stable" } }, "description": "Gets stats for anomaly detection job model snapshot upgrades that are in progress.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-model-snapshot-upgrade-stats.html", "name": "ml.get_model_snapshot_upgrade_stats", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_model_snapshot_upgrade_stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.get_model_snapshot_upgrade_stats" }, "responseMediaType": [ "application/json" ], "since": "7.16.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade/_stats" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Retrieves information about model snapshots.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html", "name": "ml.get_model_snapshots", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_model_snapshots" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.get_model_snapshots" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}" }, { "methods": [ "GET", "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/model_snapshots" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.1.0", "stability": "stable" } }, "description": "Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html", "name": "ml.get_overall_buckets", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_overall_buckets" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.get_overall_buckets" }, "responseMediaType": [ "application/json" ], "since": "6.1.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/results/overall_buckets" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Retrieves anomaly records for an anomaly detection job.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html", "name": "ml.get_records", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_records" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.get_records" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/results/records" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.10.0", "stability": "stable" } }, "description": "Retrieves configuration information for a trained inference model.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html", "name": "ml.get_trained_models", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_trained_models" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.get_trained_models" }, "responseMediaType": [ "application/json" ], "since": "7.10.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ml/trained_models/{model_id}" }, { "methods": [ "GET" ], "path": "/_ml/trained_models" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.10.0", "stability": "stable" } }, "description": "Retrieves usage information for trained inference models.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html", "name": "ml.get_trained_models_stats", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.get_trained_models_stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.get_trained_models_stats" }, "responseMediaType": [ "application/json" ], "since": "7.10.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ml/trained_models/{model_id}/_stats" }, { "methods": [ "GET" ], "path": "/_ml/trained_models/_stats" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.3.0", "stability": "stable" } }, "description": "Evaluate a trained model.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html", "name": "ml.infer_trained_model", "request": { "name": "Request", "namespace": "ml.infer_trained_model" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.infer_trained_model" }, "responseMediaType": [ "application/json" ], "since": "8.3.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/trained_models/{model_id}/_infer" }, { "deprecation": { "description": "/_ml/trained_models/{model_id}/deployment/_infer is deprecated. Use /_ml/trained_models/{model_id}/_infer instead", "version": "8.3.0" }, "methods": [ "POST" ], "path": "/_ml/trained_models/{model_id}/deployment/_infer" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "6.3.0", "stability": "stable" } }, "description": "Returns defaults and limits used by machine learning.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-info.html", "name": "ml.info", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.info" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.info" }, "responseMediaType": [ "application/json" ], "since": "6.3.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ml/info" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Opens one or more anomaly detection jobs.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html", "name": "ml.open_job", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.open_job" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.open_job" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/_open" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.2.0", "stability": "stable" } }, "description": "Posts scheduled events in a calendar.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-calendar-event.html", "name": "ml.post_calendar_events", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.post_calendar_events" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.post_calendar_events" }, "responseMediaType": [ "application/json" ], "since": "6.2.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/calendars/{calendar_id}/events" } ], "visibility": "public" }, { "availability": { "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Sends data to an anomaly detection job for analysis.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html", "name": "ml.post_data", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.post_data" }, "requestBodyRequired": true, "requestMediaType": [ "application/x-ndjson", "application/json" ], "response": { "name": "Response", "namespace": "ml.post_data" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/_data" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.13.0", "stability": "stable" } }, "description": "Previews that will be analyzed given a data frame analytics config.", "docUrl": "http://www.elastic.co/guide/en/elasticsearch/reference/current/preview-dfanalytics.html", "name": "ml.preview_data_frame_analytics", "privileges": { "cluster": [ "monitor_ml" ] }, "request": { "name": "Request", "namespace": "ml.preview_data_frame_analytics" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.preview_data_frame_analytics" }, "responseMediaType": [ "application/json" ], "since": "7.13.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_ml/data_frame/analytics/_preview" }, { "methods": [ "GET", "POST" ], "path": "/_ml/data_frame/analytics/{id}/_preview" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Previews a datafeed.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html", "name": "ml.preview_datafeed", "privileges": { "cluster": [ "manage_ml" ], "index": [ "read" ] }, "request": { "name": "Request", "namespace": "ml.preview_datafeed" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.preview_datafeed" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_ml/datafeeds/{datafeed_id}/_preview" }, { "methods": [ "GET", "POST" ], "path": "/_ml/datafeeds/_preview" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.2.0", "stability": "stable" } }, "description": "Instantiates a calendar.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar.html", "name": "ml.put_calendar", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.put_calendar" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.put_calendar" }, "responseMediaType": [ "application/json" ], "since": "6.2.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_ml/calendars/{calendar_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.2.0", "stability": "stable" } }, "description": "Adds an anomaly detection job to a calendar.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar-job.html", "name": "ml.put_calendar_job", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.put_calendar_job" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.put_calendar_job" }, "responseMediaType": [ "application/json" ], "since": "6.2.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_ml/calendars/{calendar_id}/jobs/{job_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.3.0", "stability": "stable" } }, "description": "Instantiates a data frame analytics job.", "docId": "put-dfanalytics", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/put-dfanalytics.html", "name": "ml.put_data_frame_analytics", "privileges": { "cluster": [ "manage_ml" ], "index": [ "create_index", "index", "manage", "read", "view_index_metadata" ] }, "request": { "name": "Request", "namespace": "ml.put_data_frame_analytics" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.put_data_frame_analytics" }, "responseMediaType": [ "application/json" ], "since": "7.3.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_ml/data_frame/analytics/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Instantiates a datafeed.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html", "name": "ml.put_datafeed", "privileges": { "cluster": [ "manage_ml" ], "index": [ "read" ] }, "request": { "name": "Request", "namespace": "ml.put_datafeed" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.put_datafeed" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_ml/datafeeds/{datafeed_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Instantiates a filter.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-filter.html", "name": "ml.put_filter", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.put_filter" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.put_filter" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_ml/filters/{filter_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Instantiates an anomaly detection job.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html", "name": "ml.put_job", "privileges": { "cluster": [ "manage_ml" ], "index": [ "read" ] }, "request": { "name": "Request", "namespace": "ml.put_job" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.put_job" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_ml/anomaly_detectors/{job_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.10.0", "stability": "stable" } }, "description": "Creates an inference trained model.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models.html", "name": "ml.put_trained_model", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.put_trained_model" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.put_trained_model" }, "responseMediaType": [ "application/json" ], "since": "7.10.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_ml/trained_models/{model_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.13.0", "stability": "stable" } }, "description": "Creates a new model alias (or reassigns an existing one) to refer to the trained model", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models-aliases.html", "name": "ml.put_trained_model_alias", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.put_trained_model_alias" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.put_trained_model_alias" }, "responseMediaType": [ "application/json" ], "since": "7.13.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_ml/trained_models/{model_id}/model_aliases/{model_alias}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.0.0", "stability": "stable" } }, "description": "Creates part of a trained model definition", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-model-definition-part.html", "name": "ml.put_trained_model_definition_part", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.put_trained_model_definition_part" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.put_trained_model_definition_part" }, "responseMediaType": [ "application/json" ], "since": "8.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_ml/trained_models/{model_id}/definition/{part}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.0.0", "stability": "stable" } }, "description": "Creates a trained model vocabulary", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-model-vocabulary.html", "name": "ml.put_trained_model_vocabulary", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.put_trained_model_vocabulary" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.put_trained_model_vocabulary" }, "responseMediaType": [ "application/json" ], "since": "8.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_ml/trained_models/{model_id}/vocabulary" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.14.0", "stability": "stable" } }, "description": "Resets an existing anomaly detection job.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-reset-job.html", "name": "ml.reset_job", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.reset_job" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.reset_job" }, "responseMediaType": [ "application/json" ], "since": "7.14.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/_reset" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Reverts to a specific snapshot.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html", "name": "ml.revert_model_snapshot", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.revert_model_snapshot" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.revert_model_snapshot" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "6.7.0", "stability": "stable" } }, "description": "Sets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-set-upgrade-mode.html", "name": "ml.set_upgrade_mode", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.set_upgrade_mode" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.set_upgrade_mode" }, "responseMediaType": [ "application/json" ], "since": "6.7.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/set_upgrade_mode" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.3.0", "stability": "stable" } }, "description": "Starts a data frame analytics job.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-dfanalytics.html", "name": "ml.start_data_frame_analytics", "privileges": { "cluster": [ "manage_ml" ], "index": [ "create_index", "index", "manage", "read", "view_index_metadata" ] }, "request": { "name": "Request", "namespace": "ml.start_data_frame_analytics" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.start_data_frame_analytics" }, "responseMediaType": [ "application/json" ], "since": "7.3.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/data_frame/analytics/{id}/_start" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.5.0", "stability": "stable" } }, "description": "Starts one or more datafeeds.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html", "name": "ml.start_datafeed", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.start_datafeed" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.start_datafeed" }, "responseMediaType": [ "application/json" ], "since": "5.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/datafeeds/{datafeed_id}/_start" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.0.0", "stability": "stable" } }, "description": "Start a trained model deployment.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trained-model-deployment.html", "name": "ml.start_trained_model_deployment", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.start_trained_model_deployment" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.start_trained_model_deployment" }, "responseMediaType": [ "application/json" ], "since": "8.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/trained_models/{model_id}/deployment/_start" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.3.0", "stability": "stable" } }, "description": "Stops one or more data frame analytics jobs.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-dfanalytics.html", "name": "ml.stop_data_frame_analytics", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.stop_data_frame_analytics" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.stop_data_frame_analytics" }, "responseMediaType": [ "application/json" ], "since": "7.3.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/data_frame/analytics/{id}/_stop" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Stops one or more datafeeds.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html", "name": "ml.stop_datafeed", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.stop_datafeed" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.stop_datafeed" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/datafeeds/{datafeed_id}/_stop" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.0.0", "stability": "stable" } }, "description": "Stop a trained model deployment.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/stop-trained-model-deployment.html", "name": "ml.stop_trained_model_deployment", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.stop_trained_model_deployment" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.stop_trained_model_deployment" }, "responseMediaType": [ "application/json" ], "since": "8.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/trained_models/{model_id}/deployment/_stop" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.3.0", "stability": "stable" } }, "description": "Updates certain properties of a data frame analytics job.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-dfanalytics.html", "name": "ml.update_data_frame_analytics", "privileges": { "cluster": [ "manage_ml" ], "index": [ "read", "create_index", "manage", "index", "view_index_metadata" ] }, "request": { "name": "Request", "namespace": "ml.update_data_frame_analytics" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.update_data_frame_analytics" }, "responseMediaType": [ "application/json" ], "since": "7.3.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/data_frame/analytics/{id}/_update" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.4.0", "stability": "stable" } }, "description": "Updates certain properties of a datafeed.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html", "name": "ml.update_datafeed", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.update_datafeed" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.update_datafeed" }, "responseMediaType": [ "application/json" ], "since": "6.4.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/datafeeds/{datafeed_id}/_update" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.4.0", "stability": "stable" } }, "description": "Updates the description of a filter, adds items, or removes items.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-filter.html", "name": "ml.update_filter", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.update_filter" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.update_filter" }, "responseMediaType": [ "application/json" ], "since": "6.4.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/filters/{filter_id}/_update" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.5.0", "stability": "stable" } }, "description": "Updates certain properties of an anomaly detection job.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html", "name": "ml.update_job", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.update_job" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.update_job" }, "responseMediaType": [ "application/json" ], "since": "5.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/_update" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Updates certain properties of a snapshot.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html", "name": "ml.update_model_snapshot", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.update_model_snapshot" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.update_model_snapshot" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update" } ], "visibility": "public" }, { "availability": { "stack": { "stability": "beta", "visibility": "public" } }, "description": "Updates certain properties of trained model deployment.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-trained-model-deployment.html", "name": "ml.update_trained_model_deployment", "request": null, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": null, "responseMediaType": [ "application/json" ], "stability": "beta", "urls": [ { "methods": [ "POST" ], "path": "/_ml/trained_models/{model_id}/deployment/_update" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.4.0", "stability": "stable" } }, "description": "Upgrades a given job snapshot to the current major version.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-upgrade-job-model-snapshot.html", "name": "ml.upgrade_job_snapshot", "privileges": { "cluster": [ "manage_ml" ] }, "request": { "name": "Request", "namespace": "ml.upgrade_job_snapshot" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ml.upgrade_job_snapshot" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "6.3.0", "stability": "stable", "visibility": "private" } }, "description": "Validates an anomaly detection job.", "docUrl": "https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html", "name": "ml.validate", "request": { "name": "Request", "namespace": "ml.validate" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.validate" }, "responseMediaType": [ "application/json" ], "since": "6.3.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/anomaly_detectors/_validate" } ], "visibility": "private" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.4.0", "stability": "stable", "visibility": "private" } }, "description": "Validates an anomaly detection detector.", "docUrl": "https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html", "name": "ml.validate_detector", "request": { "name": "Request", "namespace": "ml.validate_detector" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "ml.validate_detector" }, "responseMediaType": [ "application/json" ], "since": "5.4.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_ml/anomaly_detectors/_validate/detector" } ], "visibility": "private" }, { "availability": { "stack": { "since": "6.3.0", "stability": "stable" } }, "description": "Used by the monitoring features to send monitoring data.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html", "name": "monitoring.bulk", "request": { "name": "Request", "namespace": "monitoring.bulk" }, "requestBodyRequired": true, "requestMediaType": [ "application/x-ndjson" ], "response": { "name": "Response", "namespace": "monitoring.bulk" }, "responseMediaType": [ "application/json" ], "since": "6.3.0", "stability": "stable", "urls": [ { "methods": [ "POST", "PUT" ], "path": "/_monitoring/bulk" }, { "deprecation": { "description": "Specifying types in urls has been deprecated", "version": "7.0.0" }, "methods": [ "POST", "PUT" ], "path": "/_monitoring/{type}/bulk" } ], "visibility": "private" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "1.3.0", "stability": "stable" } }, "description": "Allows to execute several search operations in one request.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html", "name": "msearch", "privileges": { "index": [ "read" ] }, "request": { "name": "Request", "namespace": "_global.msearch" }, "requestBodyRequired": true, "requestMediaType": [ "application/x-ndjson" ], "response": { "name": "Response", "namespace": "_global.msearch" }, "responseMediaType": [ "application/json" ], "since": "1.3.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_msearch" }, { "methods": [ "GET", "POST" ], "path": "/{index}/_msearch" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.0.0", "stability": "stable" } }, "description": "Allows to execute several search template operations in one request.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html", "name": "msearch_template", "privileges": { "index": [ "read" ] }, "request": { "name": "Request", "namespace": "_global.msearch_template" }, "requestBodyRequired": true, "requestMediaType": [ "application/x-ndjson" ], "response": { "name": "Response", "namespace": "_global.msearch_template" }, "responseMediaType": [ "application/json" ], "since": "5.0.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_msearch/template" }, { "methods": [ "GET", "POST" ], "path": "/{index}/_msearch/template" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns multiple termvectors in one request.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html", "name": "mtermvectors", "request": { "name": "Request", "namespace": "_global.mtermvectors" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.mtermvectors" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_mtermvectors" }, { "methods": [ "GET", "POST" ], "path": "/{index}/_mtermvectors" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "private" }, "stack": { "since": "7.16.0", "stability": "experimental" } }, "description": "Removes the archived repositories metering information present in the cluster.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-repositories-metering-archive-api.html", "name": "nodes.clear_repositories_metering_archive", "privileges": { "cluster": [ "monitor", "manage" ] }, "request": { "name": "Request", "namespace": "nodes.clear_repositories_metering_archive" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "nodes.clear_repositories_metering_archive" }, "responseMediaType": [ "application/json" ], "since": "7.16.0", "stability": "experimental", "urls": [ { "methods": [ "DELETE" ], "path": "/_nodes/{node_id}/_repositories_metering/{max_archive_version}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "private" }, "stack": { "since": "7.16.0", "stability": "experimental" } }, "description": "Returns cluster repositories metering information.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-repositories-metering-api.html", "name": "nodes.get_repositories_metering_info", "privileges": { "cluster": [ "monitor", "manage" ] }, "request": { "name": "Request", "namespace": "nodes.get_repositories_metering_info" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "nodes.get_repositories_metering_info" }, "responseMediaType": [ "application/json" ], "since": "7.16.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_nodes/{node_id}/_repositories_metering" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about hot threads on each node in the cluster.", "docId": "cluster-nodes-hot-threads", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-hot-threads.html", "name": "nodes.hot_threads", "privileges": { "cluster": [ "monitor", "manage" ] }, "request": { "name": "Request", "namespace": "nodes.hot_threads" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "nodes.hot_threads" }, "responseMediaType": [ "text/plain" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_nodes/hot_threads" }, { "methods": [ "GET" ], "path": "/_nodes/{node_id}/hot_threads" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "1.3.0", "stability": "stable" } }, "description": "Returns information about nodes in the cluster.", "docId": "cluster-nodes-info", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-info.html", "name": "nodes.info", "request": { "name": "Request", "namespace": "nodes.info" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "nodes.info" }, "responseMediaType": [ "application/json" ], "since": "1.3.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_nodes" }, { "methods": [ "GET" ], "path": "/_nodes/{node_id}" }, { "methods": [ "GET" ], "path": "/_nodes/{metric}" }, { "methods": [ "GET" ], "path": "/_nodes/{node_id}/{metric}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.5.0", "stability": "stable" } }, "description": "Reloads secure settings.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings", "name": "nodes.reload_secure_settings", "request": { "name": "Request", "namespace": "nodes.reload_secure_settings" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "nodes.reload_secure_settings" }, "responseMediaType": [ "application/json" ], "since": "6.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_nodes/reload_secure_settings" }, { "methods": [ "POST" ], "path": "/_nodes/{node_id}/reload_secure_settings" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns statistical information about nodes in the cluster.", "docId": "cluster-nodes-stats", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html", "name": "nodes.stats", "privileges": { "cluster": [ "monitor", "manage" ] }, "request": { "name": "Request", "namespace": "nodes.stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "nodes.stats" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_nodes/stats" }, { "methods": [ "GET" ], "path": "/_nodes/{node_id}/stats" }, { "methods": [ "GET" ], "path": "/_nodes/stats/{metric}" }, { "methods": [ "GET" ], "path": "/_nodes/{node_id}/stats/{metric}" }, { "methods": [ "GET" ], "path": "/_nodes/stats/{metric}/{index_metric}" }, { "methods": [ "GET" ], "path": "/_nodes/{node_id}/stats/{metric}/{index_metric}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "6.0.0", "stability": "stable" } }, "description": "Returns low-level information about REST actions usage on nodes.", "docId": "cluster-nodes-usage", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-usage.html", "name": "nodes.usage", "privileges": { "cluster": [ "monitor", "manage" ] }, "request": { "name": "Request", "namespace": "nodes.usage" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "nodes.usage" }, "responseMediaType": [ "application/json" ], "since": "6.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_nodes/usage" }, { "methods": [ "GET" ], "path": "/_nodes/{node_id}/usage" }, { "methods": [ "GET" ], "path": "/_nodes/usage/{metric}" }, { "methods": [ "GET" ], "path": "/_nodes/{node_id}/usage/{metric}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.10.0", "stability": "stable" } }, "description": "Open a point in time that can be used in subsequent searches", "docId": "point-in-time-api", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/point-in-time-api.html", "name": "open_point_in_time", "privileges": { "index": [ "read" ] }, "request": { "name": "Request", "namespace": "_global.open_point_in_time" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.open_point_in_time" }, "responseMediaType": [ "application/json" ], "since": "7.10.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/{index}/_pit" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns whether the cluster is running.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html", "name": "ping", "request": { "name": "Request", "namespace": "_global.ping" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.ping" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "HEAD" ], "path": "/" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Creates or updates a script.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html", "name": "put_script", "request": { "name": "Request", "namespace": "_global.put_script" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.put_script" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_scripts/{id}" }, { "methods": [ "PUT", "POST" ], "path": "/_scripts/{id}/{context}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.10.0", "stability": "experimental" } }, "description": "Deletes a query ruleset.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-query-ruleset.html", "name": "query_ruleset.delete", "request": { "name": "Request", "namespace": "query_ruleset.delete" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "query_ruleset.delete" }, "responseMediaType": [ "application/json" ], "since": "8.10.0", "stability": "experimental", "urls": [ { "methods": [ "DELETE" ], "path": "/_query_rules/{ruleset_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.10.0", "stability": "experimental" } }, "description": "Returns the details about a query ruleset.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-query-ruleset.html", "name": "query_ruleset.get", "request": { "name": "Request", "namespace": "query_ruleset.get" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "query_ruleset.get" }, "responseMediaType": [ "application/json" ], "since": "8.10.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_query_rules/{ruleset_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.10.0", "stability": "experimental" } }, "description": "Lists query rulesets.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-query-rulesets.html", "name": "query_ruleset.list", "request": { "name": "Request", "namespace": "query_ruleset.list" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "query_ruleset.list" }, "responseMediaType": [ "application/json" ], "since": "8.10.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_query_rules" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.10.0", "stability": "experimental" } }, "description": "Creates or updates a query ruleset.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-query-ruleset.html", "name": "query_ruleset.put", "request": { "name": "Request", "namespace": "query_ruleset.put" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "query_ruleset.put" }, "responseMediaType": [ "application/json" ], "since": "8.10.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_query_rules/{ruleset_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.2.0", "stability": "stable" } }, "description": "Allows to evaluate the quality of ranked search results over a set of typical search queries", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html", "name": "rank_eval", "privileges": { "index": [ "read" ] }, "request": { "name": "Request", "namespace": "_global.rank_eval" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.rank_eval" }, "responseMediaType": [ "application/json" ], "since": "6.2.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_rank_eval" }, { "methods": [ "GET", "POST" ], "path": "/{index}/_rank_eval" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "2.3.0", "stability": "stable" } }, "description": "Allows to copy documents from one index to another, optionally filtering the source\ndocuments by a query, changing the destination index settings, or fetching the\ndocuments from a remote cluster.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html", "name": "reindex", "request": { "name": "Request", "namespace": "_global.reindex" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.reindex" }, "responseMediaType": [ "application/json" ], "since": "2.3.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_reindex" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "2.4.0", "stability": "stable" } }, "description": "Changes the number of requests per second for a particular Reindex operation.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html", "name": "reindex_rethrottle", "request": { "name": "Request", "namespace": "_global.reindex_rethrottle" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.reindex_rethrottle" }, "responseMediaType": [ "application/json" ], "since": "2.4.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_reindex/{task_id}/_rethrottle" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Allows to use the Mustache language to pre-render a search definition.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html", "name": "render_search_template", "request": { "name": "Request", "namespace": "_global.render_search_template" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.render_search_template" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_render/template" }, { "methods": [ "GET", "POST" ], "path": "/_render/template/{id}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.3.0", "stability": "experimental" } }, "description": "Deletes an existing rollup job.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-delete-job.html", "name": "rollup.delete_job", "request": { "name": "Request", "namespace": "rollup.delete_job" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "rollup.delete_job" }, "responseMediaType": [ "application/json" ], "since": "6.3.0", "stability": "experimental", "urls": [ { "methods": [ "DELETE" ], "path": "/_rollup/job/{id}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.3.0", "stability": "experimental" } }, "description": "Retrieves the configuration, stats, and status of rollup jobs.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-job.html", "name": "rollup.get_jobs", "request": { "name": "Request", "namespace": "rollup.get_jobs" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "rollup.get_jobs" }, "responseMediaType": [ "application/json" ], "since": "6.3.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_rollup/job/{id}" }, { "methods": [ "GET" ], "path": "/_rollup/job" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.3.0", "stability": "experimental" } }, "description": "Returns the capabilities of any rollup jobs that have been configured for a specific index or index pattern.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-rollup-caps.html", "name": "rollup.get_rollup_caps", "request": { "name": "Request", "namespace": "rollup.get_rollup_caps" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "rollup.get_rollup_caps" }, "responseMediaType": [ "application/json" ], "since": "6.3.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_rollup/data/{id}" }, { "methods": [ "GET" ], "path": "/_rollup/data" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.4.0", "stability": "experimental" } }, "description": "Returns the rollup capabilities of all jobs inside of a rollup index (e.g. the index where rollup data is stored).", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-rollup-index-caps.html", "name": "rollup.get_rollup_index_caps", "request": { "name": "Request", "namespace": "rollup.get_rollup_index_caps" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "rollup.get_rollup_index_caps" }, "responseMediaType": [ "application/json" ], "since": "6.4.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/{index}/_rollup/data" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.3.0", "stability": "experimental" } }, "description": "Creates a rollup job.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-put-job.html", "name": "rollup.put_job", "privileges": { "cluster": [ "manage", "manage_rollup" ] }, "request": { "name": "Request", "namespace": "rollup.put_job" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "rollup.put_job" }, "responseMediaType": [ "application/json" ], "since": "6.3.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_rollup/job/{id}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.3.0", "stability": "experimental" } }, "description": "Enables searching rolled-up data using the standard query DSL.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-search.html", "name": "rollup.rollup_search", "request": { "name": "Request", "namespace": "rollup.rollup_search" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "rollup.rollup_search" }, "responseMediaType": [ "application/json" ], "since": "6.3.0", "stability": "experimental", "urls": [ { "methods": [ "GET", "POST" ], "path": "/{index}/_rollup_search" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.3.0", "stability": "experimental" } }, "description": "Starts an existing, stopped rollup job.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-start-job.html", "name": "rollup.start_job", "request": { "name": "Request", "namespace": "rollup.start_job" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "rollup.start_job" }, "responseMediaType": [ "application/json" ], "since": "6.3.0", "stability": "experimental", "urls": [ { "methods": [ "POST" ], "path": "/_rollup/job/{id}/_start" } ], "visibility": "public" }, { "availability": { "stack": { "since": "6.3.0", "stability": "experimental" } }, "description": "Stops an existing, started rollup job.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-stop-job.html", "name": "rollup.stop_job", "request": { "name": "Request", "namespace": "rollup.stop_job" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "rollup.stop_job" }, "responseMediaType": [ "application/json" ], "since": "6.3.0", "stability": "experimental", "urls": [ { "methods": [ "POST" ], "path": "/_rollup/job/{id}/_stop" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "6.3.0", "stability": "experimental" } }, "description": "Allows an arbitrary script to be executed and a result to be returned", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html", "name": "scripts_painless_execute", "request": { "name": "Request", "namespace": "_global.scripts_painless_execute" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.scripts_painless_execute" }, "responseMediaType": [ "application/json" ], "since": "6.3.0", "stability": "experimental", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_scripts/painless/_execute" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Allows to retrieve a large numbers of results from a single search request.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll", "name": "scroll", "request": { "name": "Request", "namespace": "_global.scroll" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.scroll" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_search/scroll" }, { "deprecation": { "description": "A scroll id can be quite large and should be specified as part of the body", "version": "7.0.0" }, "methods": [ "GET", "POST" ], "path": "/_search/scroll/{scroll_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns results matching a query.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html", "name": "search", "privileges": { "index": [ "read" ] }, "request": { "name": "Request", "namespace": "_global.search" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.search" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_search" }, { "methods": [ "GET", "POST" ], "path": "/{index}/_search" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "beta", "visibility": "public" }, "stack": { "since": "8.8.0", "stability": "beta" } }, "description": "Deletes a search application.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-search-application.html", "name": "search_application.delete", "request": { "name": "Request", "namespace": "search_application.delete" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "search_application.delete" }, "responseMediaType": [ "application/json" ], "since": "8.8.0", "stability": "beta", "urls": [ { "methods": [ "DELETE" ], "path": "/_application/search_application/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.8.0", "stability": "experimental" } }, "description": "Delete a behavioral analytics collection.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-analytics-collection.html", "name": "search_application.delete_behavioral_analytics", "request": { "name": "Request", "namespace": "search_application.delete_behavioral_analytics" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "search_application.delete_behavioral_analytics" }, "responseMediaType": [ "application/json" ], "since": "8.8.0", "stability": "experimental", "urls": [ { "methods": [ "DELETE" ], "path": "/_application/analytics/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "beta", "visibility": "public" }, "stack": { "since": "8.8.0", "stability": "beta" } }, "description": "Returns the details about a search application.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-search-application.html", "name": "search_application.get", "request": { "name": "Request", "namespace": "search_application.get" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "search_application.get" }, "responseMediaType": [ "application/json" ], "since": "8.8.0", "stability": "beta", "urls": [ { "methods": [ "GET" ], "path": "/_application/search_application/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.8.0", "stability": "experimental" } }, "description": "Returns the existing behavioral analytics collections.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-analytics-collection.html", "name": "search_application.get_behavioral_analytics", "request": { "name": "Request", "namespace": "search_application.get_behavioral_analytics" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "search_application.get_behavioral_analytics" }, "responseMediaType": [ "application/json" ], "since": "8.8.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_application/analytics" }, { "methods": [ "GET" ], "path": "/_application/analytics/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "beta", "visibility": "public" }, "stack": { "since": "8.8.0", "stability": "beta" } }, "description": "Returns the existing search applications.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-search-applications.html", "name": "search_application.list", "request": { "name": "Request", "namespace": "search_application.list" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "search_application.list" }, "responseMediaType": [ "application/json" ], "since": "8.8.0", "stability": "beta", "urls": [ { "methods": [ "GET" ], "path": "/_application/search_application" } ], "visibility": "public" }, { "availability": { "stack": { "stability": "experimental", "visibility": "public" } }, "description": "Creates a behavioral analytics event for existing collection.", "docUrl": "http://todo.com/tbd", "name": "search_application.post_behavioral_analytics_event", "request": null, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": null, "responseMediaType": [ "application/json" ], "stability": "experimental", "urls": [ { "methods": [ "POST" ], "path": "/_application/analytics/{collection_name}/event/{event_type}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "beta", "visibility": "public" }, "stack": { "since": "8.8.0", "stability": "beta" } }, "description": "Creates or updates a search application.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-search-application.html", "name": "search_application.put", "request": { "name": "Request", "namespace": "search_application.put" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "search_application.put" }, "responseMediaType": [ "application/json" ], "since": "8.8.0", "stability": "beta", "urls": [ { "methods": [ "PUT" ], "path": "/_application/search_application/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "8.8.0", "stability": "experimental" } }, "description": "Creates a behavioral analytics collection.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-analytics-collection.html", "name": "search_application.put_behavioral_analytics", "request": { "name": "Request", "namespace": "search_application.put_behavioral_analytics" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "search_application.put_behavioral_analytics" }, "responseMediaType": [ "application/json" ], "since": "8.8.0", "stability": "experimental", "urls": [ { "methods": [ "PUT" ], "path": "/_application/analytics/{name}" } ], "visibility": "public" }, { "availability": { "stack": { "stability": "experimental", "visibility": "public" } }, "description": "Renders a query for given search application search parameters", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-application-render-query.html", "name": "search_application.render_query", "request": null, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": null, "responseMediaType": [ "application/json" ], "stability": "experimental", "urls": [ { "methods": [ "POST" ], "path": "/_application/search_application/{name}/_render_query" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "beta", "visibility": "public" }, "stack": { "since": "8.8.0", "stability": "beta" } }, "description": "Perform a search against a search application", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-application-search.html", "name": "search_application.search", "request": { "name": "Request", "namespace": "search_application.search" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "search_application.search" }, "responseMediaType": [ "application/json" ], "since": "8.8.0", "stability": "beta", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_application/search_application/{name}/_search" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.15.0", "stability": "stable" } }, "description": "Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-vector-tile-api.html", "name": "search_mvt", "request": { "name": "Request", "namespace": "_global.search_mvt" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.search_mvt" }, "responseMediaType": [ "application/vnd.mapbox-vector-tile" ], "since": "7.15.0", "stability": "stable", "urls": [ { "methods": [ "POST", "GET" ], "path": "/{index}/_mvt/{field}/{zoom}/{x}/{y}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about the indices and shards that a search request would be executed against.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html", "name": "search_shards", "request": { "name": "Request", "namespace": "_global.search_shards" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.search_shards" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_search_shards" }, { "methods": [ "GET", "POST" ], "path": "/{index}/_search_shards" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "2.0.0", "stability": "stable" } }, "description": "Allows to use the Mustache language to pre-render a search definition.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html", "name": "search_template", "request": { "name": "Request", "namespace": "_global.search_template" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.search_template" }, "responseMediaType": [ "application/json" ], "since": "2.0.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_search/template" }, { "methods": [ "GET", "POST" ], "path": "/{index}/_search/template" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.13.0", "stability": "experimental" } }, "description": "Retrieve node-level cache statistics about searchable snapshots.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html", "name": "searchable_snapshots.cache_stats", "request": { "name": "Request", "namespace": "searchable_snapshots.cache_stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "searchable_snapshots.cache_stats" }, "responseMediaType": [ "application/json" ], "since": "7.13.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_searchable_snapshots/cache/stats" }, { "methods": [ "GET" ], "path": "/_searchable_snapshots/{node_id}/cache/stats" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.10.0", "stability": "experimental" } }, "description": "Clear the cache of searchable snapshots.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html", "name": "searchable_snapshots.clear_cache", "request": { "name": "Request", "namespace": "searchable_snapshots.clear_cache" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "searchable_snapshots.clear_cache" }, "responseMediaType": [ "application/json" ], "since": "7.10.0", "stability": "experimental", "urls": [ { "methods": [ "POST" ], "path": "/_searchable_snapshots/cache/clear" }, { "methods": [ "POST" ], "path": "/{index}/_searchable_snapshots/cache/clear" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.10.0", "stability": "stable" } }, "description": "Mount a snapshot as a searchable index.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-api-mount-snapshot.html", "name": "searchable_snapshots.mount", "request": { "name": "Request", "namespace": "searchable_snapshots.mount" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "searchable_snapshots.mount" }, "responseMediaType": [ "application/json" ], "since": "7.10.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_snapshot/{repository}/{snapshot}/_mount" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.10.0", "stability": "stable" } }, "description": "Retrieve shard-level statistics about searchable snapshots.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html", "name": "searchable_snapshots.stats", "request": { "name": "Request", "namespace": "searchable_snapshots.stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "searchable_snapshots.stats" }, "responseMediaType": [ "application/json" ], "since": "7.10.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_searchable_snapshots/stats" }, { "methods": [ "GET" ], "path": "/{index}/_searchable_snapshots/stats" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "8.2.0", "stability": "stable" } }, "description": "Creates or updates the user profile on behalf of another user.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-activate-user-profile.html", "name": "security.activate_user_profile", "privileges": { "cluster": [ "manage_user_profile" ] }, "request": { "name": "Request", "namespace": "security.activate_user_profile" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.activate_user_profile" }, "responseMediaType": [ "application/json" ], "since": "8.2.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/profile/_activate" } ], "visibility": "private" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "5.5.0", "stability": "stable" } }, "description": "Enables authentication as a user and retrieve information about the authenticated user.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html", "name": "security.authenticate", "request": { "name": "Request", "namespace": "security.authenticate" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.authenticate" }, "responseMediaType": [ "application/json" ], "since": "5.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_security/_authenticate" } ], "visibility": "public" }, { "availability": { "stack": { "stability": "stable", "visibility": "public" } }, "description": "Updates the attributes of multiple existing API keys.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-bulk-update-api-keys.html", "name": "security.bulk_update_api_keys", "request": null, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": null, "responseMediaType": [ "application/json" ], "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/api_key/_bulk_update" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Changes the passwords of users in the native realm and built-in users.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html", "name": "security.change_password", "request": { "name": "Request", "namespace": "security.change_password" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.change_password" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_security/user/{username}/_password" }, { "methods": [ "PUT", "POST" ], "path": "/_security/user/_password" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.10.0", "stability": "stable" } }, "description": "Clear a subset or all entries from the API key cache.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-api-key-cache.html", "name": "security.clear_api_key_cache", "privileges": { "cluster": [ "manage_security" ] }, "request": { "name": "Request", "namespace": "security.clear_api_key_cache" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.clear_api_key_cache" }, "responseMediaType": [ "application/json" ], "since": "7.10.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/api_key/{ids}/_clear_cache" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Evicts application privileges from the native application privileges cache.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-privilege-cache.html", "name": "security.clear_cached_privileges", "request": { "name": "Request", "namespace": "security.clear_cached_privileges" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.clear_cached_privileges" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/privilege/{application}/_clear_cache" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Evicts users from the user cache. Can completely clear the cache or evict specific users.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html", "name": "security.clear_cached_realms", "request": { "name": "Request", "namespace": "security.clear_cached_realms" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.clear_cached_realms" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/realm/{realms}/_clear_cache" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Evicts roles from the native role cache.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-role-cache.html", "name": "security.clear_cached_roles", "request": { "name": "Request", "namespace": "security.clear_cached_roles" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.clear_cached_roles" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/role/{name}/_clear_cache" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Evicts tokens from the service account token caches.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-service-token-caches.html", "name": "security.clear_cached_service_tokens", "request": { "name": "Request", "namespace": "security.clear_cached_service_tokens" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.clear_cached_service_tokens" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/service/{namespace}/{service}/credential/token/{name}/_clear_cache" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.7.0", "stability": "stable" } }, "description": "Creates an API key for access without requiring basic authentication.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html", "name": "security.create_api_key", "privileges": { "cluster": [ "manage_own_api_key" ] }, "request": { "name": "Request", "namespace": "security.create_api_key" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.create_api_key" }, "responseMediaType": [ "application/json" ], "since": "6.7.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_security/api_key" } ], "visibility": "public" }, { "availability": { "stack": { "stability": "beta", "visibility": "public" } }, "description": "Creates a cross-cluster API key for API key based remote cluster access.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-cross-cluster-api-key.html", "name": "security.create_cross_cluster_api_key", "request": null, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": null, "responseMediaType": [ "application/json" ], "stability": "beta", "urls": [ { "methods": [ "POST" ], "path": "/_security/cross_cluster/api_key" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Creates a service account token for access without requiring basic authentication.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-service-token.html", "name": "security.create_service_token", "request": { "name": "Request", "namespace": "security.create_service_token" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.create_service_token" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_security/service/{namespace}/{service}/credential/token/{name}" }, { "methods": [ "POST" ], "path": "/_security/service/{namespace}/{service}/credential/token" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "6.4.0", "stability": "stable" } }, "description": "Removes application privileges.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-privilege.html", "name": "security.delete_privileges", "request": { "name": "Request", "namespace": "security.delete_privileges" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.delete_privileges" }, "responseMediaType": [ "application/json" ], "since": "6.4.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_security/privilege/{application}/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Removes roles in the native realm.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role.html", "name": "security.delete_role", "request": { "name": "Request", "namespace": "security.delete_role" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.delete_role" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_security/role/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.5.0", "stability": "stable" } }, "description": "Removes role mappings.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role-mapping.html", "name": "security.delete_role_mapping", "request": { "name": "Request", "namespace": "security.delete_role_mapping" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.delete_role_mapping" }, "responseMediaType": [ "application/json" ], "since": "5.5.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_security/role_mapping/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.5.0", "stability": "stable" } }, "description": "Deletes a service account token.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-service-token.html", "name": "security.delete_service_token", "request": { "name": "Request", "namespace": "security.delete_service_token" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.delete_service_token" }, "responseMediaType": [ "application/json" ], "since": "5.5.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_security/service/{namespace}/{service}/credential/token/{name}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Deletes users from the native realm.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-user.html", "name": "security.delete_user", "request": { "name": "Request", "namespace": "security.delete_user" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.delete_user" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_security/user/{username}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Disables users in the native realm.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-disable-user.html", "name": "security.disable_user", "request": { "name": "Request", "namespace": "security.disable_user" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.disable_user" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_security/user/{username}/_disable" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "8.2.0", "stability": "stable" } }, "description": "Disables a user profile so it's not visible in user profile searches.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-disable-user-profile.html", "name": "security.disable_user_profile", "privileges": { "cluster": [ "manage_user_profile" ] }, "request": { "name": "Request", "namespace": "security.disable_user_profile" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.disable_user_profile" }, "responseMediaType": [ "application/json" ], "since": "8.2.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_security/profile/{uid}/_disable" } ], "visibility": "private" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Enables users in the native realm.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-enable-user.html", "name": "security.enable_user", "request": { "name": "Request", "namespace": "security.enable_user" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.enable_user" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_security/user/{username}/_enable" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "8.2.0", "stability": "stable" } }, "description": "Enables a user profile so it's visible in user profile searches.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-enable-user-profile.html", "name": "security.enable_user_profile", "privileges": { "cluster": [ "manage_user_profile" ] }, "request": { "name": "Request", "namespace": "security.enable_user_profile" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.enable_user_profile" }, "responseMediaType": [ "application/json" ], "since": "8.2.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_security/profile/{uid}/_enable" } ], "visibility": "private" }, { "availability": { "stack": { "since": "8.0.0", "stability": "stable" } }, "description": "Allows a kibana instance to configure itself to communicate with a secured elasticsearch cluster.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-kibana-enrollment.html", "name": "security.enroll_kibana", "request": { "name": "Request", "namespace": "security.enroll_kibana" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.enroll_kibana" }, "responseMediaType": [ "application/json" ], "since": "8.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_security/enroll/kibana" } ], "visibility": "public" }, { "availability": { "stack": { "since": "8.0.0", "stability": "stable" } }, "description": "Allows a new node to enroll to an existing cluster with security enabled.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-node-enrollment.html", "name": "security.enroll_node", "request": { "name": "Request", "namespace": "security.enroll_node" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.enroll_node" }, "responseMediaType": [ "application/json" ], "since": "8.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_security/enroll/node" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.7.0", "stability": "stable" } }, "description": "Retrieves information for one or more API keys.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-api-key.html", "name": "security.get_api_key", "privileges": { "cluster": [ "manage_own_api_key", "read_security" ] }, "request": { "name": "Request", "namespace": "security.get_api_key" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.get_api_key" }, "responseMediaType": [ "application/json" ], "since": "6.7.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_security/api_key" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.3.0", "stability": "stable" } }, "description": "Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-builtin-privileges.html", "name": "security.get_builtin_privileges", "privileges": { "cluster": [ "manage_security" ] }, "request": { "name": "Request", "namespace": "security.get_builtin_privileges" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.get_builtin_privileges" }, "responseMediaType": [ "application/json" ], "since": "7.3.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_security/privilege/_builtin" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "6.4.0", "stability": "stable" } }, "description": "Retrieves application privileges.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html", "name": "security.get_privileges", "request": { "name": "Request", "namespace": "security.get_privileges" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.get_privileges" }, "responseMediaType": [ "application/json" ], "since": "6.4.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_security/privilege" }, { "methods": [ "GET" ], "path": "/_security/privilege/{application}" }, { "methods": [ "GET" ], "path": "/_security/privilege/{application}/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Retrieves roles in the native realm.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html", "name": "security.get_role", "privileges": { "cluster": [ "manage_security" ] }, "request": { "name": "Request", "namespace": "security.get_role" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.get_role" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_security/role/{name}" }, { "methods": [ "GET" ], "path": "/_security/role" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.5.0", "stability": "stable" } }, "description": "Retrieves role mappings.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html", "name": "security.get_role_mapping", "privileges": { "cluster": [ "manage_security" ] }, "request": { "name": "Request", "namespace": "security.get_role_mapping" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.get_role_mapping" }, "responseMediaType": [ "application/json" ], "since": "5.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_security/role_mapping/{name}" }, { "methods": [ "GET" ], "path": "/_security/role_mapping" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.13.0", "stability": "stable" } }, "description": "Retrieves information about service accounts.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-accounts.html", "name": "security.get_service_accounts", "privileges": { "cluster": [ "manage_service_account" ] }, "request": { "name": "Request", "namespace": "security.get_service_accounts" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.get_service_accounts" }, "responseMediaType": [ "application/json" ], "since": "7.13.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_security/service/{namespace}/{service}" }, { "methods": [ "GET" ], "path": "/_security/service/{namespace}" }, { "methods": [ "GET" ], "path": "/_security/service" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.13.0", "stability": "stable" } }, "description": "Retrieves information of all service credentials for a service account.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-credentials.html", "name": "security.get_service_credentials", "request": { "name": "Request", "namespace": "security.get_service_credentials" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.get_service_credentials" }, "responseMediaType": [ "application/json" ], "since": "7.13.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_security/service/{namespace}/{service}/credential" } ], "visibility": "public" }, { "availability": { "stack": { "stability": "stable", "visibility": "public" } }, "description": "Retrieve settings for the security system indices", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-settings.html", "name": "security.get_settings", "request": null, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": null, "responseMediaType": [ "application/json" ], "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_security/settings" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.5.0", "stability": "stable" } }, "description": "Creates a bearer token for access without requiring basic authentication.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-token.html", "name": "security.get_token", "request": { "name": "Request", "namespace": "security.get_token" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.get_token" }, "responseMediaType": [ "application/json" ], "since": "5.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/oauth2/token" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Retrieves information about users in the native realm and built-in users.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html", "name": "security.get_user", "request": { "name": "Request", "namespace": "security.get_user" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.get_user" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_security/user/{username}" }, { "methods": [ "GET" ], "path": "/_security/user" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "6.5.0", "stability": "stable" } }, "description": "Retrieves security privileges for the logged in user.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user-privileges.html", "name": "security.get_user_privileges", "request": { "name": "Request", "namespace": "security.get_user_privileges" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.get_user_privileges" }, "responseMediaType": [ "application/json" ], "since": "6.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_security/user/_privileges" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "8.2.0", "stability": "stable" } }, "description": "Retrieves user profiles for the given unique ID(s).", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user-profile.html", "name": "security.get_user_profile", "privileges": { "cluster": [ "manage_user_profile" ] }, "request": { "name": "Request", "namespace": "security.get_user_profile" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "security.get_user_profile" }, "responseMediaType": [ "application/json" ], "since": "8.2.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_security/profile/{uid}" } ], "visibility": "private" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.9.0", "stability": "stable" } }, "description": "Creates an API key on behalf of another user.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-grant-api-key.html", "name": "security.grant_api_key", "privileges": { "cluster": [ "grant_api_key" ] }, "request": { "name": "Request", "namespace": "security.grant_api_key" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.grant_api_key" }, "responseMediaType": [ "application/json" ], "since": "7.9.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/api_key/grant" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.4.0", "stability": "stable" } }, "description": "Determines whether the specified user has a specified list of privileges.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html", "name": "security.has_privileges", "request": { "name": "Request", "namespace": "security.has_privileges" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.has_privileges" }, "responseMediaType": [ "application/json" ], "since": "6.4.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_security/user/_has_privileges" }, { "methods": [ "GET", "POST" ], "path": "/_security/user/{user}/_has_privileges" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "8.3.0", "stability": "stable" } }, "description": "Determines whether the users associated with the specified profile IDs have all the requested privileges.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges-user-profile.html", "name": "security.has_privileges_user_profile", "privileges": { "cluster": [ "manage_user_profile" ] }, "request": { "name": "Request", "namespace": "security.has_privileges_user_profile" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.has_privileges_user_profile" }, "responseMediaType": [ "application/json" ], "since": "8.3.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_security/profile/_has_privileges" } ], "visibility": "private" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.7.0", "stability": "stable" } }, "description": "Invalidates one or more API keys.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-api-key.html", "name": "security.invalidate_api_key", "privileges": { "cluster": [ "manage_api_key", "manage_own_api_key" ] }, "request": { "name": "Request", "namespace": "security.invalidate_api_key" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.invalidate_api_key" }, "responseMediaType": [ "application/json" ], "since": "6.7.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_security/api_key" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.5.0", "stability": "stable" } }, "description": "Invalidates one or more access tokens or refresh tokens.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-token.html", "name": "security.invalidate_token", "request": { "name": "Request", "namespace": "security.invalidate_token" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.invalidate_token" }, "responseMediaType": [ "application/json" ], "since": "5.5.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_security/oauth2/token" } ], "visibility": "public" }, { "availability": { "stack": { "stability": "stable", "visibility": "public" } }, "description": "Exchanges an OpenID Connection authentication response message for an Elasticsearch access token and refresh token pair", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-oidc-authenticate.html", "name": "security.oidc_authenticate", "request": null, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": null, "responseMediaType": [ "application/json" ], "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/oidc/authenticate" } ], "visibility": "public" }, { "availability": { "stack": { "stability": "stable", "visibility": "public" } }, "description": "Invalidates a refresh token and access token that was generated from the OpenID Connect Authenticate API", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-oidc-logout.html", "name": "security.oidc_logout", "request": null, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": null, "responseMediaType": [ "application/json" ], "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/oidc/logout" } ], "visibility": "public" }, { "availability": { "stack": { "stability": "stable", "visibility": "public" } }, "description": "Creates an OAuth 2.0 authentication request as a URL string", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-oidc-prepare-authentication.html", "name": "security.oidc_prepare_authentication", "request": null, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": null, "responseMediaType": [ "application/json" ], "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/oidc/prepare" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "6.4.0", "stability": "stable" } }, "description": "Adds or updates application privileges.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html", "name": "security.put_privileges", "request": { "name": "Request", "namespace": "security.put_privileges" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.put_privileges" }, "responseMediaType": [ "application/json" ], "since": "6.4.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_security/privilege" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Adds and updates roles in the native realm.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html", "name": "security.put_role", "privileges": { "cluster": [ "manage_security" ] }, "request": { "name": "Request", "namespace": "security.put_role" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.put_role" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_security/role/{name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "5.5.0", "stability": "stable" } }, "description": "Creates and updates role mappings.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html", "name": "security.put_role_mapping", "request": { "name": "Request", "namespace": "security.put_role_mapping" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.put_role_mapping" }, "responseMediaType": [ "application/json" ], "since": "5.5.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_security/role_mapping/{name}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Adds and updates users in the native realm. These users are commonly referred to as native users.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html", "name": "security.put_user", "request": { "name": "Request", "namespace": "security.put_user" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.put_user" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_security/user/{username}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.15.0", "stability": "stable" } }, "description": "Retrieves information for API keys using a subset of query DSL", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-api-key.html", "name": "security.query_api_keys", "privileges": { "cluster": [ "manage_own_api_key", "read_security" ] }, "request": { "name": "Request", "namespace": "security.query_api_keys" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.query_api_keys" }, "responseMediaType": [ "application/json" ], "since": "7.15.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_security/_query/api_key" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Exchanges a SAML Response message for an Elasticsearch access token and refresh token pair", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-authenticate.html", "name": "security.saml_authenticate", "request": { "name": "Request", "namespace": "security.saml_authenticate" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.saml_authenticate" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/saml/authenticate" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.14.0", "stability": "stable" } }, "description": "Verifies the logout response sent from the SAML IdP", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-complete-logout.html", "name": "security.saml_complete_logout", "request": { "name": "Request", "namespace": "security.saml_complete_logout" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.saml_complete_logout" }, "responseMediaType": [ "application/json" ], "since": "7.14.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/saml/complete_logout" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Consumes a SAML LogoutRequest", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-invalidate.html", "name": "security.saml_invalidate", "request": { "name": "Request", "namespace": "security.saml_invalidate" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.saml_invalidate" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/saml/invalidate" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Invalidates an access token and a refresh token that were generated via the SAML Authenticate API", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-logout.html", "name": "security.saml_logout", "request": { "name": "Request", "namespace": "security.saml_logout" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.saml_logout" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/saml/logout" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Creates a SAML authentication request", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-prepare-authentication.html", "name": "security.saml_prepare_authentication", "request": { "name": "Request", "namespace": "security.saml_prepare_authentication" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.saml_prepare_authentication" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_security/saml/prepare" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.11.0", "stability": "stable" } }, "description": "Generates SAML metadata for the Elastic stack SAML 2.0 Service Provider", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-sp-metadata.html", "name": "security.saml_service_provider_metadata", "request": { "name": "Request", "namespace": "security.saml_service_provider_metadata" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.saml_service_provider_metadata" }, "responseMediaType": [ "application/json" ], "since": "7.11.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_security/saml/metadata/{realm_name}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "8.2.0", "stability": "stable" } }, "description": "Get suggestions for user profiles that match specified search criteria.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-suggest-user-profile.html", "name": "security.suggest_user_profiles", "request": { "name": "Request", "namespace": "security.suggest_user_profiles" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.suggest_user_profiles" }, "responseMediaType": [ "application/json" ], "since": "8.2.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_security/profile/_suggest" } ], "visibility": "private" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.4.0", "stability": "stable" } }, "description": "Updates attributes of an existing API key.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-api-key.html", "name": "security.update_api_key", "privileges": { "cluster": [ "manage_own_api_key" ] }, "request": { "name": "Request", "namespace": "security.update_api_key" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.update_api_key" }, "responseMediaType": [ "application/json" ], "since": "8.4.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_security/api_key/{id}" } ], "visibility": "public" }, { "availability": { "stack": { "stability": "beta", "visibility": "public" } }, "description": "Updates attributes of an existing cross-cluster API key.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-cross-cluster-api-key.html", "name": "security.update_cross_cluster_api_key", "request": null, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": null, "responseMediaType": [ "application/json" ], "stability": "beta", "urls": [ { "methods": [ "PUT" ], "path": "/_security/cross_cluster/api_key/{id}" } ], "visibility": "public" }, { "availability": { "stack": { "stability": "stable", "visibility": "public" } }, "description": "Update settings for the security system index", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-settings.html", "name": "security.update_settings", "request": null, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": null, "responseMediaType": [ "application/json" ], "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_security/settings" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "8.2.0", "stability": "stable" } }, "description": "Update application specific data for the user profile of the given unique ID.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-user-profile-data.html", "name": "security.update_user_profile_data", "privileges": { "cluster": [ "manage_user_profile" ] }, "request": { "name": "Request", "namespace": "security.update_user_profile_data" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "security.update_user_profile_data" }, "responseMediaType": [ "application/json" ], "since": "8.2.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_security/profile/{uid}/_data" } ], "visibility": "private" }, { "availability": { "stack": { "since": "7.13.0", "stability": "stable" } }, "description": "Removes a node from the shutdown list. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current", "name": "shutdown.delete_node", "request": { "name": "Request", "namespace": "shutdown.delete_node" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "shutdown.delete_node" }, "responseMediaType": [ "application/json" ], "since": "7.13.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_nodes/{node_id}/shutdown" } ], "visibility": "private" }, { "availability": { "stack": { "since": "7.13.0", "stability": "stable" } }, "description": "Retrieve status of a node or nodes that are currently marked as shutting down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current", "name": "shutdown.get_node", "request": { "name": "Request", "namespace": "shutdown.get_node" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "shutdown.get_node" }, "responseMediaType": [ "application/json" ], "since": "7.13.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_nodes/shutdown" }, { "methods": [ "GET" ], "path": "/_nodes/{node_id}/shutdown" } ], "visibility": "private" }, { "availability": { "stack": { "since": "7.13.0", "stability": "stable" } }, "description": "Adds a node to be shut down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current", "name": "shutdown.put_node", "request": { "name": "Request", "namespace": "shutdown.put_node" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "shutdown.put_node" }, "responseMediaType": [ "application/json" ], "since": "7.13.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_nodes/{node_id}/shutdown" } ], "visibility": "private" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.4.0", "stability": "stable" } }, "description": "Deletes an existing snapshot lifecycle policy.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-delete-policy.html", "name": "slm.delete_lifecycle", "request": { "name": "Request", "namespace": "slm.delete_lifecycle" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "slm.delete_lifecycle" }, "responseMediaType": [ "application/json" ], "since": "7.4.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_slm/policy/{policy_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.4.0", "stability": "stable" } }, "description": "Immediately creates a snapshot according to the lifecycle policy, without waiting for the scheduled time.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-lifecycle.html", "name": "slm.execute_lifecycle", "request": { "name": "Request", "namespace": "slm.execute_lifecycle" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "slm.execute_lifecycle" }, "responseMediaType": [ "application/json" ], "since": "7.4.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_slm/policy/{policy_id}/_execute" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Deletes any snapshots that are expired according to the policy's retention rules.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-retention.html", "name": "slm.execute_retention", "request": { "name": "Request", "namespace": "slm.execute_retention" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "slm.execute_retention" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_slm/_execute_retention" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.4.0", "stability": "stable" } }, "description": "Retrieves one or more snapshot lifecycle policy definitions and information about the latest snapshot attempts.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-policy.html", "name": "slm.get_lifecycle", "request": { "name": "Request", "namespace": "slm.get_lifecycle" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "slm.get_lifecycle" }, "responseMediaType": [ "application/json" ], "since": "7.4.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_slm/policy/{policy_id}" }, { "methods": [ "GET" ], "path": "/_slm/policy" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Returns global and policy-level statistics about actions taken by snapshot lifecycle management.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/slm-api-get-stats.html", "name": "slm.get_stats", "request": { "name": "Request", "namespace": "slm.get_stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "slm.get_stats" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_slm/stats" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.6.0", "stability": "stable" } }, "description": "Retrieves the status of snapshot lifecycle management (SLM).", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-status.html", "name": "slm.get_status", "request": { "name": "Request", "namespace": "slm.get_status" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "slm.get_status" }, "responseMediaType": [ "application/json" ], "since": "7.6.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_slm/status" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.4.0", "stability": "stable" } }, "description": "Creates or updates a snapshot lifecycle policy.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-put-policy.html", "name": "slm.put_lifecycle", "request": { "name": "Request", "namespace": "slm.put_lifecycle" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "slm.put_lifecycle" }, "responseMediaType": [ "application/json" ], "since": "7.4.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_slm/policy/{policy_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.6.0", "stability": "stable" } }, "description": "Turns on snapshot lifecycle management (SLM).", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-start.html", "name": "slm.start", "request": { "name": "Request", "namespace": "slm.start" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "slm.start" }, "responseMediaType": [ "application/json" ], "since": "7.6.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_slm/start" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.6.0", "stability": "stable" } }, "description": "Turns off snapshot lifecycle management (SLM).", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-stop.html", "name": "slm.stop", "request": { "name": "Request", "namespace": "slm.stop" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "slm.stop" }, "responseMediaType": [ "application/json" ], "since": "7.6.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_slm/stop" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.4.0", "stability": "stable" } }, "description": "Removes stale data from repository.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/clean-up-snapshot-repo-api.html", "name": "snapshot.cleanup_repository", "request": { "name": "Request", "namespace": "snapshot.cleanup_repository" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "snapshot.cleanup_repository" }, "responseMediaType": [ "application/json" ], "since": "7.4.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_snapshot/{repository}/_cleanup" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.10.0", "stability": "stable" } }, "description": "Clones indices from one snapshot into another snapshot in the same repository.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "name": "snapshot.clone", "request": { "name": "Request", "namespace": "snapshot.clone" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "snapshot.clone" }, "responseMediaType": [ "application/json" ], "since": "7.10.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_snapshot/{repository}/{snapshot}/_clone/{target_snapshot}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Creates a snapshot in a repository.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "name": "snapshot.create", "request": { "name": "Request", "namespace": "snapshot.create" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "snapshot.create" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_snapshot/{repository}/{snapshot}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Creates a repository.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "name": "snapshot.create_repository", "request": { "name": "Request", "namespace": "snapshot.create_repository" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "snapshot.create_repository" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_snapshot/{repository}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Deletes one or more snapshots.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "name": "snapshot.delete", "request": { "name": "Request", "namespace": "snapshot.delete" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "snapshot.delete" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_snapshot/{repository}/{snapshot}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Deletes a repository.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "name": "snapshot.delete_repository", "request": { "name": "Request", "namespace": "snapshot.delete_repository" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "snapshot.delete_repository" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_snapshot/{repository}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about a snapshot.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "name": "snapshot.get", "request": { "name": "Request", "namespace": "snapshot.get" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "snapshot.get" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_snapshot/{repository}/{snapshot}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information about a repository.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "name": "snapshot.get_repository", "request": { "name": "Request", "namespace": "snapshot.get_repository" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "snapshot.get_repository" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_snapshot" }, { "methods": [ "GET" ], "path": "/_snapshot/{repository}" } ], "visibility": "public" }, { "availability": { "stack": { "stability": "stable", "visibility": "public" } }, "description": "Analyzes a repository for correctness and performance", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "name": "snapshot.repository_analyze", "request": null, "requestBodyRequired": false, "response": null, "responseMediaType": [ "application/json" ], "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_snapshot/{repository}/_analyze" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Restores a snapshot.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "name": "snapshot.restore", "request": { "name": "Request", "namespace": "snapshot.restore" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "snapshot.restore" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_snapshot/{repository}/{snapshot}/_restore" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.8.0", "stability": "stable" } }, "description": "Returns information about the status of a snapshot.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "name": "snapshot.status", "request": { "name": "Request", "namespace": "snapshot.status" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "snapshot.status" }, "responseMediaType": [ "application/json" ], "since": "7.8.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_snapshot/_status" }, { "methods": [ "GET" ], "path": "/_snapshot/{repository}/_status" }, { "methods": [ "GET" ], "path": "/_snapshot/{repository}/{snapshot}/_status" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Verifies a repository.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "name": "snapshot.verify_repository", "request": { "name": "Request", "namespace": "snapshot.verify_repository" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "snapshot.verify_repository" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_snapshot/{repository}/_verify" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.3.0", "stability": "stable" } }, "description": "Clears the SQL cursor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-sql-cursor-api.html", "name": "sql.clear_cursor", "request": { "name": "Request", "namespace": "sql.clear_cursor" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "sql.clear_cursor" }, "responseMediaType": [ "application/json" ], "since": "6.3.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_sql/close" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.15.0", "stability": "stable" } }, "description": "Deletes an async SQL search or a stored synchronous SQL search. If the search is still running, the API cancels it.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-async-sql-search-api.html", "name": "sql.delete_async", "request": { "name": "Request", "namespace": "sql.delete_async" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "sql.delete_async" }, "responseMediaType": [ "application/json" ], "since": "7.15.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_sql/async/delete/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.15.0", "stability": "stable" } }, "description": "Returns the current status and available results for an async SQL search or stored synchronous SQL search", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-async-sql-search-api.html", "name": "sql.get_async", "request": { "name": "Request", "namespace": "sql.get_async" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "sql.get_async" }, "responseMediaType": [ "application/json" ], "since": "7.15.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_sql/async/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.15.0", "stability": "stable" } }, "description": "Returns the current status of an async SQL search or a stored synchronous SQL search", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-async-sql-search-status-api.html", "name": "sql.get_async_status", "request": { "name": "Request", "namespace": "sql.get_async_status" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "sql.get_async_status" }, "responseMediaType": [ "application/json" ], "since": "7.15.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_sql/async/status/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.3.0", "stability": "stable" } }, "description": "Executes a SQL request", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-search-api.html", "name": "sql.query", "request": { "name": "Request", "namespace": "sql.query" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "sql.query" }, "responseMediaType": [ "application/json" ], "since": "6.3.0", "stability": "stable", "urls": [ { "methods": [ "POST", "GET" ], "path": "/_sql" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "6.3.0", "stability": "stable" } }, "description": "Translates SQL into Elasticsearch queries", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-translate-api.html", "name": "sql.translate", "request": { "name": "Request", "namespace": "sql.translate" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "sql.translate" }, "responseMediaType": [ "application/json" ], "since": "6.3.0", "stability": "stable", "urls": [ { "methods": [ "POST", "GET" ], "path": "/_sql/translate" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "6.2.0", "stability": "stable" } }, "description": "Retrieves information about the X.509 certificates used to encrypt communications in the cluster.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html", "name": "ssl.certificates", "request": { "name": "Request", "namespace": "ssl.certificates" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "ssl.certificates" }, "responseMediaType": [ "application/json" ], "since": "6.2.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_ssl/certificates" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.10.0", "stability": "stable" } }, "description": "Deletes a synonym set", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-synonyms-set.html", "name": "synonyms.delete_synonym", "request": { "name": "Request", "namespace": "synonyms.delete_synonym" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "synonyms.delete_synonym" }, "responseMediaType": [ "application/json" ], "since": "8.10.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_synonyms/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.10.0", "stability": "stable" } }, "description": "Deletes a synonym rule in a synonym set", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-synonym-rule.html", "name": "synonyms.delete_synonym_rule", "request": { "name": "Request", "namespace": "synonyms.delete_synonym_rule" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "synonyms.delete_synonym_rule" }, "responseMediaType": [ "application/json" ], "since": "8.10.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_synonyms/{set_id}/{rule_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.10.0", "stability": "stable" } }, "description": "Retrieves a synonym set", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonyms-set.html", "name": "synonyms.get_synonym", "request": { "name": "Request", "namespace": "synonyms.get_synonym" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "synonyms.get_synonym" }, "responseMediaType": [ "application/json" ], "since": "8.10.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_synonyms/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.10.0", "stability": "stable" } }, "description": "Retrieves a synonym rule from a synonym set", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-synonym-rule.html", "name": "synonyms.get_synonym_rule", "request": { "name": "Request", "namespace": "synonyms.get_synonym_rule" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "synonyms.get_synonym_rule" }, "responseMediaType": [ "application/json" ], "since": "8.10.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_synonyms/{set_id}/{rule_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.10.0", "stability": "stable" } }, "description": "Retrieves a summary of all defined synonym sets", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-synonyms-sets.html", "name": "synonyms.get_synonyms_sets", "request": { "name": "Request", "namespace": "synonyms.get_synonyms_sets" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "synonyms.get_synonyms_sets" }, "responseMediaType": [ "application/json" ], "since": "8.10.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_synonyms" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.10.0", "stability": "stable" } }, "description": "Creates or updates a synonyms set", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-synonyms-set.html", "name": "synonyms.put_synonym", "request": { "name": "Request", "namespace": "synonyms.put_synonym" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "synonyms.put_synonym" }, "responseMediaType": [ "application/json" ], "since": "8.10.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_synonyms/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.10.0", "stability": "stable" } }, "description": "Creates or updates a synonym rule in a synonym set", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-synonym-rule.html", "name": "synonyms.put_synonym_rule", "request": { "name": "Request", "namespace": "synonyms.put_synonym_rule" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "synonyms.put_synonym_rule" }, "responseMediaType": [ "application/json" ], "since": "8.10.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_synonyms/{set_id}/{rule_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "private" }, "stack": { "since": "2.3.0", "stability": "experimental" } }, "description": "Cancels a task, if it can be cancelled through an API.", "docId": "tasks", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/tasks.html", "name": "tasks.cancel", "request": { "name": "Request", "namespace": "tasks.cancel" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "tasks.cancel" }, "responseMediaType": [ "application/json" ], "since": "2.3.0", "stability": "experimental", "urls": [ { "methods": [ "POST" ], "path": "/_tasks/_cancel" }, { "methods": [ "POST" ], "path": "/_tasks/{task_id}/_cancel" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "public" }, "stack": { "since": "5.0.0", "stability": "experimental" } }, "description": "Returns information about a task.", "docId": "tasks", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/tasks.html", "name": "tasks.get", "request": { "name": "Request", "namespace": "tasks.get" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "tasks.get" }, "responseMediaType": [ "application/json" ], "since": "5.0.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_tasks/{task_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "experimental", "visibility": "private" }, "stack": { "since": "2.3.0", "stability": "experimental" } }, "description": "Returns a list of tasks.", "docId": "tasks", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/tasks.html", "name": "tasks.list", "privileges": { "cluster": [ "monitor", "manage" ] }, "request": { "name": "Request", "namespace": "tasks.list" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "tasks.list" }, "responseMediaType": [ "application/json" ], "since": "2.3.0", "stability": "experimental", "urls": [ { "methods": [ "GET" ], "path": "/_tasks" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.14.0", "stability": "stable" } }, "description": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html", "name": "terms_enum", "request": { "name": "Request", "namespace": "_global.terms_enum" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.terms_enum" }, "responseMediaType": [ "application/json" ], "since": "7.14.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/{index}/_terms_enum" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Returns information and statistics about terms in the fields of a particular document.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html", "name": "termvectors", "request": { "name": "Request", "namespace": "_global.termvectors" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.termvectors" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/{index}/_termvectors/{id}" }, { "methods": [ "GET", "POST" ], "path": "/{index}/_termvectors" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.13.0", "stability": "stable" } }, "description": "Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/find-structure.html", "name": "text_structure.find_structure", "request": { "name": "Request", "namespace": "text_structure.find_structure" }, "requestBodyRequired": true, "requestMediaType": [ "application/x-ndjson" ], "response": { "name": "Response", "namespace": "text_structure.find_structure" }, "responseMediaType": [ "application/json" ], "since": "7.13.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_text_structure/find_structure" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "8.13.0", "stability": "stable" } }, "description": "Tests a Grok pattern on some text.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/test-grok-pattern.html", "name": "text_structure.test_grok_pattern", "request": { "name": "Request", "namespace": "text_structure.test_grok_pattern" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "text_structure.test_grok_pattern" }, "responseMediaType": [ "application/json" ], "since": "8.13.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_text_structure/test_grok_pattern" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Deletes an existing transform.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html", "name": "transform.delete_transform", "privileges": { "cluster": [ "manage_transform" ] }, "request": { "name": "Request", "namespace": "transform.delete_transform" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "transform.delete_transform" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_transform/{transform_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Retrieves configuration information for transforms.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html", "name": "transform.get_transform", "privileges": { "cluster": [ "monitor_transform" ] }, "request": { "name": "Request", "namespace": "transform.get_transform" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "transform.get_transform" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_transform/{transform_id}" }, { "methods": [ "GET" ], "path": "/_transform" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Retrieves usage information for transforms.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html", "name": "transform.get_transform_stats", "privileges": { "cluster": [ "monitor_transform" ], "index": [ "read", "view_index_metadata" ] }, "request": { "name": "Request", "namespace": "transform.get_transform_stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "transform.get_transform_stats" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_transform/{transform_id}/_stats" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.2.0", "stability": "stable" } }, "description": "Previews a transform.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html", "name": "transform.preview_transform", "privileges": { "cluster": [ "manage_transform" ], "index": [ "read", "view_index_metadata" ] }, "request": { "name": "Request", "namespace": "transform.preview_transform" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "transform.preview_transform" }, "responseMediaType": [ "application/json" ], "since": "7.2.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_transform/{transform_id}/_preview" }, { "methods": [ "GET", "POST" ], "path": "/_transform/_preview" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.2.0", "stability": "stable" } }, "description": "Instantiates a transform.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html", "name": "transform.put_transform", "privileges": { "cluster": [ "manage_transform" ], "index": [ "create_index", "read", "index", "view_index_metadata" ] }, "request": { "name": "Request", "namespace": "transform.put_transform" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "transform.put_transform" }, "responseMediaType": [ "application/json" ], "since": "7.2.0", "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_transform/{transform_id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.1.0", "stability": "stable" } }, "description": "Resets an existing transform.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/reset-transform.html", "name": "transform.reset_transform", "privileges": { "cluster": [ "manage_transform" ] }, "request": { "name": "Request", "namespace": "transform.reset_transform" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "transform.reset_transform" }, "responseMediaType": [ "application/json" ], "since": "8.1.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_transform/{transform_id}/_reset" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "8.7.0", "stability": "stable" } }, "description": "Schedules now a transform.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/schedule-now-transform.html", "name": "transform.schedule_now_transform", "privileges": { "cluster": [ "manage_transform" ] }, "request": { "name": "Request", "namespace": "transform.schedule_now_transform" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "transform.schedule_now_transform" }, "responseMediaType": [ "application/json" ], "since": "8.7.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_transform/{transform_id}/_schedule_now" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Starts one or more transforms.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html", "name": "transform.start_transform", "privileges": { "cluster": [ "manage_transform" ], "index": [ "read", "view_index_metadata" ] }, "request": { "name": "Request", "namespace": "transform.start_transform" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "transform.start_transform" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_transform/{transform_id}/_start" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.5.0", "stability": "stable" } }, "description": "Stops one or more transforms.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html", "name": "transform.stop_transform", "privileges": { "cluster": [ "manage_transform" ] }, "request": { "name": "Request", "namespace": "transform.stop_transform" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "transform.stop_transform" }, "responseMediaType": [ "application/json" ], "since": "7.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_transform/{transform_id}/_stop" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "7.2.0", "stability": "stable" } }, "description": "Updates certain properties of a transform.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html", "name": "transform.update_transform", "privileges": { "cluster": [ "manage_transform" ], "index": [ "read", "index", "view_index_metadata" ] }, "request": { "name": "Request", "namespace": "transform.update_transform" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "transform.update_transform" }, "responseMediaType": [ "application/json" ], "since": "7.2.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_transform/{transform_id}/_update" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "7.16.0", "stability": "stable" } }, "description": "Upgrades all transforms.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/upgrade-transforms.html", "name": "transform.upgrade_transforms", "privileges": { "cluster": [ "manage_transform" ] }, "request": { "name": "Request", "namespace": "transform.upgrade_transforms" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "transform.upgrade_transforms" }, "responseMediaType": [ "application/json" ], "since": "7.16.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_transform/_upgrade" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Updates a document with a script or partial document.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html", "name": "update", "request": { "name": "Request", "namespace": "_global.update" }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.update" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/{index}/_update/{id}" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "public" }, "stack": { "since": "2.4.0", "stability": "stable" } }, "description": "Updates documents that match the specified query. If no query is specified,\n performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html", "name": "update_by_query", "request": { "name": "Request", "namespace": "_global.update_by_query" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "_global.update_by_query" }, "responseMediaType": [ "application/json" ], "since": "2.4.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/{index}/_update_by_query" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "6.5.0", "stability": "stable" } }, "description": "Changes the number of requests per second for a particular Update By Query operation.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html", "name": "update_by_query_rethrottle", "request": { "name": "Request", "namespace": "_global.update_by_query_rethrottle" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "_global.update_by_query_rethrottle" }, "responseMediaType": [ "application/json" ], "since": "6.5.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_update_by_query/{task_id}/_rethrottle" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Acknowledges a watch, manually throttling the execution of the watch's actions.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html", "name": "watcher.ack_watch", "request": { "name": "Request", "namespace": "watcher.ack_watch" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "watcher.ack_watch" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_watcher/watch/{watch_id}/_ack" }, { "methods": [ "PUT", "POST" ], "path": "/_watcher/watch/{watch_id}/_ack/{action_id}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Activates a currently inactive watch.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html", "name": "watcher.activate_watch", "request": { "name": "Request", "namespace": "watcher.activate_watch" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "watcher.activate_watch" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_watcher/watch/{watch_id}/_activate" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Deactivates a currently active watch.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html", "name": "watcher.deactivate_watch", "request": { "name": "Request", "namespace": "watcher.deactivate_watch" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "watcher.deactivate_watch" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_watcher/watch/{watch_id}/_deactivate" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Removes a watch from Watcher.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html", "name": "watcher.delete_watch", "request": { "name": "Request", "namespace": "watcher.delete_watch" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "watcher.delete_watch" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "DELETE" ], "path": "/_watcher/watch/{id}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Forces the execution of a stored watch.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html", "name": "watcher.execute_watch", "privileges": { "cluster": [ "manage_watcher" ] }, "request": { "name": "Request", "namespace": "watcher.execute_watch" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "watcher.execute_watch" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_watcher/watch/{id}/_execute" }, { "methods": [ "PUT", "POST" ], "path": "/_watcher/watch/_execute" } ], "visibility": "public" }, { "availability": { "stack": { "stability": "stable", "visibility": "public" } }, "description": "Retrieve settings for the watcher system index", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-settings.html", "name": "watcher.get_settings", "request": null, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": null, "responseMediaType": [ "application/json" ], "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_watcher/settings" } ], "visibility": "public" }, { "availability": { "stack": { "since": "5.6.0", "stability": "stable" } }, "description": "Retrieves a watch by its ID.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html", "name": "watcher.get_watch", "request": { "name": "Request", "namespace": "watcher.get_watch" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "watcher.get_watch" }, "responseMediaType": [ "application/json" ], "since": "5.6.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_watcher/watch/{id}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Creates a new watch, or updates an existing one.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html", "name": "watcher.put_watch", "request": { "name": "Request", "namespace": "watcher.put_watch" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "watcher.put_watch" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "PUT", "POST" ], "path": "/_watcher/watch/{id}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "7.11.0", "stability": "stable" } }, "description": "Retrieves stored watches.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-query-watches.html", "name": "watcher.query_watches", "request": { "name": "Request", "namespace": "watcher.query_watches" }, "requestBodyRequired": false, "requestMediaType": [ "application/json" ], "response": { "name": "Response", "namespace": "watcher.query_watches" }, "responseMediaType": [ "application/json" ], "since": "7.11.0", "stability": "stable", "urls": [ { "methods": [ "GET", "POST" ], "path": "/_watcher/_query/watches" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Starts Watcher if it is not already running.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html", "name": "watcher.start", "request": { "name": "Request", "namespace": "watcher.start" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "watcher.start" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_watcher/_start" } ], "visibility": "public" }, { "availability": { "stack": { "since": "5.5.0", "stability": "stable" } }, "description": "Retrieves the current Watcher metrics.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html", "name": "watcher.stats", "request": { "name": "Request", "namespace": "watcher.stats" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "watcher.stats" }, "responseMediaType": [ "application/json" ], "since": "5.5.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_watcher/stats" }, { "methods": [ "GET" ], "path": "/_watcher/stats/{metric}" } ], "visibility": "public" }, { "availability": { "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Stops Watcher if it is running.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html", "name": "watcher.stop", "request": { "name": "Request", "namespace": "watcher.stop" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "watcher.stop" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "POST" ], "path": "/_watcher/_stop" } ], "visibility": "public" }, { "availability": { "stack": { "stability": "stable", "visibility": "public" } }, "description": "Update settings for the watcher system index", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-update-settings.html", "name": "watcher.update_settings", "request": null, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], "response": null, "responseMediaType": [ "application/json" ], "stability": "stable", "urls": [ { "methods": [ "PUT" ], "path": "/_watcher/settings" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Retrieves information about the installed X-Pack features.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html", "name": "xpack.info", "privileges": { "cluster": [ "monitor", "manage" ] }, "request": { "name": "Request", "namespace": "xpack.info" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "xpack.info" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_xpack" } ], "visibility": "public" }, { "availability": { "serverless": { "stability": "stable", "visibility": "private" }, "stack": { "since": "0.0.0", "stability": "stable" } }, "description": "Retrieves usage information about the installed X-Pack features.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/usage-api.html", "name": "xpack.usage", "privileges": { "cluster": [ "monitor", "manage" ] }, "request": { "name": "Request", "namespace": "xpack.usage" }, "requestBodyRequired": false, "response": { "name": "Response", "namespace": "xpack.usage" }, "responseMediaType": [ "application/json" ], "since": "0.0.0", "stability": "stable", "urls": [ { "methods": [ "GET" ], "path": "/_xpack/usage" } ], "visibility": "public" } ], "types": [ { "inherits": { "type": { "name": "WriteOperation", "namespace": "_global.bulk" } }, "kind": "interface", "name": { "name": "CreateOperation", "namespace": "_global.bulk" }, "properties": [], "specLocation": "_global/bulk/types.ts#L130-L130" }, { "inherits": { "type": { "name": "OperationBase", "namespace": "_global.bulk" } }, "kind": "interface", "name": { "name": "DeleteOperation", "namespace": "_global.bulk" }, "properties": [], "specLocation": "_global/bulk/types.ts#L134-L134" }, { "inherits": { "type": { "name": "WriteOperation", "namespace": "_global.bulk" } }, "kind": "interface", "name": { "name": "IndexOperation", "namespace": "_global.bulk" }, "properties": [], "specLocation": "_global/bulk/types.ts#L132-L132" }, { "kind": "interface", "name": { "name": "OperationBase", "namespace": "_global.bulk" }, "properties": [ { "description": "The document ID.", "name": "_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Name of the index or index alias to perform the action on.", "name": "_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "name": "if_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "if_seq_no", "required": false, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "version_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionType", "namespace": "_types" } } } ], "specLocation": "_global/bulk/types.ts#L90-L107" }, { "kind": "interface", "name": { "name": "OperationContainer", "namespace": "_global.bulk" }, "properties": [ { "description": "Indexes the specified document.\nIf the document exists, replaces the document and increments the version.\nThe following line must contain the source data to be indexed.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexOperation", "namespace": "_global.bulk" } } }, { "description": "Indexes the specified document if it does not already exist.\nThe following line must contain the source data to be indexed.", "name": "create", "required": false, "type": { "kind": "instance_of", "type": { "name": "CreateOperation", "namespace": "_global.bulk" } } }, { "description": "Performs a partial document update.\nThe following line must contain the partial document and update options.", "name": "update", "required": false, "type": { "kind": "instance_of", "type": { "name": "UpdateOperation", "namespace": "_global.bulk" } } }, { "description": "Removes the specified document from the index.", "name": "delete", "required": false, "type": { "kind": "instance_of", "type": { "name": "DeleteOperation", "namespace": "_global.bulk" } } } ], "specLocation": "_global/bulk/types.ts#L145-L167", "variants": { "kind": "container" } }, { "kind": "enum", "members": [ { "name": "index" }, { "name": "create" }, { "name": "update" }, { "name": "delete" } ], "name": { "name": "OperationType", "namespace": "_global.bulk" }, "specLocation": "_global/bulk/types.ts#L83-L88" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "operations", "kind": "value", "value": { "kind": "array_of", "value": { "items": [ { "kind": "instance_of", "type": { "name": "OperationContainer", "namespace": "_global.bulk" } }, { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.bulk" } }, { "kind": "instance_of", "type": { "name": "TPartialDocument", "namespace": "_global.bulk" } } ], "kind": "instance_of", "type": { "name": "UpdateAction", "namespace": "_global.bulk" } }, { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.bulk" } } ], "kind": "union_of" } } }, "description": "Performs multiple indexing or delete operations in a single API call.\nThis reduces overhead and can greatly increase indexing speed.", "generics": [ { "name": "TDocument", "namespace": "_global.bulk" }, { "name": "TPartialDocument", "namespace": "_global.bulk" } ], "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.bulk" }, "path": [ { "description": "Name of the data stream, index, or index alias to perform bulk actions on.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", "name": "pipeline", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", "name": "refresh", "required": false, "serverDefault": "false", "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "`true` or `false` to return the `_source` field or not, or a list of fields to return.", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfigParam", "namespace": "_global.search._types" } } }, { "description": "A comma-separated list of source fields to exclude from the response.", "name": "_source_excludes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "A comma-separated list of source fields to include in the response.", "name": "_source_includes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Period each action waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", "name": "timeout", "required": false, "serverDefault": "1m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } }, { "description": "If `true`, the request’s actions must target an index alias.", "name": "require_alias", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/bulk/BulkRequest.ts#L32-L103" }, { "body": { "kind": "properties", "properties": [ { "name": "errors", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "items", "required": true, "type": { "kind": "array_of", "value": { "key": { "kind": "instance_of", "type": { "name": "OperationType", "namespace": "_global.bulk" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "ResponseItem", "namespace": "_global.bulk" } } } } }, { "name": "took", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "ingest_took", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.bulk" }, "specLocation": "_global/bulk/BulkResponse.ts#L24-L31" }, { "kind": "interface", "name": { "name": "ResponseItem", "namespace": "_global.bulk" }, "properties": [ { "description": "The document ID associated with the operation.", "name": "_id", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "Name of the index associated with the operation.\nIf the operation targeted a data stream, this is the backing index into which the document was written.", "name": "_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "HTTP status code returned for the operation.", "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Contains additional information about the failed operation.\nThe parameter is only returned for failed operations.", "name": "error", "required": false, "type": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } }, { "description": "The primary term assigned to the document for the operation.", "name": "_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Result of the operation.\nSuccessful values are `created`, `deleted`, and `updated`.", "name": "result", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The sequence number assigned to the document for the operation.\nSequence numbers are used to ensure an older version of a document doesn’t overwrite a newer version.", "name": "_seq_no", "required": false, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "description": "Contains shard information for the operation.", "name": "_shards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } }, { "description": "The document version associated with the operation.\nThe document version is incremented each time the document is updated.", "name": "_version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "forced_refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "get", "required": false, "type": { "generics": [ { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } ], "kind": "instance_of", "type": { "name": "InlineGet", "namespace": "_types" } } } ], "specLocation": "_global/bulk/types.ts#L37-L81" }, { "generics": [ { "name": "TDocument", "namespace": "_global.bulk" }, { "name": "TPartialDocument", "namespace": "_global.bulk" } ], "kind": "interface", "name": { "name": "UpdateAction", "namespace": "_global.bulk" }, "properties": [ { "description": "Set to false to disable setting 'result' in the response\nto 'noop' if no change to the document occurred.", "name": "detect_noop", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "A partial update to an existing document.", "name": "doc", "required": false, "type": { "kind": "instance_of", "type": { "name": "TPartialDocument", "namespace": "_global.bulk" } } }, { "description": "Set to true to use the contents of 'doc' as the value of 'upsert'", "name": "doc_as_upsert", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Script to execute to update the document.", "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "description": "Set to true to execute the script whether or not the document exists.", "name": "scripted_upsert", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Set to false to disable source retrieval. You can also specify a comma-separated\nlist of the fields you want to retrieve.", "name": "_source", "required": false, "serverDefault": "true", "type": { "kind": "instance_of", "type": { "name": "SourceConfig", "namespace": "_global.search._types" } } }, { "description": "If the document does not already exist, the contents of 'upsert' are inserted as a\nnew document. If the document exists, the 'script' is executed.", "name": "upsert", "required": false, "type": { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.bulk" } } } ], "specLocation": "_global/bulk/types.ts#L169-L205" }, { "inherits": { "type": { "name": "OperationBase", "namespace": "_global.bulk" } }, "kind": "interface", "name": { "name": "UpdateOperation", "namespace": "_global.bulk" }, "properties": [ { "description": "If `true`, the request’s actions must target an index alias.", "name": "require_alias", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "retry_on_conflict", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/bulk/types.ts#L136-L143" }, { "inherits": { "type": { "name": "OperationBase", "namespace": "_global.bulk" } }, "kind": "interface", "name": { "name": "WriteOperation", "namespace": "_global.bulk" }, "properties": [ { "description": "A map from the full name of fields to the name of dynamic templates.\nDefaults to an empty map.\nIf a name matches a dynamic template, then that template will be applied regardless of other match predicates defined in the template.\nIf a field is already defined in the mapping, then this parameter won’t be used.", "name": "dynamic_templates", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", "name": "pipeline", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, the request’s actions must target an index alias.", "name": "require_alias", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/bulk/types.ts#L109-L128" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Scroll IDs to clear.\nTo clear all scroll IDs, use `_all`.", "name": "scroll_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScrollIds", "namespace": "_types" } } } ] }, "description": "Clears the search context and results for a scrolling search.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.clear_scroll" }, "path": [ { "description": "Comma-separated list of scroll IDs to clear.\nTo clear all scroll IDs, use `_all`.", "name": "scroll_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScrollIds", "namespace": "_types" } } } ], "query": [], "specLocation": "_global/clear_scroll/ClearScrollRequest.ts#L23-L45" }, { "body": { "kind": "properties", "properties": [ { "name": "succeeded", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "num_freed", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ] }, "exceptions": [ { "body": { "kind": "properties", "properties": [ { "name": "succeeded", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "num_freed", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ] }, "statusCodes": [ 404 ] } ], "kind": "response", "name": { "name": "Response", "namespace": "_global.clear_scroll" }, "specLocation": "_global/clear_scroll/ClearScrollResponse.ts#L22-L36" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The ID of the point-in-time.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ] }, "description": "Closes a point-in-time.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.close_point_in_time" }, "path": [], "query": [], "specLocation": "_global/close_point_in_time/ClosePointInTimeRequest.ts#L23-L37" }, { "body": { "kind": "properties", "properties": [ { "name": "succeeded", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "num_freed", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ] }, "exceptions": [ { "body": { "kind": "properties", "properties": [ { "name": "succeeded", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "num_freed", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ] }, "statusCodes": [ 404 ] } ], "kind": "response", "name": { "name": "Response", "namespace": "_global.close_point_in_time" }, "specLocation": "_global/close_point_in_time/ClosePointInTimeResponse.ts#L22-L36" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Defines the search definition using the Query DSL.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ] }, "description": "Returns number of documents matching a query.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.count" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Analyzer to use for the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, wildcard and prefix queries are analyzed.\nThis parameter can only be used when the `q` query string parameter is specified.", "name": "analyze_wildcard", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The default operator for query string query: `AND` or `OR`.\nThis parameter can only be used when the `q` query string parameter is specified.", "name": "default_operator", "required": false, "type": { "kind": "instance_of", "type": { "name": "Operator", "namespace": "_types.query_dsl" } } }, { "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", "name": "df", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `true`, concrete, expanded or aliased indices are ignored when frozen.", "name": "ignore_throttled", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", "name": "lenient", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Sets the minimum `_score` value that documents must have to be included in the result.", "name": "min_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "Maximum number of documents to collect for each shard.\nIf a query reaches this limit, Elasticsearch terminates the query early.\nElasticsearch collects documents before sorting.", "name": "terminate_after", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Query in the Lucene query string syntax.", "name": "q", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_global/count/CountRequest.ts#L26-L120" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.count" }, "specLocation": "_global/count/CountResponse.ts#L23-L25" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "document", "kind": "value", "value": { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.create" } } }, "description": "Adds a JSON document to the specified data stream or index and makes it searchable.\nIf the target is an index and the document already exists, the request updates the document and increments its version.", "generics": [ { "name": "TDocument", "namespace": "_global.create" } ], "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.create" }, "path": [ { "description": "Unique identifier for the document.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Name of the data stream or index to target.\nIf the target doesn’t exist and matches the name or wildcard (`*`) pattern of an index template with a `data_stream` definition, this request creates the data stream.\nIf the target doesn’t exist and doesn’t match a data stream template, this request creates the index.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", "name": "pipeline", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", "name": "refresh", "required": false, "serverDefault": "false", "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "Period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", "name": "timeout", "required": false, "serverDefault": "1m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "Specific version type: `external`, `external_gte`.", "name": "version_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionType", "namespace": "_types" } } }, { "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } } ], "specLocation": "_global/create/CreateRequest.ts#L32-L95" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "WriteResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "_global.create" }, "specLocation": "_global/create/CreateResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Removes a JSON document from the specified index.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.delete" }, "path": [ { "description": "Unique identifier for the document.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Name of the target index.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "Only perform the operation if the document has this primary term.", "name": "if_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Only perform the operation if the document has this sequence number.", "name": "if_seq_no", "required": false, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", "name": "refresh", "required": false, "serverDefault": "false", "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "Period to wait for active shards.", "name": "timeout", "required": false, "serverDefault": "1m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "Specific version type: `external`, `external_gte`.", "name": "version_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionType", "namespace": "_types" } } }, { "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } } ], "specLocation": "_global/delete/DeleteRequest.ts#L34-L91" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "WriteResponseBase", "namespace": "_types" } } }, "exceptions": [ { "body": { "kind": "value", "value": { "items": [ { "kind": "instance_of", "type": { "name": "WriteResponseBase", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "ErrorResponseBase", "namespace": "_types" } } ], "kind": "union_of" } }, "description": "\nIf the index does exist, but the document does not,\nthe response is the same as the successful case, but with a 404.", "statusCodes": [ 404 ] } ], "kind": "response", "name": { "name": "Response", "namespace": "_global.delete" }, "specLocation": "_global/delete/DeleteResponse.ts#L22-L34" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The maximum number of documents to delete.", "name": "max_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Specifies the documents to delete using the Query DSL.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Slice the request manually using the provided slice ID and total number of slices.", "name": "slice", "required": false, "type": { "kind": "instance_of", "type": { "name": "SlicedScroll", "namespace": "_types" } } } ] }, "description": "Deletes documents that match the specified query.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.delete_by_query" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Analyzer to use for the query string.", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, wildcard and prefix queries are analyzed.", "name": "analyze_wildcard", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "What to do if delete by query hits version conflicts: `abort` or `proceed`.", "name": "conflicts", "required": false, "serverDefault": "abort", "type": { "kind": "instance_of", "type": { "name": "Conflicts", "namespace": "_types" } } }, { "description": "The default operator for query string query: `AND` or `OR`.", "name": "default_operator", "required": false, "serverDefault": "OR", "type": { "kind": "instance_of", "type": { "name": "Operator", "namespace": "_types.query_dsl" } } }, { "description": "Field to use as default where no field prefix is given in the query string.", "name": "df", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`. Valid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "Starting offset (default: 0)", "name": "from", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", "name": "lenient", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Maximum number of documents to process.\nDefaults to all documents.", "name": "max_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, Elasticsearch refreshes all shards involved in the delete by query after the request completes.", "name": "refresh", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the request cache is used for this request.\nDefaults to the index-level setting.", "name": "request_cache", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The throttle for this request in sub-requests per second.", "name": "requests_per_second", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "Query in the Lucene query string syntax.", "name": "q", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Period to retain the search context for scrolling.", "name": "scroll", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Size of the scroll request that powers the operation.", "name": "scroll_size", "required": false, "serverDefault": 1000, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Explicit timeout for each search request.\nDefaults to no timeout.", "name": "search_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The type of the search operation.\nAvailable options: `query_then_fetch`, `dfs_query_then_fetch`.", "name": "search_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchType", "namespace": "_types" } } }, { "description": "The number of slices this task should be divided into.", "name": "slices", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "Slices", "namespace": "_types" } } }, { "description": "A comma-separated list of : pairs.", "name": "sort", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Specific `tag` of the request for logging and statistical purposes.", "name": "stats", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Maximum number of documents to collect for each shard.\nIf a query reaches this limit, Elasticsearch terminates the query early.\nElasticsearch collects documents before sorting.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.", "name": "terminate_after", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Period each deletion request waits for active shards.", "name": "timeout", "required": false, "serverDefault": "1m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If `true`, returns the document version as part of a hit.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } }, { "description": "If `true`, the request blocks until the operation is complete.", "name": "wait_for_completion", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/delete_by_query/DeleteByQueryRequest.ts#L36-L209" }, { "body": { "kind": "properties", "properties": [ { "name": "batches", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "deleted", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "failures", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "BulkIndexByScrollFailure", "namespace": "_types" } } } }, { "name": "noops", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "requests_per_second", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "name": "retries", "required": false, "type": { "kind": "instance_of", "type": { "name": "Retries", "namespace": "_types" } } }, { "name": "slice_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "task", "required": false, "type": { "kind": "instance_of", "type": { "name": "TaskId", "namespace": "_types" } } }, { "name": "throttled", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "throttled_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "throttled_until", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "throttled_until_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "timed_out", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "took", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "version_conflicts", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.delete_by_query" }, "specLocation": "_global/delete_by_query/DeleteByQueryResponse.ts#L26-L45" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Changes the number of requests per second for a particular Delete By Query operation.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.delete_by_query_rethrottle" }, "path": [ { "description": "The ID for the task.", "name": "task_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "TaskId", "namespace": "_types" } } } ], "query": [ { "description": "The throttle for this request in sub-requests per second.", "name": "requests_per_second", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } ], "specLocation": "_global/delete_by_query_rethrottle/DeleteByQueryRethrottleRequest.ts#L24-L42" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "TaskListResponseBase", "namespace": "tasks._types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "_global.delete_by_query_rethrottle" }, "specLocation": "_global/delete_by_query_rethrottle/DeleteByQueryRethrottleResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes a stored script or search template.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.delete_script" }, "path": [ { "description": "Identifier for the stored script or search template.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "_global/delete_script/DeleteScriptRequest.ts#L24-L51" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "_global.delete_script" }, "specLocation": "_global/delete_script/DeleteScriptResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Checks if a document in an index exists.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.exists" }, "path": [ { "description": "Identifier of the document.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Comma-separated list of data streams, indices, and aliases.\nSupports wildcards (`*`).", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, the request is real-time as opposed to near-real-time.", "docId": "realtime", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-get.html#realtime", "name": "realtime", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, Elasticsearch refreshes all shards involved in the delete by query after the request completes.", "name": "refresh", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Target the specified primary shard.", "docId": "routing", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-get.html#get-routing", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "`true` or `false` to return the `_source` field or not, or a list of fields to return.", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfigParam", "namespace": "_global.search._types" } } }, { "description": "A comma-separated list of source fields to exclude in the response.", "name": "_source_excludes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "A comma-separated list of source fields to include in the response.", "name": "_source_includes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "List of stored fields to return as part of a hit.\nIf no fields are specified, no stored fields are included in the response.\nIf this field is specified, the `_source` parameter defaults to false.", "name": "stored_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "Specific version type: `external`, `external_gte`.", "name": "version_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionType", "namespace": "_types" } } } ], "specLocation": "_global/exists/DocumentExistsRequest.ts#L31-L99" }, { "body": { "kind": "no_body" }, "kind": "response", "name": { "name": "Response", "namespace": "_global.exists" }, "specLocation": "_global/exists/DocumentExistsResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Checks if a document's `_source` is stored.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.exists_source" }, "path": [ { "description": "Identifier of the document.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Comma-separated list of data streams, indices, and aliases.\nSupports wildcards (`*`).", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If true, the request is real-time as opposed to near-real-time.", "docId": "realtime", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-get.html#realtime", "name": "realtime", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, Elasticsearch refreshes all shards involved in the delete by query after the request completes.", "name": "refresh", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Target the specified primary shard.", "docId": "routing", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-get.html#get-routing", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "`true` or `false` to return the `_source` field or not, or a list of fields to return.", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfigParam", "namespace": "_global.search._types" } } }, { "description": "A comma-separated list of source fields to exclude in the response.", "name": "_source_excludes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "A comma-separated list of source fields to include in the response.", "name": "_source_includes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "Specific version type: `external`, `external_gte`.", "name": "version_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionType", "namespace": "_types" } } } ], "specLocation": "_global/exists_source/SourceExistsRequest.ts#L31-L93" }, { "body": { "kind": "no_body" }, "kind": "response", "name": { "name": "Response", "namespace": "_global.exists_source" }, "specLocation": "_global/exists_source/SourceExistsResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "Explanation", "namespace": "_global.explain" }, "properties": [ { "name": "description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "details", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ExplanationDetail", "namespace": "_global.explain" } } } }, { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } ], "specLocation": "_global/explain/types.ts#L22-L26" }, { "kind": "interface", "name": { "name": "ExplanationDetail", "namespace": "_global.explain" }, "properties": [ { "name": "description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "details", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ExplanationDetail", "namespace": "_global.explain" } } } }, { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } ], "specLocation": "_global/explain/types.ts#L28-L32" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Defines the search definition using the Query DSL.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ] }, "description": "Returns information about why a specific document matches (or doesn’t match) a query.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.explain" }, "path": [ { "description": "Defines the document ID.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Index names used to limit the request.\nOnly a single index name can be provided to this parameter.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "Analyzer to use for the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, wildcard and prefix queries are analyzed.", "name": "analyze_wildcard", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The default operator for query string query: `AND` or `OR`.", "name": "default_operator", "required": false, "serverDefault": "OR", "type": { "kind": "instance_of", "type": { "name": "Operator", "namespace": "_types.query_dsl" } } }, { "description": "Field to use as default where no field prefix is given in the query string.", "name": "df", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", "name": "lenient", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "True or false to return the `_source` field or not, or a list of fields to return.", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfigParam", "namespace": "_global.search._types" } } }, { "description": "A comma-separated list of source fields to exclude from the response.", "name": "_source_excludes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "A comma-separated list of source fields to include in the response.", "name": "_source_includes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "A comma-separated list of stored fields to return in the response.", "name": "stored_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Query in the Lucene query string syntax.", "name": "q", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_global/explain/ExplainRequest.ts#L26-L105" }, { "body": { "kind": "properties", "properties": [ { "name": "_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "matched", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "explanation", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExplanationDetail", "namespace": "_global.explain" } } }, { "name": "get", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.explain" } } ], "kind": "instance_of", "type": { "name": "InlineGet", "namespace": "_types" } } } ] }, "generics": [ { "name": "TDocument", "namespace": "_global.explain" } ], "kind": "response", "name": { "name": "Response", "namespace": "_global.explain" }, "specLocation": "_global/explain/ExplainResponse.ts#L23-L31" }, { "kind": "interface", "name": { "name": "FieldCapability", "namespace": "_global.field_caps" }, "properties": [ { "description": "Whether this field can be aggregated on all indices.", "name": "aggregatable", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The list of indices where this field has the same type family, or null if all indices have the same type family for the field.", "name": "indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "Merged metadata across all indices as a map of string keys to arrays of values. A value length of 1 indicates that all indices had the same value for this key, while a length of 2 or more indicates that not all indices had the same value for this key.", "name": "meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "The list of indices where this field is not aggregatable, or null if all indices have the same definition for the field.", "name": "non_aggregatable_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "The list of indices where this field is not searchable, or null if all indices have the same definition for the field.", "name": "non_searchable_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "Whether this field is indexed for search on all indices.", "name": "searchable", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Whether this field is registered as a metadata field.", "docId": "mapping-metadata", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-fields.html", "name": "metadata_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "availability": { "serverless": { "stability": "experimental" }, "stack": { "since": "8.0.0", "stability": "experimental" } }, "description": "Whether this field is used as a time series dimension.", "name": "time_series_dimension", "required": false, "since": "8.0.0", "stability": "experimental", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "availability": { "serverless": { "stability": "experimental" }, "stack": { "since": "8.0.0", "stability": "experimental" } }, "description": "Contains metric type if this fields is used as a time series\nmetrics, absent if the field is not used as metric.", "name": "time_series_metric", "required": false, "since": "8.0.0", "stability": "experimental", "type": { "kind": "instance_of", "type": { "name": "TimeSeriesMetricType", "namespace": "_types.mapping" } } }, { "availability": { "serverless": { "stability": "experimental" }, "stack": { "since": "8.0.0", "stability": "experimental" } }, "description": "If this list is present in response then some indices have the\nfield marked as a dimension and other indices, the ones in this list, do not.", "name": "non_dimension_indices", "required": false, "since": "8.0.0", "stability": "experimental", "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } }, { "availability": { "serverless": { "stability": "experimental" }, "stack": { "since": "8.0.0", "stability": "experimental" } }, "description": "The list of indices where this field is present if these indices\ndon’t have the same `time_series_metric` value for this field.", "name": "metric_conflicts_indices", "required": false, "since": "8.0.0", "stability": "experimental", "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } } ], "specLocation": "_global/field_caps/types.ts#L23-L81" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "availability": { "serverless": {}, "stack": { "since": "8.5.0" } }, "description": "List of fields to retrieve capabilities for. Wildcard (`*`) expressions are supported.", "name": "fields", "required": false, "since": "8.5.0", "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Allows to filter indices if the provided query rewrites to match_none on every shard.", "name": "index_filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.12.0" } }, "description": "Defines ad-hoc runtime fields in the request similar to the way it is done in search requests.\nThese fields exist only as part of the query and take precedence over fields defined with the same name in the index mappings.", "docId": "runtime-search-request", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/runtime-search-request.html", "name": "runtime_mappings", "required": false, "since": "7.12.0", "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } } ] }, "description": "The field capabilities API returns the information about the capabilities of fields among multiple indices.\nThe field capabilities API returns runtime fields like any other field. For example, a runtime field with a type\nof keyword is returned as any other field that belongs to the `keyword` family.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.field_caps" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this parameter or use * or _all.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If false, the request returns an error if any wildcard expression, index alias,\nor `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request\ntargeting `foo*,bar*` returns an error if an index starts with foo but no index starts with bar.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such as `open,hidden`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "Comma-separated list of fields to retrieve capabilities for. Wildcard (`*`) expressions are supported.", "name": "fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "If `true`, missing or closed indices are not included in the response.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, unmapped fields are included in the response.", "name": "include_unmapped", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.2.0" } }, "description": "An optional set of filters: can include +metadata,-metadata,-nested,-multifield,-parent", "name": "filters", "required": false, "since": "8.2.0", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.2.0" } }, "description": "Only return results for fields that have one of the types in the list", "name": "types", "required": false, "since": "8.2.0", "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "availability": { "serverless": {}, "stack": { "since": "8.13.0" } }, "description": "If false, empty fields are not included in the response.", "name": "include_empty_fields", "required": false, "serverDefault": true, "since": "8.13.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/field_caps/FieldCapabilitiesRequest.ts#L25-L106" }, { "body": { "kind": "properties", "properties": [ { "name": "indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "name": "fields", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "FieldCapability", "namespace": "_global.field_caps" } } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.field_caps" }, "specLocation": "_global/field_caps/FieldCapabilitiesResponse.ts#L24-L35" }, { "generics": [ { "name": "TDocument", "namespace": "_global.get" } ], "kind": "interface", "name": { "name": "GetResult", "namespace": "_global.get" }, "properties": [ { "name": "_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "found", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "_routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "_seq_no", "required": false, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.get" } } }, { "name": "_version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } } ], "specLocation": "_global/get/types.ts#L25-L35" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns a document.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.get" }, "path": [ { "description": "Unique identifier of the document.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Name of the index that contains the document.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "availability": { "stack": { "featureFlag": "es.index_mode_feature_flag_registered", "since": "8.4.0", "visibility": "feature_flag" } }, "description": "Should this request force synthetic _source?\nUse this to test if the mapping supports synthetic _source and to get a sense of the worst case performance.\nFetches with this enabled will be slower the enabling synthetic source natively in the index.", "name": "force_synthetic_source", "required": false, "since": "8.4.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies the node or shard the operation should be performed on. Random by default.", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, the request is real-time as opposed to near-real-time.", "docId": "realtime", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-get.html#realtime", "name": "realtime", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, Elasticsearch refreshes the affected shards to make this operation visible to search. If false, do nothing with refreshes.", "name": "refresh", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Target the specified primary shard.", "docId": "routing", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-get.html#get-routing", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "True or false to return the _source field or not, or a list of fields to return.", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfigParam", "namespace": "_global.search._types" } } }, { "description": "A comma-separated list of source fields to exclude in the response.", "name": "_source_excludes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "A comma-separated list of source fields to include in the response.", "name": "_source_includes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "List of stored fields to return as part of a hit.\nIf no fields are specified, no stored fields are included in the response.\nIf this field is specified, the `_source` parameter defaults to false.", "name": "stored_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "Specific version type: internal, external, external_gte.", "name": "version_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionType", "namespace": "_types" } } } ], "specLocation": "_global/get/GetRequest.ts#L31-L98" }, { "body": { "kind": "value", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.get" } } ], "kind": "instance_of", "type": { "name": "GetResult", "namespace": "_global.get" } } }, "exceptions": [ { "body": { "kind": "value", "value": { "items": [ { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.get" } } ], "kind": "instance_of", "type": { "name": "GetResult", "namespace": "_global.get" } }, { "kind": "instance_of", "type": { "name": "ErrorResponseBase", "namespace": "_types" } } ], "kind": "union_of" } }, "statusCodes": [ 404 ] } ], "generics": [ { "name": "TDocument", "namespace": "_global.get" } ], "kind": "response", "name": { "name": "Response", "namespace": "_global.get" }, "specLocation": "_global/get/GetResponse.ts#L23-L34" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves a stored script or search template.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.get_script" }, "path": [ { "description": "Identifier for the stored script or search template.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specify timeout for connection to master", "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "_global/get_script/GetScriptRequest.ts#L24-L41" }, { "body": { "kind": "properties", "properties": [ { "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "found", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "StoredScript", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.get_script" }, "specLocation": "_global/get_script/GetScriptResponse.ts#L23-L29" }, { "kind": "interface", "name": { "name": "Context", "namespace": "_global.get_script_context" }, "properties": [ { "name": "methods", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ContextMethod", "namespace": "_global.get_script_context" } } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "specLocation": "_global/get_script_context/types.ts#L22-L25" }, { "kind": "interface", "name": { "name": "ContextMethod", "namespace": "_global.get_script_context" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "return_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "params", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ContextMethodParam", "namespace": "_global.get_script_context" } } } } ], "specLocation": "_global/get_script_context/types.ts#L27-L31" }, { "kind": "interface", "name": { "name": "ContextMethodParam", "namespace": "_global.get_script_context" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_global/get_script_context/types.ts#L33-L36" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns all script contexts.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.get_script_context" }, "path": [], "query": [], "specLocation": "_global/get_script_context/GetScriptContextRequest.ts#L22-L26" }, { "body": { "kind": "properties", "properties": [ { "name": "contexts", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Context", "namespace": "_global.get_script_context" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.get_script_context" }, "specLocation": "_global/get_script_context/GetScriptContextResponse.ts#L22-L26" }, { "kind": "interface", "name": { "name": "LanguageContext", "namespace": "_global.get_script_languages" }, "properties": [ { "name": "contexts", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "language", "required": true, "type": { "kind": "instance_of", "type": { "name": "ScriptLanguage", "namespace": "_types" } } } ], "specLocation": "_global/get_script_languages/types.ts#L22-L25" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns available script types, languages and contexts", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.get_script_languages" }, "path": [], "query": [], "specLocation": "_global/get_script_languages/GetScriptLanguagesRequest.ts#L22-L26" }, { "body": { "kind": "properties", "properties": [ { "name": "language_contexts", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "LanguageContext", "namespace": "_global.get_script_languages" } } } }, { "name": "types_allowed", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.get_script_languages" }, "specLocation": "_global/get_script_languages/GetScriptLanguagesResponse.ts#L22-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns the source of a document.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.get_source" }, "path": [ { "description": "Unique identifier of the document.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Name of the index that contains the document.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "Specifies the node or shard the operation should be performed on. Random by default.", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Boolean) If true, the request is real-time as opposed to near-real-time.", "docId": "realtiime", "name": "realtime", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, Elasticsearch refreshes the affected shards to make this operation visible to search. If false, do nothing with refreshes.", "name": "refresh", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Target the specified primary shard.", "docId": "routing", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-get.html#get-routing", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "True or false to return the _source field or not, or a list of fields to return.", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfigParam", "namespace": "_global.search._types" } } }, { "description": "A comma-separated list of source fields to exclude in the response.", "name": "_source_excludes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "A comma-separated list of source fields to include in the response.", "name": "_source_includes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "name": "stored_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "Specific version type: internal, external, external_gte.", "name": "version_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionType", "namespace": "_types" } } } ], "specLocation": "_global/get_source/SourceRequest.ts#L31-L86" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.get_source" } } }, "generics": [ { "name": "TDocument", "namespace": "_global.get_source" } ], "kind": "response", "name": { "name": "Response", "namespace": "_global.get_source" }, "specLocation": "_global/get_source/SourceResponse.ts#L20-L23" }, { "kind": "interface", "name": { "name": "BaseIndicator", "namespace": "_global.health_report" }, "properties": [ { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndicatorHealthStatus", "namespace": "_global.health_report" } } }, { "name": "symptom", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "impacts", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Impact", "namespace": "_global.health_report" } } } }, { "name": "diagnosis", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Diagnosis", "namespace": "_global.health_report" } } } } ], "specLocation": "_global/health_report/types.ts#L42-L47" }, { "kind": "interface", "name": { "name": "Diagnosis", "namespace": "_global.health_report" }, "properties": [ { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "action", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "affected_resources", "required": true, "type": { "kind": "instance_of", "type": { "name": "DiagnosisAffectedResources", "namespace": "_global.health_report" } } }, { "name": "cause", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "help_url", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_global/health_report/types.ts#L49-L55" }, { "kind": "interface", "name": { "name": "DiagnosisAffectedResources", "namespace": "_global.health_report" }, "properties": [ { "name": "indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "name": "nodes", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndicatorNode", "namespace": "_global.health_report" } } } }, { "name": "slm_policies", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "feature_states", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "snapshot_repositories", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "_global/health_report/types.ts#L57-L63" }, { "description": "DISK", "inherits": { "type": { "name": "BaseIndicator", "namespace": "_global.health_report" } }, "kind": "interface", "name": { "name": "DiskIndicator", "namespace": "_global.health_report" }, "properties": [ { "name": "details", "required": false, "type": { "kind": "instance_of", "type": { "name": "DiskIndicatorDetails", "namespace": "_global.health_report" } } } ], "specLocation": "_global/health_report/types.ts#L121-L125" }, { "kind": "interface", "name": { "name": "DiskIndicatorDetails", "namespace": "_global.health_report" }, "properties": [ { "name": "indices_with_readonly_block", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "nodes_with_enough_disk_space", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "nodes_over_high_watermark", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "nodes_over_flood_stage_watermark", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "nodes_with_unknown_disk_status", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_global/health_report/types.ts#L126-L132" }, { "description": "ILM", "inherits": { "type": { "name": "BaseIndicator", "namespace": "_global.health_report" } }, "kind": "interface", "name": { "name": "IlmIndicator", "namespace": "_global.health_report" }, "properties": [ { "name": "details", "required": false, "type": { "kind": "instance_of", "type": { "name": "IlmIndicatorDetails", "namespace": "_global.health_report" } } } ], "specLocation": "_global/health_report/types.ts#L145-L149" }, { "kind": "interface", "name": { "name": "IlmIndicatorDetails", "namespace": "_global.health_report" }, "properties": [ { "name": "ilm_status", "required": true, "type": { "kind": "instance_of", "type": { "name": "LifecycleOperationMode", "namespace": "_types" } } }, { "name": "policies", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_global/health_report/types.ts#L150-L153" }, { "kind": "interface", "name": { "name": "Impact", "namespace": "_global.health_report" }, "properties": [ { "name": "description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "impact_areas", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ImpactArea", "namespace": "_global.health_report" } } } }, { "name": "severity", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/health_report/types.ts#L65-L70" }, { "kind": "enum", "members": [ { "name": "search" }, { "name": "ingest" }, { "name": "backup" }, { "name": "deployment_management" } ], "name": { "name": "ImpactArea", "namespace": "_global.health_report" }, "specLocation": "_global/health_report/types.ts#L72-L77" }, { "kind": "enum", "members": [ { "name": "green" }, { "name": "yellow" }, { "name": "red" }, { "name": "unknown" } ], "name": { "name": "IndicatorHealthStatus", "namespace": "_global.health_report" }, "specLocation": "_global/health_report/types.ts#L25-L30" }, { "kind": "interface", "name": { "name": "IndicatorNode", "namespace": "_global.health_report" }, "properties": [ { "name": "name", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "node_id", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } } ], "specLocation": "_global/health_report/types.ts#L90-L93" }, { "kind": "interface", "name": { "name": "Indicators", "namespace": "_global.health_report" }, "properties": [ { "name": "master_is_stable", "required": false, "type": { "kind": "instance_of", "type": { "name": "MasterIsStableIndicator", "namespace": "_global.health_report" } } }, { "name": "shards_availability", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardsAvailabilityIndicator", "namespace": "_global.health_report" } } }, { "name": "disk", "required": false, "type": { "kind": "instance_of", "type": { "name": "DiskIndicator", "namespace": "_global.health_report" } } }, { "name": "repository_integrity", "required": false, "type": { "kind": "instance_of", "type": { "name": "RepositoryIntegrityIndicator", "namespace": "_global.health_report" } } }, { "name": "ilm", "required": false, "type": { "kind": "instance_of", "type": { "name": "IlmIndicator", "namespace": "_global.health_report" } } }, { "name": "slm", "required": false, "type": { "kind": "instance_of", "type": { "name": "SlmIndicator", "namespace": "_global.health_report" } } }, { "name": "shards_capacity", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardsCapacityIndicator", "namespace": "_global.health_report" } } } ], "specLocation": "_global/health_report/types.ts#L32-L40" }, { "description": "MASTER_IS_STABLE", "inherits": { "type": { "name": "BaseIndicator", "namespace": "_global.health_report" } }, "kind": "interface", "name": { "name": "MasterIsStableIndicator", "namespace": "_global.health_report" }, "properties": [ { "name": "details", "required": false, "type": { "kind": "instance_of", "type": { "name": "MasterIsStableIndicatorDetails", "namespace": "_global.health_report" } } } ], "specLocation": "_global/health_report/types.ts#L79-L83" }, { "kind": "interface", "name": { "name": "MasterIsStableIndicatorClusterFormationNode", "namespace": "_global.health_report" }, "properties": [ { "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "node_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "cluster_formation_message", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_global/health_report/types.ts#L98-L102" }, { "kind": "interface", "name": { "name": "MasterIsStableIndicatorDetails", "namespace": "_global.health_report" }, "properties": [ { "name": "current_master", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndicatorNode", "namespace": "_global.health_report" } } }, { "name": "recent_masters", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndicatorNode", "namespace": "_global.health_report" } } } }, { "name": "exception_fetching_history", "required": false, "type": { "kind": "instance_of", "type": { "name": "MasterIsStableIndicatorExceptionFetchingHistory", "namespace": "_global.health_report" } } }, { "name": "cluster_formation", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "MasterIsStableIndicatorClusterFormationNode", "namespace": "_global.health_report" } } } } ], "specLocation": "_global/health_report/types.ts#L84-L89" }, { "kind": "interface", "name": { "name": "MasterIsStableIndicatorExceptionFetchingHistory", "namespace": "_global.health_report" }, "properties": [ { "name": "message", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "stack_trace", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_global/health_report/types.ts#L94-L97" }, { "description": "REPOSITORY_INTEGRITY", "inherits": { "type": { "name": "BaseIndicator", "namespace": "_global.health_report" } }, "kind": "interface", "name": { "name": "RepositoryIntegrityIndicator", "namespace": "_global.health_report" }, "properties": [ { "name": "details", "required": false, "type": { "kind": "instance_of", "type": { "name": "RepositoryIntegrityIndicatorDetails", "namespace": "_global.health_report" } } } ], "specLocation": "_global/health_report/types.ts#L134-L138" }, { "kind": "interface", "name": { "name": "RepositoryIntegrityIndicatorDetails", "namespace": "_global.health_report" }, "properties": [ { "name": "total_repositories", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "corrupted_repositories", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "corrupted", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "_global/health_report/types.ts#L139-L143" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns the health of the cluster.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.health_report" }, "path": [ { "description": "A feature of the cluster, as returned by the top-level health report API.", "name": "feature", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } } ], "query": [ { "description": "Explicit operation timeout.", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Opt-in for more information about the health of the system.", "name": "verbose", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Limit the number of affected resources the health report API returns.", "name": "size", "required": false, "serverDefault": 1000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/health_report/Request.ts#L24-L52" }, { "body": { "kind": "properties", "properties": [ { "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "indicators", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indicators", "namespace": "_global.health_report" } } }, { "name": "status", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndicatorHealthStatus", "namespace": "_global.health_report" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.health_report" }, "specLocation": "_global/health_report/Response.ts#L22-L28" }, { "description": "SHARDS_AVAILABILITY", "inherits": { "type": { "name": "BaseIndicator", "namespace": "_global.health_report" } }, "kind": "interface", "name": { "name": "ShardsAvailabilityIndicator", "namespace": "_global.health_report" }, "properties": [ { "name": "details", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardsAvailabilityIndicatorDetails", "namespace": "_global.health_report" } } } ], "specLocation": "_global/health_report/types.ts#L104-L108" }, { "kind": "interface", "name": { "name": "ShardsAvailabilityIndicatorDetails", "namespace": "_global.health_report" }, "properties": [ { "name": "creating_primaries", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "initializing_primaries", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "initializing_replicas", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "restarting_primaries", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "restarting_replicas", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "started_primaries", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "started_replicas", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "unassigned_primaries", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "unassigned_replicas", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_global/health_report/types.ts#L109-L119" }, { "description": "SHARDS_CAPACITY", "inherits": { "type": { "name": "BaseIndicator", "namespace": "_global.health_report" } }, "kind": "interface", "name": { "name": "ShardsCapacityIndicator", "namespace": "_global.health_report" }, "properties": [ { "name": "details", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardsCapacityIndicatorDetails", "namespace": "_global.health_report" } } } ], "specLocation": "_global/health_report/types.ts#L171-L175" }, { "kind": "interface", "name": { "name": "ShardsCapacityIndicatorDetails", "namespace": "_global.health_report" }, "properties": [ { "name": "data", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardsCapacityIndicatorTierDetail", "namespace": "_global.health_report" } } }, { "name": "frozen", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardsCapacityIndicatorTierDetail", "namespace": "_global.health_report" } } } ], "specLocation": "_global/health_report/types.ts#L177-L180" }, { "kind": "interface", "name": { "name": "ShardsCapacityIndicatorTierDetail", "namespace": "_global.health_report" }, "properties": [ { "name": "max_shards_in_cluster", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "current_used_shards", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/health_report/types.ts#L182-L185" }, { "description": "SLM", "inherits": { "type": { "name": "BaseIndicator", "namespace": "_global.health_report" } }, "kind": "interface", "name": { "name": "SlmIndicator", "namespace": "_global.health_report" }, "properties": [ { "name": "details", "required": false, "type": { "kind": "instance_of", "type": { "name": "SlmIndicatorDetails", "namespace": "_global.health_report" } } } ], "specLocation": "_global/health_report/types.ts#L155-L159" }, { "kind": "interface", "name": { "name": "SlmIndicatorDetails", "namespace": "_global.health_report" }, "properties": [ { "name": "slm_status", "required": true, "type": { "kind": "instance_of", "type": { "name": "LifecycleOperationMode", "namespace": "_types" } } }, { "name": "policies", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "unhealthy_policies", "required": true, "type": { "kind": "instance_of", "type": { "name": "SlmIndicatorUnhealthyPolicies", "namespace": "_global.health_report" } } } ], "specLocation": "_global/health_report/types.ts#L160-L164" }, { "kind": "interface", "name": { "name": "SlmIndicatorUnhealthyPolicies", "namespace": "_global.health_report" }, "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "invocations_since_last_success", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } } ], "specLocation": "_global/health_report/types.ts#L166-L169" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "document", "kind": "value", "value": { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.index" } } }, "description": "Adds a JSON document to the specified data stream or index and makes it searchable.\nIf the target is an index and the document already exists, the request updates the document and increments its version.", "generics": [ { "name": "TDocument", "namespace": "_global.index" } ], "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.index" }, "path": [ { "description": "Unique identifier for the document.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Name of the data stream or index to target.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "Only perform the operation if the document has this primary term.", "name": "if_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Only perform the operation if the document has this sequence number.", "name": "if_seq_no", "required": false, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "description": "Set to create to only index the document if it does not already exist (put if absent).\nIf a document with the specified `_id` already exists, the indexing operation will fail.\nSame as using the `/_create` endpoint.\nValid values: `index`, `create`.\nIf document id is specified, it defaults to `index`.\nOtherwise, it defaults to `create`.", "name": "op_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "OpType", "namespace": "_types" } } }, { "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", "name": "pipeline", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes.\nValid values: `true`, `false`, `wait_for`.", "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "Period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.", "name": "timeout", "required": false, "serverDefault": "1m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Explicit version number for concurrency control.\nThe specified version must match the current version of the document for the request to succeed.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "Specific version type: `external`, `external_gte`.", "name": "version_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionType", "namespace": "_types" } } }, { "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } }, { "description": "If `true`, the destination must be an index alias.", "name": "require_alias", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/index/IndexRequest.ts#L35-L117" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "WriteResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "_global.index" }, "specLocation": "_global/index/IndexResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns basic information about the cluster.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.info" }, "path": [], "query": [], "specLocation": "_global/info/RootNodeInfoRequest.ts#L22-L27" }, { "body": { "kind": "properties", "properties": [ { "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "cluster_uuid", "required": true, "type": { "kind": "instance_of", "type": { "name": "Uuid", "namespace": "_types" } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "tagline", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "ElasticsearchVersionInfo", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.info" }, "specLocation": "_global/info/RootNodeInfoResponse.ts#L23-L31" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Indicates which source fields are returned for matching documents. These\nfields are returned in the hits._source property of the search response.", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfig", "namespace": "_global.search._types" } } }, { "description": "The request returns doc values for field names matching these patterns\nin the hits.fields property of the response. Accepts wildcard (*) patterns.", "name": "docvalue_fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldAndFormat", "namespace": "_types.query_dsl" } } } }, { "description": "List of stored fields to return as part of a hit. If no fields are specified,\nno stored fields are included in the response. If this field is specified, the _source\nparameter defaults to false. You can pass _source: true to return both source fields\nand stored fields in the search response.", "name": "stored_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "The request returns values for field names matching these patterns\nin the hits.fields property of the response. Accepts wildcard (*) patterns.", "name": "fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.2.0" } }, "description": "Query to filter the documents that can match. The kNN search will return the top\n`k` documents that also match this filter. The value can be a single query or a\nlist of queries. If `filter` isn't provided, all documents are allowed to match.", "name": "filter", "required": false, "since": "8.2.0", "type": { "items": [ { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ], "kind": "union_of" } }, { "description": "kNN query to execute", "name": "knn", "required": true, "type": { "kind": "instance_of", "type": { "name": "Query", "namespace": "_global.knn_search._types" } } } ] }, "deprecation": { "description": "", "version": "8.4.0" }, "description": "Performs a kNN search.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.knn_search" }, "path": [ { "description": "A comma-separated list of index names to search;\nuse `_all` or to perform the operation on all indices", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "A comma-separated list of specific routing values", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } } ], "specLocation": "_global/knn_search/KnnSearchRequest.ts#L27-L80" }, { "body": { "kind": "properties", "properties": [ { "description": "Milliseconds it took Elasticsearch to execute the request.", "name": "took", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "If true, the request timed out before completion;\nreturned results may be partial or empty.", "name": "timed_out", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Contains a count of shards used for the request.", "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } }, { "description": "Contains returned documents and metadata.", "name": "hits", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.knn_search" } } ], "kind": "instance_of", "type": { "name": "HitsMetadata", "namespace": "_global.search._types" } } }, { "description": "Contains field values for the documents. These fields\nmust be specified in the request using the `fields` parameter.", "name": "fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "Highest returned document score. This value is null for requests\nthat do not sort by score.", "name": "max_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ] }, "generics": [ { "name": "TDocument", "namespace": "_global.knn_search" } ], "kind": "response", "name": { "name": "Response", "namespace": "_global.knn_search" }, "specLocation": "_global/knn_search/KnnSearchResponse.ts#L26-L54" }, { "kind": "interface", "name": { "name": "Query", "namespace": "_global.knn_search._types" }, "properties": [ { "description": "The name of the vector field to search against", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The query vector", "name": "query_vector", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryVector", "namespace": "_types" } } }, { "description": "The final number of nearest neighbors to return as top hits", "name": "k", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The number of nearest neighbor candidates to consider per shard", "name": "num_candidates", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_global/knn_search/_types/Knn.ts#L24-L33" }, { "kind": "interface", "name": { "name": "MultiGetError", "namespace": "_global.mget" }, "properties": [ { "name": "error", "required": true, "type": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } }, { "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "specLocation": "_global/mget/types.ts#L62-L66" }, { "kind": "interface", "name": { "name": "Operation", "namespace": "_global.mget" }, "properties": [ { "description": "The unique document ID.", "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The index that contains the document.", "name": "_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "The key for the primary shard the document resides on. Required if routing is used during indexing.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "If `false`, excludes all _source fields.", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfig", "namespace": "_global.search._types" } } }, { "description": "The stored fields you want to retrieve.", "name": "stored_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "version_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionType", "namespace": "_types" } } } ], "specLocation": "_global/mget/types.ts#L32-L55" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The documents you want to retrieve. Required if no index is specified in the request URI.", "name": "docs", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Operation", "namespace": "_global.mget" } } } }, { "description": "The IDs of the documents you want to retrieve. Allowed when the index is specified in the request URI.", "name": "ids", "required": false, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } } ] }, "description": "Allows to get multiple documents in one request.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.mget" }, "path": [ { "description": "Name of the index to retrieve documents from when `ids` are specified, or when a document in the `docs` array does not specify an index.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "availability": { "stack": { "featureFlag": "es.index_mode_feature_flag_registered", "since": "8.4.0", "visibility": "feature_flag" } }, "description": "Should this request force synthetic _source?\nUse this to test if the mapping supports synthetic _source and to get a sense of the worst case performance.\nFetches with this enabled will be slower the enabling synthetic source natively in the index.", "name": "force_synthetic_source", "required": false, "since": "8.4.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies the node or shard the operation should be performed on. Random by default.", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, the request is real-time as opposed to near-real-time.", "docId": "realtime", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-get.html#realtime", "name": "realtime", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the request refreshes relevant shards before retrieving documents.", "name": "refresh", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "True or false to return the `_source` field or not, or a list of fields to return.", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfigParam", "namespace": "_global.search._types" } } }, { "description": "A comma-separated list of source fields to exclude from the response.\nYou can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.", "docId": "mapping-source-field", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-source-field.html", "name": "_source_excludes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "A comma-separated list of source fields to include in the response.\nIf this parameter is specified, only these source fields are returned. You can exclude fields from this subset using the `_source_excludes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", "docId": "mapping-source-field", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-source-field.html", "name": "_source_includes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "If `true`, retrieves the document fields stored in the index rather than the document `_source`.", "name": "stored_fields", "required": false, "serverDefault": "false", "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } } ], "specLocation": "_global/mget/MultiGetRequest.ts#L25-L98" }, { "body": { "kind": "properties", "properties": [ { "name": "docs", "required": true, "type": { "kind": "array_of", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.mget" } } ], "kind": "instance_of", "type": { "name": "ResponseItem", "namespace": "_global.mget" } } } } ] }, "generics": [ { "name": "TDocument", "namespace": "_global.mget" } ], "kind": "response", "name": { "name": "Response", "namespace": "_global.mget" }, "specLocation": "_global/mget/MultiGetResponse.ts#L22-L26" }, { "codegenNames": [ "result", "failure" ], "generics": [ { "name": "TDocument", "namespace": "_global.mget" } ], "kind": "type_alias", "name": { "name": "ResponseItem", "namespace": "_global.mget" }, "specLocation": "_global/mget/types.ts#L57-L60", "type": { "items": [ { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.mget" } } ], "kind": "instance_of", "type": { "name": "GetResult", "namespace": "_global.get" } }, { "kind": "instance_of", "type": { "name": "MultiGetError", "namespace": "_global.mget" } } ], "kind": "union_of" } }, { "generics": [ { "name": "TDocument", "namespace": "_global.msearch" } ], "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.msearch" } } ], "type": { "name": "ResponseBody", "namespace": "_global.search" } }, "kind": "interface", "name": { "name": "MultiSearchItem", "namespace": "_global.msearch" }, "properties": [ { "name": "status", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/msearch/types.ts#L213-L216" }, { "generics": [ { "name": "TDocument", "namespace": "_global.msearch" } ], "kind": "interface", "name": { "name": "MultiSearchResult", "namespace": "_global.msearch" }, "properties": [ { "name": "took", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "responses", "required": true, "type": { "kind": "array_of", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.msearch" } } ], "kind": "instance_of", "type": { "name": "ResponseItem", "namespace": "_global.msearch" } } } } ], "specLocation": "_global/msearch/types.ts#L203-L206" }, { "kind": "interface", "name": { "name": "MultisearchBody", "namespace": "_global.msearch" }, "properties": [ { "aliases": [ "aggs" ], "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AggregationContainer", "namespace": "_types.aggregations" } } } }, { "name": "collapse", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldCollapse", "namespace": "_global.search._types" } } }, { "description": "Defines the search definition using the Query DSL.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "If true, returns detailed information about score computation as part of a hit.", "name": "explain", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Configuration of search extensions defined by Elasticsearch plugins.", "name": "ext", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "List of stored fields to return as part of a hit. If no fields are specified,\nno stored fields are included in the response. If this field is specified, the _source\nparameter defaults to false. You can pass _source: true to return both source fields\nand stored fields in the search response.", "name": "stored_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", "name": "docvalue_fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldAndFormat", "namespace": "_types.query_dsl" } } } }, { "availability": { "serverless": {}, "stack": { "since": "8.4.0" } }, "description": "Defines the approximate kNN search to run.", "name": "knn", "required": false, "since": "8.4.0", "type": { "items": [ { "kind": "instance_of", "type": { "name": "KnnSearch", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "KnnSearch", "namespace": "_types" } } } ], "kind": "union_of" } }, { "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "highlight", "required": false, "type": { "kind": "instance_of", "type": { "name": "Highlight", "namespace": "_global.search._types" } } }, { "description": "Boosts the _score of documents from specified indices.", "name": "indices_boost", "required": false, "type": { "kind": "array_of", "value": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } } }, { "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", "name": "min_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "post_filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "name": "profile", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "rescore", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "Rescore", "namespace": "_global.search._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Rescore", "namespace": "_global.search._types" } } } ], "kind": "union_of" } }, { "description": "Retrieve a script evaluation (based on different fields) for each hit.", "name": "script_fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ScriptField", "namespace": "_types" } } } }, { "name": "search_after", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortResults", "namespace": "_types" } } }, { "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", "name": "size", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "docId": "sort-search-results", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/sort-search-results.html", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "Sort", "namespace": "_types" } } }, { "description": "Indicates which source fields are returned for matching documents. These\nfields are returned in the hits._source property of the search response.", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfig", "namespace": "_global.search._types" } } }, { "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", "name": "fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldAndFormat", "namespace": "_types.query_dsl" } } } }, { "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", "name": "terminate_after", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", "name": "stats", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Specifies the period of time to wait for a response from each shard. If no response\nis received before the timeout expires, the request fails and returns an error.\nDefaults to no timeout.", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If true, calculate and return document scores, even if the scores are not used for sorting.", "name": "track_scores", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Number of hits matching the query to count accurately. If true, the exact\nnumber of hits is returned at the cost of some performance. If false, the\nresponse does not include the total number of hits matching the query.\nDefaults to 10,000 hits.", "name": "track_total_hits", "required": false, "type": { "kind": "instance_of", "type": { "name": "TrackHits", "namespace": "_global.search._types" } } }, { "description": "If true, returns document version as part of a hit.", "name": "version", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Defines one or more runtime fields in the search request. These fields take\nprecedence over mapped fields with the same name.", "name": "runtime_mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } }, { "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", "name": "seq_no_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Limits the search to a point in time (PIT). If you provide a PIT, you\ncannot specify an in the request path.", "name": "pit", "required": false, "type": { "kind": "instance_of", "type": { "name": "PointInTimeReference", "namespace": "_global.search._types" } } }, { "name": "suggest", "required": false, "type": { "kind": "instance_of", "type": { "name": "Suggester", "namespace": "_global.search._types" } } } ], "specLocation": "_global/msearch/types.ts#L70-L201" }, { "description": "Contains parameters used to limit or change the subsequent search body request.", "kind": "interface", "name": { "name": "MultisearchHeader", "namespace": "_global.msearch" }, "properties": [ { "name": "allow_no_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "name": "ignore_unavailable", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "request_cache", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "name": "search_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchType", "namespace": "_types" } } }, { "name": "ccs_minimize_roundtrips", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "allow_partial_search_results", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "ignore_throttled", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/msearch/types.ts#L52-L67" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "searches", "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RequestItem", "namespace": "_global.msearch" } } } }, "description": "Allows to execute several search operations in one request.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.msearch" }, "path": [ { "description": "Comma-separated list of data streams, indices, and index aliases to search.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", "name": "allow_no_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, network roundtrips between the coordinating node and remote clusters are minimized for cross-cluster search requests.", "docId": "ccs-network-delays", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/modules-cross-cluster-search.html#ccs-network-delays", "name": "ccs_minimize_roundtrips", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", "name": "ignore_throttled", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, missing or closed indices are not included in the response.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Maximum number of concurrent searches the multi search API can execute.", "name": "max_concurrent_searches", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Maximum number of concurrent shard requests that each sub-search request executes per node.", "name": "max_concurrent_shard_requests", "required": false, "serverDefault": 5, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method i.e., if date filters are mandatory to match but the shard bounds and the query are disjoint.", "name": "pre_filter_shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "If true, hits.total are returned as an integer in the response. Defaults to false, which returns an object.", "name": "rest_total_hits_as_int", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Custom routing value used to route search operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "Indicates whether global term and document frequencies should be used when scoring returned documents.", "name": "search_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchType", "namespace": "_types" } } }, { "description": "Specifies whether aggregation and suggester names should be prefixed by their respective types in the response.", "name": "typed_keys", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/msearch/MultiSearchRequest.ts#L25-L96" }, { "codegenNames": [ "header", "body" ], "kind": "type_alias", "name": { "name": "RequestItem", "namespace": "_global.msearch" }, "specLocation": "_global/msearch/types.ts#L47-L50", "type": { "items": [ { "kind": "instance_of", "type": { "name": "MultisearchHeader", "namespace": "_global.msearch" } }, { "kind": "instance_of", "type": { "name": "MultisearchBody", "namespace": "_global.msearch" } } ], "kind": "union_of" } }, { "body": { "kind": "value", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.msearch" } } ], "kind": "instance_of", "type": { "name": "MultiSearchResult", "namespace": "_global.msearch" } } }, "generics": [ { "name": "TDocument", "namespace": "_global.msearch" } ], "kind": "response", "name": { "name": "Response", "namespace": "_global.msearch" }, "specLocation": "_global/msearch/MultiSearchResponse.ts#L25-L27" }, { "codegenNames": [ "result", "failure" ], "generics": [ { "name": "TDocument", "namespace": "_global.msearch" } ], "kind": "type_alias", "name": { "name": "ResponseItem", "namespace": "_global.msearch" }, "specLocation": "_global/msearch/types.ts#L208-L211", "type": { "items": [ { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.msearch" } } ], "kind": "instance_of", "type": { "name": "MultiSearchItem", "namespace": "_global.msearch" } }, { "kind": "instance_of", "type": { "name": "ErrorResponseBase", "namespace": "_types" } } ], "kind": "union_of" } }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "search_templates", "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RequestItem", "namespace": "_global.msearch_template" } } } }, "description": "Runs multiple templated searches with a single request.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.msearch_template" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `true`, network round-trips are minimized for cross-cluster search requests.", "name": "ccs_minimize_roundtrips", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Maximum number of concurrent searches the API can run.", "name": "max_concurrent_searches", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The type of the search operation.\nAvailable options: `query_then_fetch`, `dfs_query_then_fetch`.", "name": "search_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchType", "namespace": "_types" } } }, { "description": "If `true`, the response returns `hits.total` as an integer.\nIf `false`, it returns `hits.total` as an object.", "name": "rest_total_hits_as_int", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the response prefixes aggregation and suggester names with their respective types.", "name": "typed_keys", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/msearch_template/MultiSearchTemplateRequest.ts#L25-L70" }, { "codegenNames": [ "header", "body" ], "kind": "type_alias", "name": { "name": "RequestItem", "namespace": "_global.msearch_template" }, "specLocation": "_global/msearch_template/types.ts#L25-L26", "type": { "items": [ { "kind": "instance_of", "type": { "name": "MultisearchHeader", "namespace": "_global.msearch" } }, { "kind": "instance_of", "type": { "name": "TemplateConfig", "namespace": "_global.msearch_template" } } ], "kind": "union_of" } }, { "body": { "kind": "value", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.msearch_template" } } ], "kind": "instance_of", "type": { "name": "MultiSearchResult", "namespace": "_global.msearch" } } }, "generics": [ { "name": "TDocument", "namespace": "_global.msearch_template" } ], "kind": "response", "name": { "name": "Response", "namespace": "_global.msearch_template" }, "specLocation": "_global/msearch_template/MultiSearchTemplateResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "TemplateConfig", "namespace": "_global.msearch_template" }, "properties": [ { "description": "If `true`, returns detailed information about score calculation as part of each hit.", "name": "explain", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "ID of the search template to use. If no source is specified,\nthis parameter is required.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "If `true`, the query execution is profiled.", "name": "profile", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required.", "name": "source", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_global/msearch_template/types.ts#L28-L54" }, { "kind": "interface", "name": { "name": "Operation", "namespace": "_global.mtermvectors" }, "properties": [ { "description": "The ID of the document.", "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The index of the document.", "name": "_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "An artificial document (a document not present in the index) for which you want to retrieve term vectors.", "name": "doc", "required": false, "type": { "kind": "user_defined_value" } }, { "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.\nUsed as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.", "name": "fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", "name": "field_statistics", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Filter terms based on their tf-idf scores.", "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "Filter", "namespace": "_global.termvectors" } } }, { "description": "If `true`, the response includes term offsets.", "name": "offsets", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the response includes term payloads.", "name": "payloads", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the response includes term positions.", "name": "positions", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "If true, the response includes term frequency and document frequency.", "name": "term_statistics", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, returns the document version as part of a hit.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "Specific version type.", "name": "version_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionType", "namespace": "_types" } } } ], "specLocation": "_global/mtermvectors/types.ts#L35-L94" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Array of existing or artificial documents.", "name": "docs", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Operation", "namespace": "_global.mtermvectors" } } } }, { "description": "Simplified syntax to specify documents by their ID if they're in the same index.", "name": "ids", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } } ] }, "description": "Returns multiple termvectors in one request.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.mtermvectors" }, "path": [ { "description": "Name of the index that contains the documents.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "A comma-separated list of documents ids. You must define ids as parameter or set \"ids\" or \"docs\" in the request body", "name": "ids", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } }, { "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.\nUsed as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.", "name": "fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", "name": "field_statistics", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the response includes term offsets.", "name": "offsets", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the response includes term payloads.", "name": "payloads", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the response includes term positions.", "name": "positions", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If true, the request is real-time as opposed to near-real-time.", "docId": "realtime", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-get.html#realtime", "name": "realtime", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "If true, the response includes term frequency and document frequency.", "name": "term_statistics", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, returns the document version as part of a hit.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "Specific version type.", "name": "version_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionType", "namespace": "_types" } } } ], "specLocation": "_global/mtermvectors/MultiTermVectorsRequest.ts#L31-L109" }, { "body": { "kind": "properties", "properties": [ { "name": "docs", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TermVectorsResult", "namespace": "_global.mtermvectors" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.mtermvectors" }, "specLocation": "_global/mtermvectors/MultiTermVectorsResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "TermVectorsResult", "namespace": "_global.mtermvectors" }, "properties": [ { "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "_version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "took", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "found", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "term_vectors", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "TermVector", "namespace": "_global.termvectors" } } } }, { "name": "error", "required": false, "type": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } } ], "specLocation": "_global/mtermvectors/types.ts#L96-L104" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "A search request by default executes against the most recent visible data of the target indices,\nwhich is called point in time. Elasticsearch pit (point in time) is a lightweight view into the\nstate of the data as it existed when initiated. In some cases, it’s preferred to perform multiple\nsearch requests using the same point in time. For example, if refreshes happen between\n`search_after` requests, then the results of those requests might not be consistent as changes happening\nbetween searches are only visible to the more recent point in time.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.open_point_in_time" }, "path": [ { "description": "A comma-separated list of index names to open point in time; use `_all` or empty string to perform the operation on all indices", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "Extends the time to live of the corresponding point in time.", "name": "keep_alive", "required": true, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`. Valid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } } ], "specLocation": "_global/open_point_in_time/OpenPointInTimeRequest.ts#L24-L68" }, { "body": { "kind": "properties", "properties": [ { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.open_point_in_time" }, "specLocation": "_global/open_point_in_time/OpenPointInTimeResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns whether the cluster is running.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.ping" }, "path": [], "query": [], "specLocation": "_global/ping/PingRequest.ts#L22-L27" }, { "body": { "kind": "no_body" }, "kind": "response", "name": { "name": "Response", "namespace": "_global.ping" }, "specLocation": "_global/ping/PingResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Contains the script or search template, its parameters, and its language.", "name": "script", "required": true, "type": { "kind": "instance_of", "type": { "name": "StoredScript", "namespace": "_types" } } } ] }, "description": "Creates or updates a stored script or search template.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.put_script" }, "path": [ { "description": "Identifier for the stored script or search template.\nMust be unique within the cluster.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Context in which the script or search template should run.\nTo prevent errors, the API immediately compiles the script or template in this context.", "name": "context", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "_global/put_script/PutScriptRequest.ts#L25-L64" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "_global.put_script" }, "specLocation": "_global/put_script/PutScriptResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "DocumentRating", "namespace": "_global.rank_eval" }, "properties": [ { "description": "The document ID.", "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The document’s index. For data streams, this should be the document’s backing index.", "name": "_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "The document’s relevance with regard to this search request.", "name": "rating", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/rank_eval/types.ts#L116-L123" }, { "kind": "interface", "name": { "name": "RankEvalHit", "namespace": "_global.rank_eval" }, "properties": [ { "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_global/rank_eval/types.ts#L141-L145" }, { "kind": "interface", "name": { "name": "RankEvalHitItem", "namespace": "_global.rank_eval" }, "properties": [ { "name": "hit", "required": true, "type": { "kind": "instance_of", "type": { "name": "RankEvalHit", "namespace": "_global.rank_eval" } } }, { "name": "rating", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } } ], "specLocation": "_global/rank_eval/types.ts#L136-L139" }, { "kind": "interface", "name": { "name": "RankEvalMetric", "namespace": "_global.rank_eval" }, "properties": [ { "name": "precision", "required": false, "type": { "kind": "instance_of", "type": { "name": "RankEvalMetricPrecision", "namespace": "_global.rank_eval" } } }, { "name": "recall", "required": false, "type": { "kind": "instance_of", "type": { "name": "RankEvalMetricRecall", "namespace": "_global.rank_eval" } } }, { "name": "mean_reciprocal_rank", "required": false, "type": { "kind": "instance_of", "type": { "name": "RankEvalMetricMeanReciprocalRank", "namespace": "_global.rank_eval" } } }, { "name": "dcg", "required": false, "type": { "kind": "instance_of", "type": { "name": "RankEvalMetricDiscountedCumulativeGain", "namespace": "_global.rank_eval" } } }, { "name": "expected_reciprocal_rank", "required": false, "type": { "kind": "instance_of", "type": { "name": "RankEvalMetricExpectedReciprocalRank", "namespace": "_global.rank_eval" } } } ], "specLocation": "_global/rank_eval/types.ts#L90-L96" }, { "kind": "interface", "name": { "name": "RankEvalMetricBase", "namespace": "_global.rank_eval" }, "properties": [ { "description": "Sets the maximum number of documents retrieved per query. This value will act in place of the usual size parameter in the query.", "name": "k", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/rank_eval/types.ts#L26-L32" }, { "kind": "interface", "name": { "name": "RankEvalMetricDetail", "namespace": "_global.rank_eval" }, "properties": [ { "description": "The metric_score in the details section shows the contribution of this query to the global quality metric score", "name": "metric_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "The unrated_docs section contains an _index and _id entry for each document in the search result for this query that didn’t have a ratings value. This can be used to ask the user to supply ratings for these documents", "name": "unrated_docs", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "UnratedDocument", "namespace": "_global.rank_eval" } } } }, { "description": "The hits section shows a grouping of the search results with their supplied ratings", "name": "hits", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RankEvalHitItem", "namespace": "_global.rank_eval" } } } }, { "description": "The metric_details give additional information about the calculated quality metric (e.g. how many of the retrieved documents were relevant). The content varies for each metric but allows for better interpretation of the results", "name": "metric_details", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } } ], "specLocation": "_global/rank_eval/types.ts#L125-L134" }, { "description": "Discounted cumulative gain (DCG)", "docId": "dcg", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-rank-eval.html#_discounted_cumulative_gain_dcg", "inherits": { "type": { "name": "RankEvalMetricBase", "namespace": "_global.rank_eval" } }, "kind": "interface", "name": { "name": "RankEvalMetricDiscountedCumulativeGain", "namespace": "_global.rank_eval" }, "properties": [ { "description": "If set to true, this metric will calculate the Normalized DCG.", "docUrl": "https://en.wikipedia.org/wiki/Discounted_cumulative_gain#Normalized_DCG", "name": "normalize", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/rank_eval/types.ts#L66-L77" }, { "description": "Expected Reciprocal Rank (ERR)", "docId": "expected-reciprocal", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-rank-eval.html#_expected_reciprocal_rank_err", "inherits": { "type": { "name": "RankEvalMetricBase", "namespace": "_global.rank_eval" } }, "kind": "interface", "name": { "name": "RankEvalMetricExpectedReciprocalRank", "namespace": "_global.rank_eval" }, "properties": [ { "description": "The highest relevance grade used in the user-supplied relevance judgments.", "name": "maximum_relevance", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/rank_eval/types.ts#L79-L88" }, { "description": "Mean Reciprocal Rank", "docId": "mean-reciprocal", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-rank-eval.html#_mean_reciprocal_rank", "inherits": { "type": { "name": "RankEvalMetricRatingTreshold", "namespace": "_global.rank_eval" } }, "kind": "interface", "name": { "name": "RankEvalMetricMeanReciprocalRank", "namespace": "_global.rank_eval" }, "properties": [], "specLocation": "_global/rank_eval/types.ts#L60-L64" }, { "description": "Precision at K (P@k)", "docId": "k-precision", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-rank-eval.html#k-precision", "inherits": { "type": { "name": "RankEvalMetricRatingTreshold", "namespace": "_global.rank_eval" } }, "kind": "interface", "name": { "name": "RankEvalMetricPrecision", "namespace": "_global.rank_eval" }, "properties": [ { "description": "Controls how unlabeled documents in the search results are counted. If set to true, unlabeled documents are ignored and neither count as relevant or irrelevant. Set to false (the default), they are treated as irrelevant.", "name": "ignore_unlabeled", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/rank_eval/types.ts#L42-L52" }, { "inherits": { "type": { "name": "RankEvalMetricBase", "namespace": "_global.rank_eval" } }, "kind": "interface", "name": { "name": "RankEvalMetricRatingTreshold", "namespace": "_global.rank_eval" }, "properties": [ { "description": "Sets the rating threshold above which documents are considered to be \"relevant\".", "name": "relevant_rating_threshold", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/rank_eval/types.ts#L34-L40" }, { "description": "Recall at K (R@k)", "docId": "k-recall", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-rank-eval.html#k-recall", "inherits": { "type": { "name": "RankEvalMetricRatingTreshold", "namespace": "_global.rank_eval" } }, "kind": "interface", "name": { "name": "RankEvalMetricRecall", "namespace": "_global.rank_eval" }, "properties": [], "specLocation": "_global/rank_eval/types.ts#L54-L58" }, { "kind": "interface", "name": { "name": "RankEvalQuery", "namespace": "_global.rank_eval" }, "properties": [ { "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/rank_eval/types.ts#L111-L114" }, { "kind": "interface", "name": { "name": "RankEvalRequestItem", "namespace": "_global.rank_eval" }, "properties": [ { "description": "The search request’s ID, used to group result details later.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The query being evaluated.", "name": "request", "required": false, "type": { "kind": "instance_of", "type": { "name": "RankEvalQuery", "namespace": "_global.rank_eval" } } }, { "description": "List of document ratings", "name": "ratings", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DocumentRating", "namespace": "_global.rank_eval" } } } }, { "description": "The search template Id", "name": "template_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The search template parameters.", "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ], "specLocation": "_global/rank_eval/types.ts#L98-L109" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "A set of typical search requests, together with their provided ratings.", "name": "requests", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RankEvalRequestItem", "namespace": "_global.rank_eval" } } } }, { "description": "Definition of the evaluation metric to calculate.", "name": "metric", "required": false, "type": { "kind": "instance_of", "type": { "name": "RankEvalMetric", "namespace": "_global.rank_eval" } } } ] }, "description": "Enables you to evaluate the quality of ranked search results over a set of typical search queries.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.rank_eval" }, "path": [ { "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request. Wildcard (`*`) expressions are supported.\nTo target all data streams and indices in a cluster, omit this parameter or use `_all` or `*`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `true`, missing or closed indices are not included in the response.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Search operation type", "name": "search_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_global/rank_eval/RankEvalRequest.ts#L24-L61" }, { "body": { "kind": "properties", "properties": [ { "description": "The overall evaluation quality calculated by the defined metric", "name": "metric_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "The details section contains one entry for every query in the original requests section, keyed by the search request id", "name": "details", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "RankEvalMetricDetail", "namespace": "_global.rank_eval" } } } }, { "name": "failures", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.rank_eval" }, "specLocation": "_global/rank_eval/RankEvalResponse.ts#L26-L34" }, { "kind": "interface", "name": { "name": "UnratedDocument", "namespace": "_global.rank_eval" }, "properties": [ { "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "specLocation": "_global/rank_eval/types.ts#L147-L150" }, { "kind": "interface", "name": { "name": "Destination", "namespace": "_global.reindex" }, "properties": [ { "description": "The name of the data stream, index, or index alias you are copying to.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Set to `create` to only index documents that do not already exist.\nImportant: To reindex to a data stream destination, this argument must be `create`.", "name": "op_type", "required": false, "serverDefault": "index", "type": { "kind": "instance_of", "type": { "name": "OpType", "namespace": "_types" } } }, { "description": "The name of the pipeline to use.", "name": "pipeline", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "By default, a document's routing is preserved unless it’s changed by the script.\nSet to `discard` to set routing to `null`, or `=value` to route using the specified `value`.", "name": "routing", "required": false, "serverDefault": "keep", "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "The versioning to use for the indexing operation.", "name": "version_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionType", "namespace": "_types" } } } ], "specLocation": "_global/reindex/types.ts#L39-L64" }, { "kind": "interface", "name": { "name": "RemoteSource", "namespace": "_global.reindex" }, "properties": [ { "description": "The remote connection timeout.\nDefaults to 30 seconds.", "name": "connect_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "An object containing the headers of the request.", "name": "headers", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "The URL for the remote instance of Elasticsearch that you want to index from.", "name": "host", "required": true, "type": { "kind": "instance_of", "type": { "name": "Host", "namespace": "_types" } } }, { "description": "The username to use for authentication with the remote host.", "name": "username", "required": false, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } }, { "description": "The password to use for authentication with the remote host.", "name": "password", "required": false, "type": { "kind": "instance_of", "type": { "name": "Password", "namespace": "_types" } } }, { "description": "The remote socket read timeout. Defaults to 30 seconds.", "name": "socket_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "_global/reindex/types.ts#L99-L125" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Set to proceed to continue reindexing even if there are conflicts.", "name": "conflicts", "required": false, "serverDefault": "abort", "type": { "kind": "instance_of", "type": { "name": "Conflicts", "namespace": "_types" } } }, { "description": "The destination you are copying to.", "name": "dest", "required": true, "type": { "kind": "instance_of", "type": { "name": "Destination", "namespace": "_global.reindex" } } }, { "description": "The maximum number of documents to reindex.", "name": "max_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The script to run to update the document source or metadata when reindexing.", "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The source you are copying from.", "name": "source", "required": true, "type": { "kind": "instance_of", "type": { "name": "Source", "namespace": "_global.reindex" } } } ] }, "description": "Allows to copy documents from one index to another, optionally filtering the source\ndocuments by a query, changing the destination index settings, or fetching the\ndocuments from a remote cluster.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.reindex" }, "path": [], "query": [ { "description": "If `true`, the request refreshes affected shards to make this operation visible to search.", "name": "refresh", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The throttle for this request in sub-requests per second.\nDefaults to no throttle.", "name": "requests_per_second", "required": false, "serverDefault": -1, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "Specifies how long a consistent view of the index should be maintained for scrolled search.", "name": "scroll", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The number of slices this task should be divided into.\nDefaults to 1 slice, meaning the task isn’t sliced into subtasks.", "name": "slices", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "Slices", "namespace": "_types" } } }, { "description": "Period each indexing waits for automatic index creation, dynamic mapping updates, and waiting for active shards.", "name": "timeout", "required": false, "serverDefault": "1m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } }, { "description": "If `true`, the request blocks until the operation is complete.", "name": "wait_for_completion", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the destination must be an index alias.", "name": "require_alias", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/reindex/ReindexRequest.ts#L27-L101" }, { "body": { "kind": "properties", "properties": [ { "name": "batches", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "created", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "deleted", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "failures", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "BulkIndexByScrollFailure", "namespace": "_types" } } } }, { "name": "noops", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "retries", "required": false, "type": { "kind": "instance_of", "type": { "name": "Retries", "namespace": "_types" } } }, { "name": "requests_per_second", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "name": "slice_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "task", "required": false, "type": { "kind": "instance_of", "type": { "name": "TaskId", "namespace": "_types" } } }, { "name": "throttled_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "throttled_until_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "timed_out", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "took", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "updated", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "version_conflicts", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.reindex" }, "specLocation": "_global/reindex/ReindexResponse.ts#L26-L45" }, { "kind": "interface", "name": { "name": "Source", "namespace": "_global.reindex" }, "properties": [ { "description": "The name of the data stream, index, or alias you are copying from.\nAccepts a comma-separated list to reindex from multiple sources.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "Specifies the documents to reindex using the Query DSL.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "A remote instance of Elasticsearch that you want to index from.", "name": "remote", "required": false, "type": { "kind": "instance_of", "type": { "name": "RemoteSource", "namespace": "_global.reindex" } } }, { "description": "The number of documents to index per batch.\nUse when indexing from remote to ensure that the batches fit within the on-heap buffer, which defaults to a maximum size of 100 MB.", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Slice the reindex request manually using the provided slice ID and total number of slices.", "name": "slice", "required": false, "type": { "kind": "instance_of", "type": { "name": "SlicedScroll", "namespace": "_types" } } }, { "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "Sort", "namespace": "_types" } } }, { "codegenName": "source_fields", "description": "If `true` reindexes all source fields.\nSet to a list to reindex select fields.", "name": "_source", "required": false, "serverDefault": "true", "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "name": "runtime_mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } } ], "specLocation": "_global/reindex/types.ts#L66-L97" }, { "inherits": { "type": { "name": "BaseNode", "namespace": "_spec_utils" } }, "kind": "interface", "name": { "name": "ReindexNode", "namespace": "_global.reindex_rethrottle" }, "properties": [ { "name": "tasks", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "TaskId", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ReindexTask", "namespace": "_global.reindex_rethrottle" } } } } ], "specLocation": "_global/reindex_rethrottle/types.ts#L33-L35" }, { "kind": "interface", "name": { "name": "ReindexStatus", "namespace": "_global.reindex_rethrottle" }, "properties": [ { "description": "The number of scroll responses pulled back by the reindex.", "name": "batches", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The number of documents that were successfully created.", "name": "created", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The number of documents that were successfully deleted.", "name": "deleted", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The number of documents that were ignored because the script used for the reindex returned a `noop` value for `ctx.op`.", "name": "noops", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The number of requests per second effectively executed during the reindex.", "name": "requests_per_second", "required": true, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "The number of retries attempted by reindex. `bulk` is the number of bulk actions retried and `search` is the number of search actions retried.", "name": "retries", "required": true, "type": { "kind": "instance_of", "type": { "name": "Retries", "namespace": "_types" } } }, { "name": "throttled", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Number of milliseconds the request slept to conform to `requests_per_second`.", "name": "throttled_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "throttled_until", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "This field should always be equal to zero in a `_reindex` response.\nIt only has meaning when using the Task API, where it indicates the next time (in milliseconds since epoch) a throttled request will be executed again in order to conform to `requests_per_second`.", "name": "throttled_until_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "The number of documents that were successfully processed.", "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The number of documents that were successfully updated, for example, a document with same ID already existed prior to reindex updating it.", "name": "updated", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The number of version conflicts that reindex hits.", "name": "version_conflicts", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_global/reindex_rethrottle/types.ts#L37-L85" }, { "kind": "interface", "name": { "name": "ReindexTask", "namespace": "_global.reindex_rethrottle" }, "properties": [ { "name": "action", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "cancellable", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "running_time_in_nanos", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitNanos", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "start_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "ReindexStatus", "namespace": "_global.reindex_rethrottle" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "headers", "required": true, "type": { "kind": "instance_of", "type": { "name": "HttpHeaders", "namespace": "_types" } } } ], "specLocation": "_global/reindex_rethrottle/types.ts#L87-L98" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Copies documents from a source to a destination.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.reindex_rethrottle" }, "path": [ { "description": "Identifier for the task.", "name": "task_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "The throttle for this request in sub-requests per second.", "name": "requests_per_second", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } ], "specLocation": "_global/reindex_rethrottle/ReindexRethrottleRequest.ts#L24-L43" }, { "body": { "kind": "properties", "properties": [ { "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ReindexNode", "namespace": "_global.reindex_rethrottle" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.reindex_rethrottle" }, "specLocation": "_global/reindex_rethrottle/ReindexRethrottleResponse.ts#L23-L25" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "file", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "An inline search template.\nSupports the same parameters as the search API's request body.\nThese parameters also support Mustache variables.\nIf no `id` or `` is specified, this parameter is required.", "name": "source", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Renders a search template as a search request body.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.render_search_template" }, "path": [ { "description": "ID of the search template to render.\nIf no `source` is specified, this or the `id` request body parameter is required.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "_global/render_search_template/RenderSearchTemplateRequest.ts#L25-L55" }, { "body": { "kind": "properties", "properties": [ { "name": "template_output", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.render_search_template" }, "specLocation": "_global/render_search_template/RenderSearchTemplateResponse.ts#L23-L25" }, { "kind": "interface", "name": { "name": "PainlessContextSetup", "namespace": "_global.scripts_painless_execute" }, "properties": [ { "description": "Document that’s temporarily indexed in-memory and accessible from the script.", "name": "document", "required": true, "type": { "kind": "user_defined_value" } }, { "description": "Index containing a mapping that’s compatible with the indexed document.\nYou may specify a remote index by prefixing the index with the remote cluster alias.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Use this parameter to specify a query for computing a score.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ], "specLocation": "_global/scripts_painless_execute/types.ts#L25-L39" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The context that the script should run in.", "name": "context", "required": false, "serverDefault": "painless_test", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Additional parameters for the `context`.", "name": "context_setup", "required": false, "type": { "kind": "instance_of", "type": { "name": "PainlessContextSetup", "namespace": "_global.scripts_painless_execute" } } }, { "description": "The Painless script to execute.", "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "InlineScript", "namespace": "_types" } } } ] }, "description": "Runs a script and returns a result.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.scripts_painless_execute" }, "path": [], "query": [], "specLocation": "_global/scripts_painless_execute/ExecutePainlessScriptRequest.ts#L24-L46" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "TResult", "namespace": "_global.scripts_painless_execute" } } } ] }, "generics": [ { "name": "TResult", "namespace": "_global.scripts_painless_execute" } ], "kind": "response", "name": { "name": "Response", "namespace": "_global.scripts_painless_execute" }, "specLocation": "_global/scripts_painless_execute/ExecutePainlessScriptResponse.ts#L20-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Period to retain the search context for scrolling.", "docId": "scroll-search-results", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/paginate-search-results.html#scroll-search-results", "name": "scroll", "required": false, "serverDefault": "1d", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Scroll ID of the search.", "name": "scroll_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "ScrollId", "namespace": "_types" } } } ] }, "description": "Allows to retrieve a large numbers of results from a single search request.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.scroll" }, "path": [ { "deprecation": { "description": "", "version": "7.0.0" }, "description": "The scroll ID", "name": "scroll_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScrollId", "namespace": "_types" } } } ], "query": [ { "description": "Period to retain the search context for scrolling.", "docId": "scroll-search-results", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/paginate-search-results.html#scroll-search-results", "name": "scroll", "required": false, "serverDefault": "1d", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "deprecation": { "description": "", "version": "7.0.0" }, "description": "The scroll ID for scrolled search", "name": "scroll_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScrollId", "namespace": "_types" } } }, { "description": "If true, the API response’s hit.total property is returned as an integer. If false, the API response’s hit.total property is returned as an object.", "name": "rest_total_hits_as_int", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/scroll/ScrollRequest.ts#L24-L59" }, { "body": { "kind": "value", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.scroll" } } ], "kind": "instance_of", "type": { "name": "ResponseBody", "namespace": "_global.search" } } }, "generics": [ { "name": "TDocument", "namespace": "_global.scroll" } ], "kind": "response", "name": { "name": "Response", "namespace": "_global.scroll" }, "specLocation": "_global/scroll/ScrollResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "aliases": [ "aggs" ], "description": "Defines the aggregations that are run as part of the search request.", "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AggregationContainer", "namespace": "_types.aggregations" } } } }, { "description": "Collapses search results the values of the specified field.", "name": "collapse", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldCollapse", "namespace": "_global.search._types" } } }, { "description": "If true, returns detailed information about score computation as part of a hit.", "name": "explain", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Configuration of search extensions defined by Elasticsearch plugins.", "name": "ext", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "Starting document offset.\nNeeds to be non-negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the highlighter to use for retrieving highlighted snippets from one or more fields in your search results.", "name": "highlight", "required": false, "type": { "kind": "instance_of", "type": { "name": "Highlight", "namespace": "_global.search._types" } } }, { "description": "Number of hits matching the query to count accurately.\nIf `true`, the exact number of hits is returned at the cost of some performance.\nIf `false`, the response does not include the total number of hits matching the query.", "name": "track_total_hits", "required": false, "serverDefault": "10000", "type": { "kind": "instance_of", "type": { "name": "TrackHits", "namespace": "_global.search._types" } } }, { "description": "Boosts the _score of documents from specified indices.", "name": "indices_boost", "required": false, "type": { "kind": "array_of", "value": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } } }, { "description": "Array of wildcard (`*`) patterns.\nThe request returns doc values for field names matching these patterns in the `hits.fields` property of the response.", "name": "docvalue_fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldAndFormat", "namespace": "_types.query_dsl" } } } }, { "availability": { "serverless": {}, "stack": { "since": "8.4.0" } }, "description": "Defines the approximate kNN search to run.", "name": "knn", "required": false, "since": "8.4.0", "type": { "items": [ { "kind": "instance_of", "type": { "name": "KnnSearch", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "KnnSearch", "namespace": "_types" } } } ], "kind": "union_of" } }, { "availability": { "serverless": {}, "stack": { "since": "8.8.0" } }, "description": "Defines the Reciprocal Rank Fusion (RRF) to use.", "name": "rank", "required": false, "since": "8.8.0", "type": { "kind": "instance_of", "type": { "name": "RankContainer", "namespace": "_types" } } }, { "description": "Minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in the search results.", "name": "min_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Use the `post_filter` parameter to filter search results.\nThe search hits are filtered after the aggregations are calculated.\nA post filter has no impact on the aggregation results.", "name": "post_filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Set to `true` to return detailed timing information about the execution of individual components in a search request.\nNOTE: This is a debugging tool and adds significant overhead to search execution.", "name": "profile", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Defines the search definition using the Query DSL.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Can be used to improve precision by reordering just the top (for example 100 - 500) documents returned by the `query` and `post_filter` phases.", "name": "rescore", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "Rescore", "namespace": "_global.search._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Rescore", "namespace": "_global.search._types" } } } ], "kind": "union_of" } }, { "description": "Retrieve a script evaluation (based on different fields) for each hit.", "name": "script_fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ScriptField", "namespace": "_types" } } } }, { "description": "Used to retrieve the next page of hits using a set of sort values from the previous page.", "name": "search_after", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortResults", "namespace": "_types" } } }, { "description": "The number of hits to return.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", "name": "size", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Can be used to split a scrolled search into multiple slices that can be consumed independently.", "name": "slice", "required": false, "type": { "kind": "instance_of", "type": { "name": "SlicedScroll", "namespace": "_types" } } }, { "description": "A comma-separated list of : pairs.", "docId": "sort-search-results", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/sort-search-results.html", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "Sort", "namespace": "_types" } } }, { "description": "Indicates which source fields are returned for matching documents.\nThese fields are returned in the hits._source property of the search response.", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfig", "namespace": "_global.search._types" } } }, { "description": "Array of wildcard (`*`) patterns.\nThe request returns values for field names matching these patterns in the `hits.fields` property of the response.", "name": "fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldAndFormat", "namespace": "_types.query_dsl" } } } }, { "description": "Defines a suggester that provides similar looking terms based on a provided text.", "name": "suggest", "required": false, "type": { "kind": "instance_of", "type": { "name": "Suggester", "namespace": "_global.search._types" } } }, { "description": "Maximum number of documents to collect for each shard.\nIf a query reaches this limit, Elasticsearch terminates the query early.\nElasticsearch collects documents before sorting.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.\nIf set to `0` (default), the query does not terminate early.", "name": "terminate_after", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Specifies the period of time to wait for a response from each shard.\nIf no response is received before the timeout expires, the request fails and returns an error.\nDefaults to no timeout.", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If true, calculate and return document scores, even if the scores are not used for sorting.", "name": "track_scores", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, returns document version as part of a hit.", "name": "version", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", "name": "seq_no_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "List of stored fields to return as part of a hit.\nIf no fields are specified, no stored fields are included in the response.\nIf this field is specified, the `_source` parameter defaults to `false`.\nYou can pass `_source: true` to return both source fields and stored fields in the search response.", "name": "stored_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Limits the search to a point in time (PIT).\nIf you provide a PIT, you cannot specify an `` in the request path.", "name": "pit", "required": false, "type": { "kind": "instance_of", "type": { "name": "PointInTimeReference", "namespace": "_global.search._types" } } }, { "description": "Defines one or more runtime fields in the search request.\nThese fields take precedence over mapped fields with the same name.", "name": "runtime_mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } }, { "description": "Stats groups to associate with the search.\nEach group maintains a statistics aggregation for its associated searches.\nYou can retrieve these stats using the indices stats API.", "name": "stats", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "description": "Returns search hits that match the query defined in the request.\nYou can provide search queries using the `q` query string parameter or the request body.\nIf both are specified, only the query parameter is used.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.search" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, returns partial results if there are shard request timeouts or shard failures. If false, returns an error with no partial results.", "name": "allow_partial_search_results", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Analyzer to use for the query string.\nThis parameter can only be used when the q query string parameter is specified.", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If true, wildcard and prefix queries are analyzed.\nThis parameter can only be used when the q query string parameter is specified.", "name": "analyze_wildcard", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The number of shard results that should be reduced at once on the coordinating node.\nThis value should be used as a protection mechanism to reduce the memory overhead per search request if the potential number of shards in the request can be large.", "name": "batched_reduce_size", "required": false, "serverDefault": 512, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "If true, network round-trips between the coordinating node and the remote clusters are minimized when executing cross-cluster search (CCS) requests.", "docId": "ccs-network-delays", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/modules-cross-cluster-search.html#ccs-network-delays", "name": "ccs_minimize_roundtrips", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The default operator for query string query: AND or OR.\nThis parameter can only be used when the `q` query string parameter is specified.", "name": "default_operator", "required": false, "serverDefault": "OR", "type": { "kind": "instance_of", "type": { "name": "Operator", "namespace": "_types.query_dsl" } } }, { "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the q query string parameter is specified.", "name": "df", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A comma-separated list of fields to return as the docvalue representation for each hit.", "name": "docvalue_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `true`, returns detailed information about score computation as part of a hit.", "name": "explain", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, concrete, expanded or aliased indices will be ignored when frozen.", "name": "ignore_throttled", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.\nThis parameter can only be used when the `q` query string parameter is specified.", "name": "lenient", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Defines the number of concurrent shard requests per node this search executes concurrently.\nThis value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests.", "name": "max_concurrent_shard_requests", "required": false, "serverDefault": 5, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The minimum version of the node that can handle the request\nAny handling node with a lower version will fail the request.", "name": "min_compatible_shard_node", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "description": "Nodes and shards used for the search.\nBy default, Elasticsearch selects from eligible nodes and shards using adaptive replica selection, accounting for allocation awareness. Valid values are:\n`_only_local` to run the search only on shards on the local node;\n`_local` to, if possible, run the search on shards on the local node, or if not, select shards using the default method;\n`_only_nodes:,` to run the search on only the specified nodes IDs, where, if suitable shards exist on more than one selected node, use shards on those nodes using the default method, or if none of the specified nodes are available, select shards from any available node using the default method;\n`_prefer_nodes:,` to if possible, run the search on the specified nodes IDs, or if not, select shards using the default method;\n`_shards:,` to run the search only on the specified shards;\n`` (any string that does not start with `_`) to route searches with the same `` to the same shards in the same order.", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold.\nThis filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method (if date filters are mandatory to match but the shard bounds and the query are disjoint).\nWhen unspecified, the pre-filter phase is executed if any of these conditions is met:\nthe request targets more than 128 shards;\nthe request targets one or more read-only index;\nthe primary sort of the query targets an indexed field.", "name": "pre_filter_shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "If `true`, the caching of search results is enabled for requests where `size` is `0`.\nDefaults to index level settings.", "name": "request_cache", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "Period to retain the search context for scrolling. See Scroll search results.\nBy default, this value cannot exceed `1d` (24 hours).\nYou can change this limit using the `search.max_keep_alive` cluster-level setting.", "docId": "scroll-search-results", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/paginate-search-results.html#scroll-search-results", "name": "scroll", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "How distributed term frequencies are calculated for relevance scoring.", "name": "search_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchType", "namespace": "_types" } } }, { "description": "Specific `tag` of the request for logging and statistical purposes.", "name": "stats", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "A comma-separated list of stored fields to return as part of a hit.\nIf no fields are specified, no stored fields are included in the response.\nIf this field is specified, the `_source` parameter defaults to `false`.\nYou can pass `_source: true` to return both source fields and stored fields in the search response.", "name": "stored_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Specifies which field to use for suggestions.", "name": "suggest_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Specifies the suggest mode.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", "name": "suggest_mode", "required": false, "serverDefault": "missing", "type": { "kind": "instance_of", "type": { "name": "SuggestMode", "namespace": "_types" } } }, { "description": "Number of suggestions to return.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", "name": "suggest_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The source text for which the suggestions should be returned.\nThis parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.", "name": "suggest_text", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Maximum number of documents to collect for each shard.\nIf a query reaches this limit, Elasticsearch terminates the query early.\nElasticsearch collects documents before sorting.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.\nIf set to `0` (default), the query does not terminate early.", "name": "terminate_after", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Specifies the period of time to wait for a response from each shard.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Number of hits matching the query to count accurately.\nIf `true`, the exact number of hits is returned at the cost of some performance.\nIf `false`, the response does not include the total number of hits matching the query.", "name": "track_total_hits", "required": false, "serverDefault": "10000", "type": { "kind": "instance_of", "type": { "name": "TrackHits", "namespace": "_global.search._types" } } }, { "description": "If `true`, calculate and return document scores, even if the scores are not used for sorting.", "name": "track_scores", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, aggregation and suggester names are be prefixed by their respective types in the response.", "name": "typed_keys", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Indicates whether `hits.total` should be rendered as an integer or an object in the rest search response.", "name": "rest_total_hits_as_int", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, returns document version as part of a hit.", "name": "version", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Indicates which source fields are returned for matching documents.\nThese fields are returned in the `hits._source` property of the search response.\nValid values are:\n`true` to return the entire document source;\n`false` to not return the document source;\n`` to return the source fields that are specified as a comma-separated list (supports wildcard (`*`) patterns).", "name": "_source", "required": false, "serverDefault": "true", "type": { "kind": "instance_of", "type": { "name": "SourceConfigParam", "namespace": "_global.search._types" } } }, { "description": "A comma-separated list of source fields to exclude from the response.\nYou can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", "name": "_source_excludes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "A comma-separated list of source fields to include in the response.\nIf this parameter is specified, only these source fields are returned.\nYou can exclude fields from this subset using the `_source_excludes` query parameter.\nIf the `_source` parameter is `false`, this parameter is ignored.", "name": "_source_includes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", "name": "seq_no_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Query in the Lucene query string syntax using query parameter search.\nQuery parameter searches do not support the full Elasticsearch Query DSL but are handy for testing.", "name": "q", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Defines the number of hits to return.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", "name": "size", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Starting document offset.\nNeeds to be non-negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "A comma-separated list of : pairs.", "docId": "sort-search-results", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/sort-search-results.html", "name": "sort", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } }, { "availability": { "stack": { "featureFlag": "es.index_mode_feature_flag_registered", "since": "8.4.0", "visibility": "feature_flag" } }, "description": "Should this request force synthetic _source?\nUse this to test if the mapping supports synthetic _source and to get a sense of the worst case performance.\nFetches with this enabled will be slower the enabling synthetic source natively in the index.", "name": "force_synthetic_source", "required": false, "since": "8.4.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/search/SearchRequest.ts#L53-L513" }, { "body": { "kind": "value", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.search" } } ], "kind": "instance_of", "type": { "name": "ResponseBody", "namespace": "_global.search" } } }, "generics": [ { "name": "TDocument", "namespace": "_global.search" } ], "kind": "response", "name": { "name": "Response", "namespace": "_global.search" }, "specLocation": "_global/search/SearchResponse.ts#L34-L36" }, { "generics": [ { "name": "TDocument", "namespace": "_global.search" } ], "kind": "interface", "name": { "name": "ResponseBody", "namespace": "_global.search" }, "properties": [ { "name": "took", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "timed_out", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } }, { "name": "hits", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.search" } } ], "kind": "instance_of", "type": { "name": "HitsMetadata", "namespace": "_global.search._types" } } }, { "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "AggregateName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Aggregate", "namespace": "_types.aggregations" } } } }, { "name": "_clusters", "required": false, "type": { "kind": "instance_of", "type": { "name": "ClusterStatistics", "namespace": "_types" } } }, { "name": "fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "max_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "num_reduce_phases", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "profile", "required": false, "type": { "kind": "instance_of", "type": { "name": "Profile", "namespace": "_global.search._types" } } }, { "name": "pit_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "_scroll_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScrollId", "namespace": "_types" } } }, { "name": "suggest", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "SuggestionName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "array_of", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.search" } } ], "kind": "instance_of", "type": { "name": "Suggest", "namespace": "_global.search._types" } } } } }, { "name": "terminated_early", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/search/SearchResponse.ts#L38-L54" }, { "kind": "interface", "name": { "name": "AggregationBreakdown", "namespace": "_global.search._types" }, "properties": [ { "name": "build_aggregation", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "build_aggregation_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "build_leaf_collector", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "build_leaf_collector_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "collect", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "collect_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "initialize", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "initialize_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "post_collection", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "post_collection_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "reduce", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "reduce_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/profile.ts#L23-L36" }, { "kind": "interface", "name": { "name": "AggregationProfile", "namespace": "_global.search._types" }, "properties": [ { "name": "breakdown", "required": true, "type": { "kind": "instance_of", "type": { "name": "AggregationBreakdown", "namespace": "_global.search._types" } } }, { "name": "description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "time_in_nanos", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitNanos", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "debug", "required": false, "type": { "kind": "instance_of", "type": { "name": "AggregationProfileDebug", "namespace": "_global.search._types" } } }, { "name": "children", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "AggregationProfile", "namespace": "_global.search._types" } } } } ], "specLocation": "_global/search/_types/profile.ts#L77-L84" }, { "kind": "interface", "name": { "name": "AggregationProfileDebug", "namespace": "_global.search._types" }, "properties": [ { "name": "segments_with_multi_valued_ords", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "collection_strategy", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "segments_with_single_valued_ords", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "total_buckets", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "built_buckets", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "result_strategy", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "has_filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "delegate", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "delegate_debug", "required": false, "type": { "kind": "instance_of", "type": { "name": "AggregationProfileDebug", "namespace": "_global.search._types" } } }, { "name": "chars_fetched", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "extract_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "extract_ns", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "values_fetched", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "collect_analyzed_ns", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "collect_analyzed_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "surviving_buckets", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "ordinals_collectors_used", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "ordinals_collectors_overhead_too_high", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "string_hashing_collectors_used", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "numeric_collectors_used", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "empty_collectors_used", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "deferred_aggregators", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "segments_with_doc_count_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "segments_with_deleted_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "filters", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "AggregationProfileDelegateDebugFilter", "namespace": "_global.search._types" } } } }, { "name": "segments_counted", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "segments_collected", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "map_reducer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_global/search/_types/profile.ts#L39-L68" }, { "kind": "interface", "name": { "name": "AggregationProfileDelegateDebugFilter", "namespace": "_global.search._types" }, "properties": [ { "name": "results_from_metadata", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "specialized_for", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "segments_counted_in_constant_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/profile.ts#L70-L75" }, { "kind": "enum", "members": [ { "description": "Use the characters specified by `boundary_chars` as highlighting boundaries.\nThe `boundary_max_scan` setting controls how far to scan for boundary characters.\nOnly valid for the `fvh` highlighter.", "name": "chars" }, { "description": "Break highlighted fragments at the next sentence boundary, as determined by Java’s `BreakIterator`.\nYou can specify the locale to use with `boundary_scanner_locale`.\nWhen used with the `unified` highlighter, the `sentence` scanner splits sentences bigger than `fragment_size` at the first word boundary next to fragment_size.\nYou can set `fragment_size` to `0` to never split any sentence.", "name": "sentence" }, { "description": "Break highlighted fragments at the next word boundary, as determined by Java’s `BreakIterator`.\nYou can specify the locale to use with `boundary_scanner_locale`.", "name": "word" } ], "name": { "name": "BoundaryScanner", "namespace": "_global.search._types" }, "specLocation": "_global/search/_types/highlighting.ts#L27-L46" }, { "kind": "interface", "name": { "name": "Collector", "namespace": "_global.search._types" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "reason", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "time_in_nanos", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitNanos", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "children", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Collector", "namespace": "_global.search._types" } } } } ], "specLocation": "_global/search/_types/profile.ts#L86-L91" }, { "kind": "interface", "name": { "name": "CompletionContext", "namespace": "_global.search._types" }, "properties": [ { "description": "The factor by which the score of the suggestion should be boosted.\nThe score is computed by multiplying the boost with the suggestion weight.", "name": "boost", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "The value of the category to filter/boost on.", "name": "context", "required": true, "type": { "kind": "instance_of", "type": { "name": "Context", "namespace": "_global.search._types" } } }, { "description": "An array of precision values at which neighboring geohashes should be taken into account.\nPrecision value can be a distance value (`5m`, `10km`, etc.) or a raw geohash precision (`1`..`12`).\nDefaults to generating neighbors for index time precision level.", "name": "neighbours", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "GeoHashPrecision", "namespace": "_types" } } } }, { "description": "The precision of the geohash to encode the query geo point.\nCan be specified as a distance value (`5m`, `10km`, etc.), or as a raw geohash precision (`1`..`12`).\nDefaults to index time precision level.", "name": "precision", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoHashPrecision", "namespace": "_types" } } }, { "description": "Whether the category value should be treated as a prefix or not.", "name": "prefix", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "shortcutProperty": "context", "specLocation": "_global/search/_types/suggester.ts#L232-L261" }, { "generics": [ { "name": "TDocument", "namespace": "_global.search._types" } ], "inherits": { "type": { "name": "SuggestBase", "namespace": "_global.search._types" } }, "kind": "interface", "name": { "name": "CompletionSuggest", "namespace": "_global.search._types" }, "properties": [ { "name": "options", "required": true, "type": { "items": [ { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.search._types" } } ], "kind": "instance_of", "type": { "name": "CompletionSuggestOption", "namespace": "_global.search._types" } }, { "kind": "array_of", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.search._types" } } ], "kind": "instance_of", "type": { "name": "CompletionSuggestOption", "namespace": "_global.search._types" } } } ], "kind": "union_of" } } ], "specLocation": "_global/search/_types/suggester.ts#L48-L55", "variantName": "completion" }, { "generics": [ { "name": "TDocument", "namespace": "_global.search._types" } ], "kind": "interface", "name": { "name": "CompletionSuggestOption", "namespace": "_global.search._types" }, "properties": [ { "name": "collate_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "contexts", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Context", "namespace": "_global.search._types" } } } } }, { "name": "fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "_routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "name": "_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.search._types" } } }, { "name": "text", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "score", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/suggester.ts#L73-L84" }, { "inherits": { "type": { "name": "SuggesterBase", "namespace": "_global.search._types" } }, "kind": "interface", "name": { "name": "CompletionSuggester", "namespace": "_global.search._types" }, "properties": [ { "description": "A value, geo point object, or a geo hash string to filter or boost the suggestion on.", "name": "contexts", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "items": [ { "kind": "instance_of", "type": { "name": "CompletionContext", "namespace": "_global.search._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CompletionContext", "namespace": "_global.search._types" } } } ], "kind": "union_of" } } }, { "description": "Enables fuzziness, meaning you can have a typo in your search and still get results back.", "name": "fuzzy", "required": false, "type": { "kind": "instance_of", "type": { "name": "SuggestFuzziness", "namespace": "_global.search._types" } } }, { "description": "A regex query that expresses a prefix as a regular expression.", "name": "regex", "required": false, "type": { "kind": "instance_of", "type": { "name": "RegexOptions", "namespace": "_global.search._types" } } }, { "description": "Whether duplicate suggestions should be filtered out.", "name": "skip_duplicates", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/search/_types/suggester.ts#L160-L178" }, { "codegenNames": [ "category", "location" ], "description": "Text or location that we want similar documents for or a lookup to a document's field for the text.", "docId": "document-input-parameters", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-mlt-query.html#_document_input_parameters", "kind": "type_alias", "name": { "name": "Context", "namespace": "_global.search._types" }, "specLocation": "_global/search/_types/suggester.ts#L225-L230", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "GeoLocation", "namespace": "_types" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "DirectGenerator", "namespace": "_global.search._types" }, "properties": [ { "description": "The field to fetch the candidate suggestions from.\nNeeds to be set globally or per suggestion.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The maximum edit distance candidate suggestions can have in order to be considered as a suggestion.\nCan only be `1` or `2`.", "name": "max_edits", "required": false, "serverDefault": 2, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "A factor that is used to multiply with the shard_size in order to inspect more candidate spelling corrections on the shard level.\nCan improve accuracy at the cost of performance.", "name": "max_inspections", "required": false, "serverDefault": 5, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "The maximum threshold in number of documents in which a suggest text token can exist in order to be included.\nThis can be used to exclude high frequency terms — which are usually spelled correctly — from being spellchecked.\nCan be a relative percentage number (for example `0.4`) or an absolute number to represent document frequencies.\nIf a value higher than 1 is specified, then fractional can not be specified.", "name": "max_term_freq", "required": false, "serverDefault": 0.01, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "The minimal threshold in number of documents a suggestion should appear in.\nThis can improve quality by only suggesting high frequency terms.\nCan be specified as an absolute number or as a relative percentage of number of documents.\nIf a value higher than 1 is specified, the number cannot be fractional.", "name": "min_doc_freq", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "The minimum length a suggest text term must have in order to be included.", "name": "min_word_length", "required": false, "serverDefault": 4, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "A filter (analyzer) that is applied to each of the generated tokens before they are passed to the actual phrase scorer.", "name": "post_filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A filter (analyzer) that is applied to each of the tokens passed to this candidate generator.\nThis filter is applied to the original token before candidates are generated.", "name": "pre_filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The number of minimal prefix characters that must match in order be a candidate suggestions.\nIncreasing this number improves spellcheck performance.", "name": "prefix_length", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum corrections to be returned per suggest text token.", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Controls what suggestions are included on the suggestions generated on each shard.", "name": "suggest_mode", "required": false, "serverDefault": "missing", "type": { "kind": "instance_of", "type": { "name": "SuggestMode", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/suggester.ts#L265-L328" }, { "kind": "interface", "name": { "name": "FetchProfile", "namespace": "_global.search._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "time_in_nanos", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitNanos", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "breakdown", "required": true, "type": { "kind": "instance_of", "type": { "name": "FetchProfileBreakdown", "namespace": "_global.search._types" } } }, { "name": "debug", "required": false, "type": { "kind": "instance_of", "type": { "name": "FetchProfileDebug", "namespace": "_global.search._types" } } }, { "name": "children", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FetchProfile", "namespace": "_global.search._types" } } } } ], "specLocation": "_global/search/_types/profile.ts#L139-L146" }, { "kind": "interface", "name": { "name": "FetchProfileBreakdown", "namespace": "_global.search._types" }, "properties": [ { "name": "load_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "load_source_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "load_stored_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "load_stored_fields_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "next_reader", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "next_reader_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "process_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "process", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/profile.ts#L148-L157" }, { "kind": "interface", "name": { "name": "FetchProfileDebug", "namespace": "_global.search._types" }, "properties": [ { "name": "stored_fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "fast_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/profile.ts#L159-L162" }, { "kind": "interface", "name": { "name": "FieldCollapse", "namespace": "_global.search._types" }, "properties": [ { "description": "The field to collapse the result set on", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The number of inner hits and their sort order", "name": "inner_hits", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "InnerHits", "namespace": "_global.search._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "InnerHits", "namespace": "_global.search._types" } } } ], "kind": "union_of" } }, { "description": "The number of concurrent requests allowed to retrieve the inner_hits per group", "name": "max_concurrent_group_searches", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "collapse", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldCollapse", "namespace": "_global.search._types" } } } ], "specLocation": "_global/search/_types/FieldCollapse.ts#L24-L38" }, { "kind": "interface", "name": { "name": "FieldSuggester", "namespace": "_global.search._types" }, "properties": [ { "description": "Provides auto-complete/search-as-you-type functionality.", "name": "completion", "required": false, "type": { "kind": "instance_of", "type": { "name": "CompletionSuggester", "namespace": "_global.search._types" } } }, { "description": "Provides access to word alternatives on a per token basis within a certain string distance.", "name": "phrase", "required": false, "type": { "kind": "instance_of", "type": { "name": "PhraseSuggester", "namespace": "_global.search._types" } } }, { "description": "Suggests terms based on edit distance.", "name": "term", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermSuggester", "namespace": "_global.search._types" } } }, { "containerProperty": true, "description": "Prefix used to search for suggestions.", "name": "prefix", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "containerProperty": true, "description": "A prefix expressed as a regular expression.", "name": "regex", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "containerProperty": true, "description": "The text to use as input for the suggester.\nNeeds to be set globally or per suggestion.", "name": "text", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_global/search/_types/suggester.ts#L106-L139", "variants": { "kind": "container", "nonExhaustive": true } }, { "inherits": { "type": { "name": "HighlightBase", "namespace": "_global.search._types" } }, "kind": "interface", "name": { "name": "Highlight", "namespace": "_global.search._types" }, "properties": [ { "name": "encoder", "required": false, "type": { "kind": "instance_of", "type": { "name": "HighlighterEncoder", "namespace": "_global.search._types" } } }, { "name": "fields", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "HighlightField", "namespace": "_global.search._types" } } } } ], "specLocation": "_global/search/_types/highlighting.ts#L153-L156" }, { "kind": "interface", "name": { "name": "HighlightBase", "namespace": "_global.search._types" }, "properties": [ { "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "HighlighterType", "namespace": "_global.search._types" } } }, { "description": "A string that contains each boundary character.", "name": "boundary_chars", "required": false, "serverDefault": ".,!? \\t\\n", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "How far to scan for boundary characters.", "name": "boundary_max_scan", "required": false, "serverDefault": 20, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies how to break the highlighted fragments: chars, sentence, or word.\nOnly valid for the unified and fvh highlighters.\nDefaults to `sentence` for the `unified` highlighter. Defaults to `chars` for the `fvh` highlighter.", "name": "boundary_scanner", "required": false, "type": { "kind": "instance_of", "type": { "name": "BoundaryScanner", "namespace": "_global.search._types" } } }, { "description": "Controls which locale is used to search for sentence and word boundaries.\nThis parameter takes a form of a language tag, for example: `\"en-US\"`, `\"fr-FR\"`, `\"ja-JP\"`.", "name": "boundary_scanner_locale", "required": false, "serverDefault": "Locale.ROOT", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "deprecation": { "description": "", "version": "8.8.0" }, "name": "force_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies how text should be broken up in highlight snippets: `simple` or `span`.\nOnly valid for the `plain` highlighter.", "name": "fragmenter", "required": false, "serverDefault": "span", "type": { "kind": "instance_of", "type": { "name": "HighlighterFragmenter", "namespace": "_global.search._types" } } }, { "description": "The size of the highlighted fragment in characters.", "name": "fragment_size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "highlight_filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Highlight matches for a query other than the search query.\nThis is especially useful if you use a rescore query because those are not taken into account by highlighting by default.", "name": "highlight_query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "name": "max_fragment_length", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "If set to a non-negative value, highlighting stops at this defined maximum limit.\nThe rest of the text is not processed, thus not highlighted and no error is returned\nThe `max_analyzed_offset` query setting does not override the `index.highlight.max_analyzed_offset` setting, which prevails when it’s set to lower value than the query setting.", "name": "max_analyzed_offset", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The amount of text you want to return from the beginning of the field if there are no matching fragments to highlight.", "name": "no_match_size", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum number of fragments to return.\nIf the number of fragments is set to `0`, no fragments are returned.\nInstead, the entire field contents are highlighted and returned.\nThis can be handy when you need to highlight short texts such as a title or address, but fragmentation is not required.\nIf `number_of_fragments` is `0`, `fragment_size` is ignored.", "name": "number_of_fragments", "required": false, "serverDefault": 5, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "options", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "Sorts highlighted fragments by score when set to `score`.\nBy default, fragments will be output in the order they appear in the field (order: `none`).\nSetting this option to `score` will output the most relevant fragments first.\nEach highlighter applies its own logic to compute relevancy scores.", "name": "order", "required": false, "serverDefault": "none", "type": { "kind": "instance_of", "type": { "name": "HighlighterOrder", "namespace": "_global.search._types" } } }, { "description": "Controls the number of matching phrases in a document that are considered.\nPrevents the `fvh` highlighter from analyzing too many phrases and consuming too much memory.\nWhen using `matched_fields`, `phrase_limit` phrases per matched field are considered. Raising the limit increases query time and consumes more memory.\nOnly supported by the `fvh` highlighter.", "name": "phrase_limit", "required": false, "serverDefault": 256, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Use in conjunction with `pre_tags` to define the HTML tags to use for the highlighted text.\nBy default, highlighted text is wrapped in `` and `` tags.", "name": "post_tags", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Use in conjunction with `post_tags` to define the HTML tags to use for the highlighted text.\nBy default, highlighted text is wrapped in `` and `` tags.", "name": "pre_tags", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "By default, only fields that contains a query match are highlighted.\nSet to `false` to highlight all fields.", "name": "require_field_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Set to `styled` to use the built-in tag schema.", "name": "tags_schema", "required": false, "type": { "kind": "instance_of", "type": { "name": "HighlighterTagsSchema", "namespace": "_global.search._types" } } } ], "specLocation": "_global/search/_types/highlighting.ts#L48-L151" }, { "inherits": { "type": { "name": "HighlightBase", "namespace": "_global.search._types" } }, "kind": "interface", "name": { "name": "HighlightField", "namespace": "_global.search._types" }, "properties": [ { "name": "fragment_offset", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "matched_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "Analyzer", "namespace": "_types.analysis" } } } ], "specLocation": "_global/search/_types/highlighting.ts#L193-L197" }, { "kind": "enum", "members": [ { "name": "default" }, { "name": "html" } ], "name": { "name": "HighlighterEncoder", "namespace": "_global.search._types" }, "specLocation": "_global/search/_types/highlighting.ts#L158-L161" }, { "kind": "enum", "members": [ { "name": "simple" }, { "name": "span" } ], "name": { "name": "HighlighterFragmenter", "namespace": "_global.search._types" }, "specLocation": "_global/search/_types/highlighting.ts#L163-L166" }, { "kind": "enum", "members": [ { "name": "score" } ], "name": { "name": "HighlighterOrder", "namespace": "_global.search._types" }, "specLocation": "_global/search/_types/highlighting.ts#L168-L170" }, { "kind": "enum", "members": [ { "name": "styled" } ], "name": { "name": "HighlighterTagsSchema", "namespace": "_global.search._types" }, "specLocation": "_global/search/_types/highlighting.ts#L172-L174" }, { "isOpen": true, "kind": "enum", "members": [ { "description": "The `plain` highlighter uses the standard Lucene highlighter", "name": "plain" }, { "codegenName": "fast_vector", "description": "The fvh highlighter uses the Lucene Fast Vector highlighter.", "name": "fvh" }, { "description": "The unified highlighter uses the Lucene Unified Highlighter.", "name": "unified" } ], "name": { "name": "HighlighterType", "namespace": "_global.search._types" }, "specLocation": "_global/search/_types/highlighting.ts#L176-L191" }, { "generics": [ { "name": "TDocument", "namespace": "_global.search._types" } ], "kind": "interface", "name": { "name": "Hit", "namespace": "_global.search._types" }, "properties": [ { "name": "_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "esQuirk": "'_id' is not available when using 'stored_fields: _none_'\non a search request. Otherwise the field is always present on hits.", "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "_score", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "_explanation", "required": false, "type": { "kind": "instance_of", "type": { "name": "Explanation", "namespace": "_global.explain" } } }, { "name": "fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "highlight", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } }, { "name": "inner_hits", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "InnerHitsResult", "namespace": "_global.search._types" } } } }, { "name": "matched_queries", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "_nested", "required": false, "type": { "kind": "instance_of", "type": { "name": "NestedIdentity", "namespace": "_global.search._types" } } }, { "name": "_ignored", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "ignored_field_values", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } }, { "name": "_shard", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "_node", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "_routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.search._types" } } }, { "name": "_seq_no", "required": false, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "name": "_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "_version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortResults", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/hits.ts#L40-L64" }, { "generics": [ { "name": "T", "namespace": "_global.search._types" } ], "kind": "interface", "name": { "name": "HitsMetadata", "namespace": "_global.search._types" }, "properties": [ { "description": "Total hit count information, present only if `track_total_hits` wasn't `false` in the search request.", "name": "total", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "TotalHits", "namespace": "_global.search._types" } }, { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } ], "kind": "union_of" } }, { "name": "hits", "required": true, "type": { "kind": "array_of", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "T", "namespace": "_global.search._types" } } ], "kind": "instance_of", "type": { "name": "Hit", "namespace": "_global.search._types" } } } }, { "name": "max_score", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } } ], "specLocation": "_global/search/_types/hits.ts#L66-L72" }, { "kind": "interface", "name": { "name": "InnerHits", "namespace": "_global.search._types" }, "properties": [ { "description": "The name for the particular inner hit definition in the response.\nUseful when a search request contains multiple inner hits.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "The maximum number of hits to return per `inner_hits`.", "name": "size", "required": false, "serverDefault": 3, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Inner hit starting document offset.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "collapse", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldCollapse", "namespace": "_global.search._types" } } }, { "name": "docvalue_fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldAndFormat", "namespace": "_types.query_dsl" } } } }, { "name": "explain", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "highlight", "required": false, "type": { "kind": "instance_of", "type": { "name": "Highlight", "namespace": "_global.search._types" } } }, { "name": "ignore_unmapped", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "script_fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ScriptField", "namespace": "_types" } } } }, { "name": "seq_no_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "How the inner hits should be sorted per `inner_hits`.\nBy default, inner hits are sorted by score.", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "Sort", "namespace": "_types" } } }, { "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfig", "namespace": "_global.search._types" } } }, { "name": "stored_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "name": "track_scores", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/search/_types/hits.ts#L106-L140" }, { "kind": "interface", "name": { "name": "InnerHitsResult", "namespace": "_global.search._types" }, "properties": [ { "name": "hits", "required": true, "type": { "generics": [ { "kind": "user_defined_value" } ], "kind": "instance_of", "type": { "name": "HitsMetadata", "namespace": "_global.search._types" } } } ], "specLocation": "_global/search/_types/hits.ts#L84-L86" }, { "kind": "interface", "name": { "name": "LaplaceSmoothingModel", "namespace": "_global.search._types" }, "properties": [ { "description": "A constant that is added to all counts to balance weights.", "name": "alpha", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/suggester.ts#L427-L432" }, { "kind": "interface", "name": { "name": "LearningToRank", "namespace": "_global.search._types" }, "properties": [ { "description": "The unique identifier of the trained model uploaded to Elasticsearch", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Named parameters to be passed to the query templates used for feature", "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ], "specLocation": "_global/search/_types/rescoring.ts#L88-L97" }, { "kind": "interface", "name": { "name": "LinearInterpolationSmoothingModel", "namespace": "_global.search._types" }, "properties": [ { "name": "bigram_lambda", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "trigram_lambda", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "unigram_lambda", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/suggester.ts#L434-L438" }, { "kind": "interface", "name": { "name": "NestedIdentity", "namespace": "_global.search._types" }, "properties": [ { "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "offset", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "_nested", "required": false, "type": { "kind": "instance_of", "type": { "name": "NestedIdentity", "namespace": "_global.search._types" } } } ], "specLocation": "_global/search/_types/hits.ts#L88-L92" }, { "inherits": { "type": { "name": "SuggestBase", "namespace": "_global.search._types" } }, "kind": "interface", "name": { "name": "PhraseSuggest", "namespace": "_global.search._types" }, "properties": [ { "name": "options", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "PhraseSuggestOption", "namespace": "_global.search._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "PhraseSuggestOption", "namespace": "_global.search._types" } } } ], "kind": "union_of" } } ], "specLocation": "_global/search/_types/suggester.ts#L57-L62", "variantName": "phrase" }, { "kind": "interface", "name": { "name": "PhraseSuggestCollate", "namespace": "_global.search._types" }, "properties": [ { "description": "Parameters to use if the query is templated.", "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "Returns all suggestions with an extra `collate_match` option indicating whether the generated phrase matched any document.", "name": "prune", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "A collate query that is run once for every suggestion.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "PhraseSuggestCollateQuery", "namespace": "_global.search._types" } } } ], "specLocation": "_global/search/_types/suggester.ts#L330-L343" }, { "kind": "interface", "name": { "name": "PhraseSuggestCollateQuery", "namespace": "_global.search._types" }, "properties": [ { "description": "The search template ID.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The query source.", "name": "source", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_global/search/_types/suggester.ts#L345-L354" }, { "kind": "interface", "name": { "name": "PhraseSuggestHighlight", "namespace": "_global.search._types" }, "properties": [ { "description": "Use in conjunction with `pre_tag` to define the HTML tags to use for the highlighted text.", "name": "post_tag", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Use in conjunction with `post_tag` to define the HTML tags to use for the highlighted text.", "name": "pre_tag", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_global/search/_types/suggester.ts#L416-L425" }, { "kind": "interface", "name": { "name": "PhraseSuggestOption", "namespace": "_global.search._types" }, "properties": [ { "name": "text", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "highlighted", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "collate_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/search/_types/suggester.ts#L86-L91" }, { "inherits": { "type": { "name": "SuggesterBase", "namespace": "_global.search._types" } }, "kind": "interface", "name": { "name": "PhraseSuggester", "namespace": "_global.search._types" }, "properties": [ { "description": "Checks each suggestion against the specified query to prune suggestions for which no matching docs exist in the index.", "name": "collate", "required": false, "type": { "kind": "instance_of", "type": { "name": "PhraseSuggestCollate", "namespace": "_global.search._types" } } }, { "description": "Defines a factor applied to the input phrases score, which is used as a threshold for other suggest candidates.\nOnly candidates that score higher than the threshold will be included in the result.", "name": "confidence", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "A list of candidate generators that produce a list of possible terms per term in the given text.", "name": "direct_generator", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DirectGenerator", "namespace": "_global.search._types" } } } }, { "name": "force_unigrams", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Sets max size of the n-grams (shingles) in the field.\nIf the field doesn’t contain n-grams (shingles), this should be omitted or set to `1`.\nIf the field uses a shingle filter, the `gram_size` is set to the `max_shingle_size` if not explicitly set.", "name": "gram_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Sets up suggestion highlighting.\nIf not provided, no highlighted field is returned.", "name": "highlight", "required": false, "type": { "kind": "instance_of", "type": { "name": "PhraseSuggestHighlight", "namespace": "_global.search._types" } } }, { "description": "The maximum percentage of the terms considered to be misspellings in order to form a correction.\nThis method accepts a float value in the range `[0..1)` as a fraction of the actual query terms or a number `>=1` as an absolute number of query terms.", "name": "max_errors", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "The likelihood of a term being misspelled even if the term exists in the dictionary.", "name": "real_word_error_likelihood", "required": false, "serverDefault": 0.95, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "The separator that is used to separate terms in the bigram field.\nIf not set, the whitespace character is used as a separator.", "name": "separator", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Sets the maximum number of suggested terms to be retrieved from each individual shard.", "name": "shard_size", "required": false, "serverDefault": 5, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The smoothing model used to balance weight between infrequent grams (grams (shingles) are not existing in the index) and frequent grams (appear at least once in the index).\nThe default model is Stupid Backoff.", "name": "smoothing", "required": false, "type": { "kind": "instance_of", "type": { "name": "SmoothingModelContainer", "namespace": "_global.search._types" } } }, { "description": "The text/query to provide suggestions for.", "name": "text", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "token_limit", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/suggester.ts#L356-L414" }, { "kind": "interface", "name": { "name": "PointInTimeReference", "namespace": "_global.search._types" }, "properties": [ { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "keep_alive", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/PointInTimeReference.ts#L23-L26" }, { "kind": "interface", "name": { "name": "Profile", "namespace": "_global.search._types" }, "properties": [ { "name": "shards", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ShardProfile", "namespace": "_global.search._types" } } } } ], "specLocation": "_global/search/_types/profile.ts#L93-L95" }, { "kind": "interface", "name": { "name": "QueryBreakdown", "namespace": "_global.search._types" }, "properties": [ { "name": "advance", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "advance_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "build_scorer", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "build_scorer_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "create_weight", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "create_weight_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "match", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "match_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "shallow_advance", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "shallow_advance_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "next_doc", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "next_doc_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "score", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "score_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "compute_max_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "compute_max_score_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "set_min_competitive_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "set_min_competitive_score_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/profile.ts#L97-L116" }, { "kind": "interface", "name": { "name": "QueryProfile", "namespace": "_global.search._types" }, "properties": [ { "name": "breakdown", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryBreakdown", "namespace": "_global.search._types" } } }, { "name": "description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "time_in_nanos", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitNanos", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "children", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "QueryProfile", "namespace": "_global.search._types" } } } } ], "specLocation": "_global/search/_types/profile.ts#L118-L124" }, { "kind": "interface", "name": { "name": "RegexOptions", "namespace": "_global.search._types" }, "properties": [ { "description": "Optional operators for the regular expression.", "docId": "regexp-syntax", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/regexp-syntax.html", "name": "flags", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "Maximum number of automaton states required for the query.", "name": "max_determinized_states", "required": false, "serverDefault": 10000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/suggester.ts#L180-L191" }, { "kind": "interface", "name": { "name": "Rescore", "namespace": "_global.search._types" }, "properties": [ { "containerProperty": true, "name": "window_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "RescoreQuery", "namespace": "_global.search._types" } } }, { "name": "learning_to_rank", "required": false, "type": { "kind": "instance_of", "type": { "name": "LearningToRank", "namespace": "_global.search._types" } } } ], "specLocation": "_global/search/_types/rescoring.ts#L25-L38", "variants": { "kind": "container", "nonExhaustive": true } }, { "kind": "interface", "name": { "name": "RescoreQuery", "namespace": "_global.search._types" }, "properties": [ { "codegenName": "Query", "description": "The query to use for rescoring.\nThis query is only run on the Top-K results returned by the `query` and `post_filter` phases.", "name": "rescore_query", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Relative importance of the original query versus the rescore query.", "name": "query_weight", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Relative importance of the rescore query versus the original query.", "name": "rescore_query_weight", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Determines how scores are combined.", "name": "score_mode", "required": false, "serverDefault": "total", "type": { "kind": "instance_of", "type": { "name": "ScoreMode", "namespace": "_global.search._types" } } } ], "specLocation": "_global/search/_types/rescoring.ts#L40-L62" }, { "kind": "enum", "members": [ { "description": "Average the original score and the rescore query score.", "name": "avg" }, { "description": "Take the max of original score and the rescore query score.", "name": "max" }, { "description": "Take the min of the original score and the rescore query score.", "name": "min" }, { "description": "Multiply the original score by the rescore query score.\nUseful for `function` query rescores.", "name": "multiply" }, { "description": "Add the original score and the rescore query score.", "name": "total" } ], "name": { "name": "ScoreMode", "namespace": "_global.search._types" }, "specLocation": "_global/search/_types/rescoring.ts#L64-L86" }, { "kind": "interface", "name": { "name": "SearchProfile", "namespace": "_global.search._types" }, "properties": [ { "name": "collector", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Collector", "namespace": "_global.search._types" } } } }, { "name": "query", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "QueryProfile", "namespace": "_global.search._types" } } } }, { "name": "rewrite_time", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/profile.ts#L126-L130" }, { "kind": "interface", "name": { "name": "ShardProfile", "namespace": "_global.search._types" }, "properties": [ { "name": "aggregations", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "AggregationProfile", "namespace": "_global.search._types" } } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "searches", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SearchProfile", "namespace": "_global.search._types" } } } }, { "name": "fetch", "required": false, "type": { "kind": "instance_of", "type": { "name": "FetchProfile", "namespace": "_global.search._types" } } } ], "specLocation": "_global/search/_types/profile.ts#L132-L137" }, { "kind": "interface", "name": { "name": "SmoothingModelContainer", "namespace": "_global.search._types" }, "properties": [ { "description": "A smoothing model that uses an additive smoothing where a constant (typically `1.0` or smaller) is added to all counts to balance weights.", "name": "laplace", "required": false, "type": { "kind": "instance_of", "type": { "name": "LaplaceSmoothingModel", "namespace": "_global.search._types" } } }, { "description": "A smoothing model that takes the weighted mean of the unigrams, bigrams, and trigrams based on user supplied weights (lambdas).", "name": "linear_interpolation", "required": false, "type": { "kind": "instance_of", "type": { "name": "LinearInterpolationSmoothingModel", "namespace": "_global.search._types" } } }, { "description": "A simple backoff model that backs off to lower order n-gram models if the higher order count is `0` and discounts the lower order n-gram model by a constant factor.", "name": "stupid_backoff", "required": false, "type": { "kind": "instance_of", "type": { "name": "StupidBackoffSmoothingModel", "namespace": "_global.search._types" } } } ], "specLocation": "_global/search/_types/suggester.ts#L442-L458", "variants": { "kind": "container" } }, { "codegenNames": [ "fetch", "filter" ], "description": "Defines how to fetch a source. Fetching can be disabled entirely, or the source can be filtered.", "kind": "type_alias", "name": { "name": "SourceConfig", "namespace": "_global.search._types" }, "specLocation": "_global/search/_types/SourceFilter.ts#L33-L37", "type": { "items": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "SourceFilter", "namespace": "_global.search._types" } } ], "kind": "union_of" } }, { "codegenNames": [ "fetch", "fields" ], "description": "Defines how to fetch a source. Fetching can be disabled entirely, or the source can be filtered.\nUsed as a query parameter along with the `_source_includes` and `_source_excludes` parameters.", "kind": "type_alias", "name": { "name": "SourceConfigParam", "namespace": "_global.search._types" }, "specLocation": "_global/search/_types/SourceFilter.ts#L39-L45", "type": { "items": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "SourceFilter", "namespace": "_global.search._types" }, "properties": [ { "aliases": [ "exclude" ], "name": "excludes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "aliases": [ "include" ], "name": "includes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } } ], "shortcutProperty": "includes", "specLocation": "_global/search/_types/SourceFilter.ts#L23-L31" }, { "kind": "enum", "members": [ { "description": "Based on the Damerau-Levenshtein algorithm, but highly optimized for comparing string distance for terms inside the index.", "name": "internal" }, { "description": "String distance algorithm based on Damerau-Levenshtein algorithm.", "name": "damerau_levenshtein" }, { "description": "String distance algorithm based on the Levenshtein edit distance algorithm.", "name": "levenshtein" }, { "description": "String distance algorithm based on Jaro-Winkler algorithm.", "name": "jaro_winkler" }, { "description": "String distance algorithm based on character n-grams.", "name": "ngram" } ], "name": { "name": "StringDistance", "namespace": "_global.search._types" }, "specLocation": "_global/search/_types/suggester.ts#L469-L490" }, { "kind": "interface", "name": { "name": "StupidBackoffSmoothingModel", "namespace": "_global.search._types" }, "properties": [ { "description": "A constant factor that the lower order n-gram model is discounted by.", "name": "discount", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/suggester.ts#L460-L465" }, { "generics": [ { "name": "TDocument", "namespace": "_global.search._types" } ], "kind": "type_alias", "name": { "name": "Suggest", "namespace": "_global.search._types" }, "specLocation": "_global/search/_types/suggester.ts#L34-L40", "type": { "items": [ { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.search._types" } } ], "kind": "instance_of", "type": { "name": "CompletionSuggest", "namespace": "_global.search._types" } }, { "kind": "instance_of", "type": { "name": "PhraseSuggest", "namespace": "_global.search._types" } }, { "kind": "instance_of", "type": { "name": "TermSuggest", "namespace": "_global.search._types" } } ], "kind": "union_of" }, "variants": { "kind": "external_tag" } }, { "kind": "interface", "name": { "name": "SuggestBase", "namespace": "_global.search._types" }, "properties": [ { "name": "length", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "offset", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "text", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_global/search/_types/suggester.ts#L42-L46" }, { "kind": "interface", "name": { "name": "SuggestFuzziness", "namespace": "_global.search._types" }, "properties": [ { "description": "The fuzziness factor.", "docId": "fuzziness", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/common-options.html#fuzziness", "name": "fuzziness", "required": false, "serverDefault": "AUTO", "type": { "kind": "instance_of", "type": { "name": "Fuzziness", "namespace": "_types" } } }, { "description": "Minimum length of the input before fuzzy suggestions are returned.", "name": "min_length", "required": false, "serverDefault": 3, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Minimum length of the input, which is not checked for fuzzy alternatives.", "name": "prefix_length", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "If set to `true`, transpositions are counted as one change instead of two.", "name": "transpositions", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, all measurements (like fuzzy edit distance, transpositions, and lengths) are measured in Unicode code points instead of in bytes.\nThis is slightly slower than raw bytes.", "name": "unicode_aware", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/search/_types/suggester.ts#L193-L221" }, { "kind": "enum", "members": [ { "description": "Sort by score first, then document frequency and then the term itself.", "name": "score" }, { "description": "Sort by document frequency first, then similarity score and then the term itself.", "name": "frequency" } ], "name": { "name": "SuggestSort", "namespace": "_global.search._types" }, "specLocation": "_global/search/_types/suggester.ts#L492-L501" }, { "attachedBehaviors": [ "AdditionalProperties" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "FieldSuggester", "namespace": "_global.search._types" } } ], "type": { "name": "AdditionalProperties", "namespace": "_spec_utils" } } ], "kind": "interface", "name": { "name": "Suggester", "namespace": "_global.search._types" }, "properties": [ { "description": "Global suggest text, to avoid repetition when the same text is used in several suggesters", "name": "text", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_global/search/_types/suggester.ts#L101-L104" }, { "kind": "interface", "name": { "name": "SuggesterBase", "namespace": "_global.search._types" }, "properties": [ { "description": "The field to fetch the candidate suggestions from.\nNeeds to be set globally or per suggestion.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The analyzer to analyze the suggest text with.\nDefaults to the search analyzer of the suggest field.", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The maximum corrections to be returned per suggest text token.", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/suggester.ts#L141-L156" }, { "inherits": { "type": { "name": "SuggestBase", "namespace": "_global.search._types" } }, "kind": "interface", "name": { "name": "TermSuggest", "namespace": "_global.search._types" }, "properties": [ { "name": "options", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "TermSuggestOption", "namespace": "_global.search._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TermSuggestOption", "namespace": "_global.search._types" } } } ], "kind": "union_of" } } ], "specLocation": "_global/search/_types/suggester.ts#L64-L69", "variantName": "term" }, { "kind": "interface", "name": { "name": "TermSuggestOption", "namespace": "_global.search._types" }, "properties": [ { "name": "text", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "freq", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "highlighted", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "collate_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/search/_types/suggester.ts#L93-L99" }, { "inherits": { "type": { "name": "SuggesterBase", "namespace": "_global.search._types" } }, "kind": "interface", "name": { "name": "TermSuggester", "namespace": "_global.search._types" }, "properties": [ { "name": "lowercase_terms", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The maximum edit distance candidate suggestions can have in order to be considered as a suggestion.\nCan only be `1` or `2`.", "name": "max_edits", "required": false, "serverDefault": 2, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "A factor that is used to multiply with the shard_size in order to inspect more candidate spelling corrections on the shard level.\nCan improve accuracy at the cost of performance.", "name": "max_inspections", "required": false, "serverDefault": 5, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum threshold in number of documents in which a suggest text token can exist in order to be included.\nCan be a relative percentage number (for example `0.4`) or an absolute number to represent document frequencies.\nIf a value higher than 1 is specified, then fractional can not be specified.", "name": "max_term_freq", "required": false, "serverDefault": 0.01, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "The minimal threshold in number of documents a suggestion should appear in.\nThis can improve quality by only suggesting high frequency terms.\nCan be specified as an absolute number or as a relative percentage of number of documents.\nIf a value higher than 1 is specified, then the number cannot be fractional.", "name": "min_doc_freq", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "The minimum length a suggest text term must have in order to be included.", "name": "min_word_length", "required": false, "serverDefault": 4, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of minimal prefix characters that must match in order be a candidate for suggestions.\nIncreasing this number improves spellcheck performance.", "name": "prefix_length", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Sets the maximum number of suggestions to be retrieved from each individual shard.", "name": "shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Defines how suggestions should be sorted per suggest text term.", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "SuggestSort", "namespace": "_global.search._types" } } }, { "description": "The string distance implementation to use for comparing how similar suggested terms are.", "name": "string_distance", "required": false, "serverDefault": "internal", "type": { "kind": "instance_of", "type": { "name": "StringDistance", "namespace": "_global.search._types" } } }, { "description": "Controls what suggestions are included or controls for what suggest text terms, suggestions should be suggested.", "name": "suggest_mode", "required": false, "type": { "kind": "instance_of", "type": { "name": "SuggestMode", "namespace": "_types" } } }, { "description": "The suggest text.\nNeeds to be set globally or per suggestion.", "name": "text", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_global/search/_types/suggester.ts#L503-L565" }, { "kind": "interface", "name": { "name": "TotalHits", "namespace": "_global.search._types" }, "properties": [ { "name": "relation", "required": true, "type": { "kind": "instance_of", "type": { "name": "TotalHitsRelation", "namespace": "_global.search._types" } } }, { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_global/search/_types/hits.ts#L94-L97" }, { "kind": "enum", "members": [ { "description": "Accurate", "name": "eq" }, { "description": "Lower bound, including returned events or sequences", "name": "gte" } ], "name": { "name": "TotalHitsRelation", "namespace": "_global.search._types" }, "specLocation": "_global/search/_types/hits.ts#L99-L104" }, { "codegenNames": [ "enabled", "count" ], "description": "Number of hits matching the query to count accurately. If true, the exact\nnumber of hits is returned at the cost of some performance. If false, the\nresponse does not include the total number of hits matching the query.\nDefaults to 10,000 hits.", "kind": "type_alias", "name": { "name": "TrackHits", "namespace": "_global.search._types" }, "specLocation": "_global/search/_types/hits.ts#L142-L150", "type": { "items": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } ], "kind": "union_of" } }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Sub-aggregations for the geotile_grid.\n\nSupports the following aggregation types:\n- avg\n- cardinality\n- max\n- min\n- sum", "name": "aggs", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AggregationContainer", "namespace": "_types.aggregations" } } } }, { "description": "Size, in pixels, of a clipping buffer outside the tile. This allows renderers\nto avoid outline artifacts from geometries that extend past the extent of the tile.", "name": "buffer", "required": false, "serverDefault": 5, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "If false, the meta layer’s feature is the bounding box of the tile.\nIf true, the meta layer’s feature is a bounding box resulting from a\ngeo_bounds aggregation. The aggregation runs on values that intersect\nthe // tile with wrap_longitude set to false. The resulting\nbounding box may be larger than the vector tile.", "name": "exact_bounds", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Size, in pixels, of a side of the tile. Vector tiles are square with equal sides.", "name": "extent", "required": false, "serverDefault": 4096, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Fields to return in the `hits` layer. Supports wildcards (`*`).\nThis parameter does not support fields with array values. Fields with array\nvalues may return inconsistent results.", "name": "fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Aggregation used to create a grid for the `field`.", "name": "grid_agg", "required": false, "type": { "kind": "instance_of", "type": { "name": "GridAggregationType", "namespace": "_global.search_mvt._types" } } }, { "description": "Additional zoom levels available through the aggs layer. For example, if is 7\nand grid_precision is 8, you can zoom in up to level 15. Accepts 0-8. If 0, results\ndon’t include the aggs layer.", "name": "grid_precision", "required": false, "serverDefault": 8, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Determines the geometry type for features in the aggs layer. In the aggs layer,\neach feature represents a geotile_grid cell. If 'grid' each feature is a Polygon\nof the cells bounding box. If 'point' each feature is a Point that is the centroid\nof the cell.", "name": "grid_type", "required": false, "serverDefault": "grid", "type": { "kind": "instance_of", "type": { "name": "GridType", "namespace": "_global.search_mvt._types" } } }, { "description": "Query DSL used to filter documents for the search.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Defines one or more runtime fields in the search request. These fields take\nprecedence over mapped fields with the same name.", "name": "runtime_mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } }, { "description": "Maximum number of features to return in the hits layer. Accepts 0-10000.\nIf 0, results don’t include the hits layer.", "name": "size", "required": false, "serverDefault": 10000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Sorts features in the hits layer. By default, the API calculates a bounding\nbox for each feature. It sorts features based on this box’s diagonal length,\nfrom longest to shortest.", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "Sort", "namespace": "_types" } } }, { "description": "Number of hits matching the query to count accurately. If `true`, the exact number\nof hits is returned at the cost of some performance. If `false`, the response does\nnot include the total number of hits matching the query.", "name": "track_total_hits", "required": false, "serverDefault": "10000", "type": { "kind": "instance_of", "type": { "name": "TrackHits", "namespace": "_global.search._types" } } }, { "description": "If `true`, the hits and aggs layers will contain additional point features representing\nsuggested label positions for the original features.", "name": "with_labels", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "description": "Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.search_mvt" }, "path": [ { "description": "Comma-separated list of data streams, indices, or aliases to search", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "Field containing geospatial data to return", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Zoom level for the vector tile to search", "name": "zoom", "required": true, "type": { "kind": "instance_of", "type": { "name": "ZoomLevel", "namespace": "_global.search_mvt._types" } } }, { "description": "X coordinate for the vector tile to search", "name": "x", "required": true, "type": { "kind": "instance_of", "type": { "name": "Coordinate", "namespace": "_global.search_mvt._types" } } }, { "description": "Y coordinate for the vector tile to search", "name": "y", "required": true, "type": { "kind": "instance_of", "type": { "name": "Coordinate", "namespace": "_global.search_mvt._types" } } } ], "query": [ { "description": "If false, the meta layer’s feature is the bounding box of the tile.\nIf true, the meta layer’s feature is a bounding box resulting from a\ngeo_bounds aggregation. The aggregation runs on values that intersect\nthe // tile with wrap_longitude set to false. The resulting\nbounding box may be larger than the vector tile.", "name": "exact_bounds", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Size, in pixels, of a side of the tile. Vector tiles are square with equal sides.", "name": "extent", "required": false, "serverDefault": 4096, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Aggregation used to create a grid for `field`.", "name": "grid_agg", "required": false, "type": { "kind": "instance_of", "type": { "name": "GridAggregationType", "namespace": "_global.search_mvt._types" } } }, { "description": "Additional zoom levels available through the aggs layer. For example, if is 7\nand grid_precision is 8, you can zoom in up to level 15. Accepts 0-8. If 0, results\ndon’t include the aggs layer.", "name": "grid_precision", "required": false, "serverDefault": 8, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Determines the geometry type for features in the aggs layer. In the aggs layer,\neach feature represents a geotile_grid cell. If 'grid' each feature is a Polygon\nof the cells bounding box. If 'point' each feature is a Point that is the centroid\nof the cell.", "name": "grid_type", "required": false, "serverDefault": "grid", "type": { "kind": "instance_of", "type": { "name": "GridType", "namespace": "_global.search_mvt._types" } } }, { "description": "Maximum number of features to return in the hits layer. Accepts 0-10000.\nIf 0, results don’t include the hits layer.", "name": "size", "required": false, "serverDefault": 10000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "If `true`, the hits and aggs layers will contain additional point features representing\nsuggested label positions for the original features.", "name": "with_labels", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/search_mvt/SearchMvtRequest.ts#L33-L188" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "MapboxVectorTiles", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "_global.search_mvt" }, "specLocation": "_global/search_mvt/SearchMvtResponse.ts#L22-L25" }, { "kind": "type_alias", "name": { "name": "Coordinate", "namespace": "_global.search_mvt._types" }, "specLocation": "_global/search_mvt/_types/Coordinate.ts#L22-L22", "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "kind": "enum", "members": [ { "name": "geotile" }, { "name": "geohex" } ], "name": { "name": "GridAggregationType", "namespace": "_global.search_mvt._types" }, "specLocation": "_global/search_mvt/_types/GridType.ts#L30-L33" }, { "kind": "enum", "members": [ { "name": "grid" }, { "name": "point" }, { "availability": { "serverless": {}, "stack": { "since": "7.16.0" } }, "name": "centroid", "since": "7.16.0" } ], "name": { "name": "GridType", "namespace": "_global.search_mvt._types" }, "specLocation": "_global/search_mvt/_types/GridType.ts#L20-L28" }, { "kind": "type_alias", "name": { "name": "ZoomLevel", "namespace": "_global.search_mvt._types" }, "specLocation": "_global/search_mvt/_types/ZoomLevel.ts#L22-L22", "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about the indices and shards that a search request would be executed against.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.search_shards" }, "path": [ { "description": "Returns the indices and shards that a search request would be executed against.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "name": "allow_no_indices", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the request retrieves information from the local node only.", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } } ], "specLocation": "_global/search_shards/SearchShardsRequest.ts#L23-L70" }, { "body": { "kind": "properties", "properties": [ { "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "NodeAttributes", "namespace": "_types" } } } }, { "name": "shards", "required": true, "type": { "kind": "array_of", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "NodeShard", "namespace": "_types" } } } } }, { "name": "indices", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ShardStoreIndex", "namespace": "_global.search_shards" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.search_shards" }, "specLocation": "_global/search_shards/SearchShardsResponse.ts#L25-L31" }, { "kind": "interface", "name": { "name": "ShardStoreIndex", "namespace": "_global.search_shards" }, "properties": [ { "name": "aliases", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } }, { "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ], "specLocation": "_global/search_shards/SearchShardsResponse.ts#L33-L36" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "If `true`, returns detailed information about score calculation as part of each hit.", "name": "explain", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "ID of the search template to use. If no source is specified,\nthis parameter is required.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "If `true`, the query execution is profiled.", "name": "profile", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required.", "name": "source", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Runs a search with a search template.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.search_template" }, "path": [ { "description": "Comma-separated list of data streams, indices,\nand aliases to search. Supports wildcards (*).", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, network round-trips are minimized for cross-cluster search requests.", "name": "ccs_minimize_roundtrips", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `true`, the response includes additional details about score computation as part of a hit.", "name": "explain", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, specified concrete, expanded, or aliased indices are not included in the response when throttled.", "name": "ignore_throttled", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, the query execution is profiled.", "name": "profile", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "Specifies how long a consistent view of the index\nshould be maintained for scrolled search.", "name": "scroll", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The type of the search operation.", "name": "search_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchType", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.0.0" } }, "description": "If true, hits.total are rendered as an integer in the response.", "name": "rest_total_hits_as_int", "required": false, "serverDefault": false, "since": "7.0.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the response prefixes aggregation and suggester names with their respective types.", "name": "typed_keys", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/search_template/SearchTemplateRequest.ts#L32-L134" }, { "body": { "kind": "properties", "properties": [ { "name": "took", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "timed_out", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } }, { "name": "hits", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.search_template" } } ], "kind": "instance_of", "type": { "name": "HitsMetadata", "namespace": "_global.search._types" } } }, { "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "AggregateName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Aggregate", "namespace": "_types.aggregations" } } } }, { "name": "_clusters", "required": false, "type": { "kind": "instance_of", "type": { "name": "ClusterStatistics", "namespace": "_types" } } }, { "name": "fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "max_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "num_reduce_phases", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "profile", "required": false, "type": { "kind": "instance_of", "type": { "name": "Profile", "namespace": "_global.search._types" } } }, { "name": "pit_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "_scroll_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScrollId", "namespace": "_types" } } }, { "name": "suggest", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "SuggestionName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "array_of", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.search_template" } } ], "kind": "instance_of", "type": { "name": "Suggest", "namespace": "_global.search._types" } } } } }, { "name": "terminated_early", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "generics": [ { "name": "TDocument", "namespace": "_global.search_template" } ], "kind": "response", "name": { "name": "Response", "namespace": "_global.search_template" }, "specLocation": "_global/search_template/SearchTemplateResponse.ts#L30-L48" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The string to match at the start of indexed terms. If not provided, all terms in the field are considered.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "How many matching terms to return.", "name": "size", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum length of time to spend collecting results. Defaults to \"1s\" (one second). If the timeout is exceeded the complete flag set to false in the response and the results may be partial or empty.", "name": "timeout", "required": false, "serverDefault": "1s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "When true the provided search string is matched against index terms without case sensitivity.", "name": "case_insensitive", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Allows to filter an index shard if the provided query rewrites to match_none.", "docId": "query-dsl", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl.html", "name": "index_filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "The string after which terms in the index should be returned. Allows for a form of pagination if the last result from one request is passed as the search_after parameter for a subsequent request.", "name": "string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "search_after", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.terms_enum" }, "path": [ { "description": "Comma-separated list of data streams, indices, and index aliases to search. Wildcard (*) expressions are supported.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [], "specLocation": "_global/terms_enum/TermsEnumRequest.ts#L26-L65" }, { "body": { "kind": "properties", "properties": [ { "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } }, { "name": "terms", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "complete", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.terms_enum" }, "specLocation": "_global/terms_enum/TermsEnumResponse.ts#L22-L28" }, { "kind": "interface", "name": { "name": "FieldStatistics", "namespace": "_global.termvectors" }, "properties": [ { "name": "doc_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "sum_doc_freq", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "sum_ttf", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_global/termvectors/types.ts#L28-L32" }, { "kind": "interface", "name": { "name": "Filter", "namespace": "_global.termvectors" }, "properties": [ { "description": "Ignore words which occur in more than this many docs.\nDefaults to unbounded.", "name": "max_doc_freq", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Maximum number of terms that must be returned per field.", "name": "max_num_terms", "required": false, "serverDefault": 25, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Ignore words with more than this frequency in the source doc.\nDefaults to unbounded.", "name": "max_term_freq", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum word length above which words will be ignored.\nDefaults to unbounded.", "name": "max_word_length", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Ignore terms which do not occur in at least this many docs.", "name": "min_doc_freq", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Ignore words with less than this frequency in the source doc.", "name": "min_term_freq", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The minimum word length below which words will be ignored.", "name": "min_word_length", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/termvectors/types.ts#L49-L86" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "An artificial document (a document not present in the index) for which you want to retrieve term vectors.", "name": "doc", "required": false, "type": { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.termvectors" } } }, { "description": "Filter terms based on their tf-idf scores.", "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "Filter", "namespace": "_global.termvectors" } } }, { "description": "Overrides the default per-field analyzer.", "name": "per_field_analyzer", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "description": "Returns information and statistics about terms in the fields of a particular document.", "generics": [ { "name": "TDocument", "namespace": "_global.termvectors" } ], "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.termvectors" }, "path": [ { "description": "Name of the index that contains the document.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Unique identifier of the document.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.\nUsed as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.", "name": "fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.", "name": "field_statistics", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the response includes term offsets.", "name": "offsets", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the response includes term payloads.", "name": "payloads", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the response includes term positions.", "name": "positions", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If true, the request is real-time as opposed to near-real-time.", "docId": "realtime", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-get.html#realtime", "name": "realtime", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "If `true`, the response includes term frequency and document frequency.", "name": "term_statistics", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, returns the document version as part of a hit.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "Specific version type.", "name": "version_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionType", "namespace": "_types" } } } ], "specLocation": "_global/termvectors/TermVectorsRequest.ts#L33-L118" }, { "body": { "kind": "properties", "properties": [ { "name": "found", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "term_vectors", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "TermVector", "namespace": "_global.termvectors" } } } }, { "name": "took", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.termvectors" }, "specLocation": "_global/termvectors/TermVectorsResponse.ts#L25-L34" }, { "kind": "interface", "name": { "name": "Term", "namespace": "_global.termvectors" }, "properties": [ { "name": "doc_freq", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "score", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "term_freq", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "tokens", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Token", "namespace": "_global.termvectors" } } } }, { "name": "ttf", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/termvectors/types.ts#L34-L40" }, { "kind": "interface", "name": { "name": "TermVector", "namespace": "_global.termvectors" }, "properties": [ { "name": "field_statistics", "required": true, "type": { "kind": "instance_of", "type": { "name": "FieldStatistics", "namespace": "_global.termvectors" } } }, { "name": "terms", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Term", "namespace": "_global.termvectors" } } } } ], "specLocation": "_global/termvectors/types.ts#L23-L26" }, { "kind": "interface", "name": { "name": "Token", "namespace": "_global.termvectors" }, "properties": [ { "name": "end_offset", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "payload", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "position", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "start_offset", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_global/termvectors/types.ts#L42-L47" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Set to false to disable setting 'result' in the response\nto 'noop' if no change to the document occurred.", "name": "detect_noop", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "A partial update to an existing document.", "name": "doc", "required": false, "type": { "kind": "instance_of", "type": { "name": "TPartialDocument", "namespace": "_global.update" } } }, { "description": "Set to true to use the contents of 'doc' as the value of 'upsert'", "name": "doc_as_upsert", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Script to execute to update the document.", "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "description": "Set to true to execute the script whether or not the document exists.", "name": "scripted_upsert", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Set to false to disable source retrieval. You can also specify a comma-separated\nlist of the fields you want to retrieve.", "name": "_source", "required": false, "serverDefault": "true", "type": { "kind": "instance_of", "type": { "name": "SourceConfig", "namespace": "_global.search._types" } } }, { "description": "If the document does not already exist, the contents of 'upsert' are inserted as a\nnew document. If the document exists, the 'script' is executed.", "name": "upsert", "required": false, "type": { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.update" } } } ] }, "description": "Updates a document with a script or partial document.", "generics": [ { "name": "TDocument", "namespace": "_global.update" }, { "name": "TPartialDocument", "namespace": "_global.update" } ], "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.update" }, "path": [ { "description": "Document ID", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The name of the index", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "Only perform the operation if the document has this primary term.", "name": "if_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Only perform the operation if the document has this sequence number.", "name": "if_seq_no", "required": false, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "description": "The script language.", "name": "lang", "required": false, "serverDefault": "painless", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", "name": "refresh", "required": false, "serverDefault": "false", "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } }, { "description": "If true, the destination must be an index alias.", "name": "require_alias", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specify how many times should the operation be retried when a conflict occurs.", "name": "retry_on_conflict", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "Period to wait for dynamic mapping updates and active shards.\nThis guarantees Elasticsearch waits for at least the timeout before failing.\nThe actual wait time could be longer, particularly when multiple waits occur.", "name": "timeout", "required": false, "serverDefault": "1m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The number of shard copies that must be active before proceeding with the operations.\nSet to 'all' or any positive integer up to the total number of shards in the index\n(number_of_replicas+1). Defaults to 1 meaning the primary shard.", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } }, { "description": "Set to false to disable source retrieval. You can also specify a comma-separated\nlist of the fields you want to retrieve.", "name": "_source", "required": false, "serverDefault": "true", "type": { "kind": "instance_of", "type": { "name": "SourceConfigParam", "namespace": "_global.search._types" } } }, { "description": "Specify the source fields you want to exclude.", "name": "_source_excludes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Specify the source fields you want to retrieve.", "name": "_source_includes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } } ], "specLocation": "_global/update/UpdateRequest.ts#L38-L151" }, { "body": { "kind": "value", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.update" } } ], "kind": "instance_of", "type": { "name": "UpdateWriteResponseBase", "namespace": "_global.update" } } }, "generics": [ { "name": "TDocument", "namespace": "_global.update" } ], "kind": "response", "name": { "name": "Response", "namespace": "_global.update" }, "specLocation": "_global/update/UpdateResponse.ts#L27-L29" }, { "generics": [ { "name": "TDocument", "namespace": "_global.update" } ], "inherits": { "type": { "name": "WriteResponseBase", "namespace": "_types" } }, "kind": "interface", "name": { "name": "UpdateWriteResponseBase", "namespace": "_global.update" }, "properties": [ { "name": "get", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_global.update" } } ], "kind": "instance_of", "type": { "name": "InlineGet", "namespace": "_types" } } } ], "specLocation": "_global/update/UpdateResponse.ts#L23-L25" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The maximum number of documents to update.", "name": "max_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Specifies the documents to update using the Query DSL.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "The script to run to update the document source or metadata when updating.", "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "description": "Slice the request manually using the provided slice ID and total number of slices.", "name": "slice", "required": false, "type": { "kind": "instance_of", "type": { "name": "SlicedScroll", "namespace": "_types" } } }, { "description": "What to do if update by query hits version conflicts: `abort` or `proceed`.", "name": "conflicts", "required": false, "serverDefault": "abort", "type": { "kind": "instance_of", "type": { "name": "Conflicts", "namespace": "_types" } } } ] }, "description": "Updates documents that match the specified query.\nIf no query is specified, performs an update on every document in the data stream or index without modifying the source, which is useful for picking up mapping changes.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.update_by_query" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Analyzer to use for the query string.", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, wildcard and prefix queries are analyzed.", "name": "analyze_wildcard", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "What to do if update by query hits version conflicts: `abort` or `proceed`.", "name": "conflicts", "required": false, "serverDefault": "abort", "type": { "kind": "instance_of", "type": { "name": "Conflicts", "namespace": "_types" } } }, { "description": "The default operator for query string query: `AND` or `OR`.", "name": "default_operator", "required": false, "serverDefault": "OR", "type": { "kind": "instance_of", "type": { "name": "Operator", "namespace": "_types.query_dsl" } } }, { "description": "Field to use as default where no field prefix is given in the query string.", "name": "df", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "Starting offset (default: 0)", "name": "from", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", "name": "lenient", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Maximum number of documents to process.\nDefaults to all documents.", "name": "max_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", "name": "pipeline", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Specifies the node or shard the operation should be performed on.\nRandom by default.", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, Elasticsearch refreshes affected shards to make the operation visible to search.", "name": "refresh", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the request cache is used for this request.", "name": "request_cache", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The throttle for this request in sub-requests per second.", "name": "requests_per_second", "required": false, "serverDefault": -1, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "Period to retain the search context for scrolling.", "name": "scroll", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Size of the scroll request that powers the operation.", "name": "scroll_size", "required": false, "serverDefault": 1000, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Explicit timeout for each search request.", "name": "search_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The type of the search operation. Available options: `query_then_fetch`, `dfs_query_then_fetch`.", "name": "search_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchType", "namespace": "_types" } } }, { "description": "The number of slices this task should be divided into.", "name": "slices", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "Slices", "namespace": "_types" } } }, { "description": "A comma-separated list of : pairs.", "name": "sort", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Specific `tag` of the request for logging and statistical purposes.", "name": "stats", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Maximum number of documents to collect for each shard.\nIf a query reaches this limit, Elasticsearch terminates the query early.\nElasticsearch collects documents before sorting.\nUse with caution.\nElasticsearch applies this parameter to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this parameter for requests that target data streams with backing indices across multiple data tiers.", "name": "terminate_after", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Period each update request waits for the following operations: dynamic mapping updates, waiting for active shards.", "name": "timeout", "required": false, "serverDefault": "1m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If `true`, returns the document version as part of a hit.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Should the document increment the version number (internal) on hit or not (reindex)", "name": "version_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } }, { "description": "If `true`, the request blocks until the operation is complete.", "name": "wait_for_completion", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_global/update_by_query/UpdateByQueryRequest.ts#L37-L221" }, { "body": { "kind": "properties", "properties": [ { "name": "batches", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "failures", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "BulkIndexByScrollFailure", "namespace": "_types" } } } }, { "name": "noops", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "deleted", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "requests_per_second", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "name": "retries", "required": false, "type": { "kind": "instance_of", "type": { "name": "Retries", "namespace": "_types" } } }, { "name": "task", "required": false, "type": { "kind": "instance_of", "type": { "name": "TaskId", "namespace": "_types" } } }, { "name": "timed_out", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "took", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "updated", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "version_conflicts", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "throttled", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "throttled_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "throttled_until", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "throttled_until_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.update_by_query" }, "specLocation": "_global/update_by_query/UpdateByQueryResponse.ts#L26-L45" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Changes the number of requests per second for a particular Update By Query operation.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "_global.update_by_query_rethrottle" }, "path": [ { "description": "The ID for the task.", "name": "task_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "The throttle for this request in sub-requests per second.", "name": "requests_per_second", "required": false, "serverDefault": -1, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } ], "specLocation": "_global/update_by_query_rethrottle/UpdateByQueryRethrottleRequest.ts#L24-L43" }, { "body": { "kind": "properties", "properties": [ { "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "UpdateByQueryRethrottleNode", "namespace": "_global.update_by_query_rethrottle" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "_global.update_by_query_rethrottle" }, "specLocation": "_global/update_by_query_rethrottle/UpdateByQueryRethrottleResponse.ts#L23-L25" }, { "inherits": { "type": { "name": "BaseNode", "namespace": "_spec_utils" } }, "kind": "interface", "name": { "name": "UpdateByQueryRethrottleNode", "namespace": "_global.update_by_query_rethrottle" }, "properties": [ { "name": "tasks", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "TaskId", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "TaskInfo", "namespace": "tasks._types" } } } } ], "specLocation": "_global/update_by_query_rethrottle/UpdateByQueryRethrottleNode.ts#L25-L27" }, { "kind": "interface", "name": { "name": "BaseNode", "namespace": "_spec_utils" }, "properties": [ { "name": "attributes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "host", "required": true, "type": { "kind": "instance_of", "type": { "name": "Host", "namespace": "_types" } } }, { "name": "ip", "required": true, "type": { "kind": "instance_of", "type": { "name": "Ip", "namespace": "_types" } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "roles", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeRoles", "namespace": "_types" } } }, { "name": "transport_address", "required": true, "type": { "kind": "instance_of", "type": { "name": "TransportAddress", "namespace": "_types" } } } ], "specLocation": "_spec_utils/BaseNode.ts#L25-L32" }, { "description": "A `null` value that is to be interpreted as an actual value, unless other uses of `null` that are equivalent\nto a missing value. It is used for exemple in settings, where using the `NullValue` for a setting will reset\nit to its default value.", "kind": "type_alias", "name": { "name": "NullValue", "namespace": "_spec_utils" }, "specLocation": "_spec_utils/utils.ts#L22-L27", "type": { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } }, { "description": "A set of flags that can be represented as a single enum value or a set of values that are encoded\nas a pipe-separated string\n\nDepending on the target language, code generators can use this hint to generate language specific\nflags enum constructs and the corresponding (de-)serialization code.", "generics": [ { "name": "T", "namespace": "_spec_utils" } ], "kind": "type_alias", "name": { "name": "PipeSeparatedFlags", "namespace": "_spec_utils" }, "specLocation": "_spec_utils/PipeSeparatedFlags.ts#L20-L27", "type": { "items": [ { "kind": "instance_of", "type": { "name": "T", "namespace": "_spec_utils" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior\nis used to capture this behavior while keeping the semantics of the field type.\n\nDepending on the target language, code generators can keep the union or remove it and leniently parse\nstrings to the target type.", "generics": [ { "name": "T", "namespace": "_spec_utils" } ], "kind": "type_alias", "name": { "name": "Stringified", "namespace": "_spec_utils" }, "specLocation": "_spec_utils/Stringified.ts#L20-L27", "type": { "items": [ { "kind": "instance_of", "type": { "name": "T", "namespace": "_spec_utils" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "The absence of any type. This is commonly used in APIs that don't return a body.\n\nAlthough \"void\" is generally used for the unit type that has only one value, this is to be interpreted as\nthe bottom type that has no value at all. Most languages have a unit type, but few have a bottom type.\n\nSee https://en.m.wikipedia.org/wiki/Unit_type and https://en.m.wikipedia.org/wiki/Bottom_type", "kind": "type_alias", "name": { "name": "Void", "namespace": "_spec_utils" }, "specLocation": "_spec_utils/VoidValue.ts#L20-L28", "type": { "kind": "instance_of", "type": { "name": "void", "namespace": "_builtins" } } }, { "description": "`WithNullValue` allows for explicit null assignments in contexts where `null` should be interpreted as an\nactual value.", "generics": [ { "name": "T", "namespace": "_spec_utils" } ], "kind": "type_alias", "name": { "name": "WithNullValue", "namespace": "_spec_utils" }, "specLocation": "_spec_utils/utils.ts#L29-L33", "type": { "items": [ { "kind": "instance_of", "type": { "name": "T", "namespace": "_spec_utils" } }, { "kind": "instance_of", "type": { "name": "NullValue", "namespace": "_spec_utils" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "AcknowledgedResponseBase", "namespace": "_types" }, "properties": [ { "description": "For a successful response, this value is always true. On failure, an exception is returned instead.", "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/Base.ts#L47-L50" }, { "description": "The aggregation name as returned from the server. Depending whether typed_keys is specified this could come back\nin the form of `name#type` instead of simply `name`", "kind": "type_alias", "name": { "name": "AggregateName", "namespace": "_types" }, "specLocation": "_types/common.ts#L145-L149", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "interface", "name": { "name": "BulkIndexByScrollFailure", "namespace": "_types" }, "properties": [ { "name": "cause", "required": true, "type": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/Errors.ts#L58-L64" }, { "kind": "interface", "name": { "name": "BulkStats", "namespace": "_types" }, "properties": [ { "name": "total_operations", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "total_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "total_size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "avg_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "avg_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "avg_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "avg_size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L68-L78" }, { "docId": "byte-units", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/api-conventions.html#byte-units", "kind": "type_alias", "name": { "name": "ByteSize", "namespace": "_types" }, "specLocation": "_types/common.ts#L96-L97", "type": { "items": [ { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "kind": "enum", "members": [ { "codegenName": "bytes", "name": "b" }, { "codegenName": "kilo_bytes", "name": "kb" }, { "codegenName": "mega_bytes", "name": "mb" }, { "codegenName": "giga_bytes", "name": "gb" }, { "codegenName": "tera_bytes", "name": "tb" }, { "codegenName": "peta_bytes", "name": "pb" } ], "name": { "name": "Bytes", "namespace": "_types" }, "specLocation": "_types/common.ts#L169-L181" }, { "kind": "type_alias", "name": { "name": "CategoryId", "namespace": "_types" }, "specLocation": "_types/common.ts#L58-L58", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "ClusterAlias", "namespace": "_types" }, "specLocation": "_types/common.ts#L78-L78", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "interface", "name": { "name": "ClusterDetails", "namespace": "_types" }, "properties": [ { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterSearchStatus", "namespace": "_types" } } }, { "name": "indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "took", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "timed_out", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "_shards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } }, { "name": "failures", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ShardFailure", "namespace": "_types" } } } } ], "specLocation": "_types/Stats.ts#L45-L52" }, { "kind": "enum", "members": [ { "name": "_all" }, { "name": "http" }, { "name": "ingest" }, { "name": "thread_pool" }, { "name": "script" } ], "name": { "name": "ClusterInfoTarget", "namespace": "_types" }, "specLocation": "_types/common.ts#L378-L384" }, { "kind": "type_alias", "name": { "name": "ClusterInfoTargets", "namespace": "_types" }, "specLocation": "_types/common.ts#L386-L386", "type": { "items": [ { "kind": "instance_of", "type": { "name": "ClusterInfoTarget", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ClusterInfoTarget", "namespace": "_types" } } } ], "kind": "union_of" } }, { "kind": "enum", "members": [ { "name": "running" }, { "name": "successful" }, { "name": "partial" }, { "name": "skipped" }, { "name": "failed" } ], "name": { "name": "ClusterSearchStatus", "namespace": "_types" }, "specLocation": "_types/Stats.ts#L37-L43" }, { "kind": "interface", "name": { "name": "ClusterStatistics", "namespace": "_types" }, "properties": [ { "name": "skipped", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "successful", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "running", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "partial", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "failed", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "details", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "ClusterAlias", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ClusterDetails", "namespace": "_types" } } } } ], "specLocation": "_types/Stats.ts#L27-L35" }, { "kind": "interface", "name": { "name": "CompletionStats", "namespace": "_types" }, "properties": [ { "description": "Total amount, in bytes, of memory used for completion across all shards assigned to selected nodes.", "name": "size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total amount of memory used for completion across all shards assigned to selected nodes.", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "FieldSizeUsage", "namespace": "_types" } } } } ], "specLocation": "_types/Stats.ts#L80-L90" }, { "kind": "enum", "members": [ { "description": "Stop reindexing if there are conflicts.", "name": "abort" }, { "description": "Continue reindexing even if there are conflicts.", "name": "proceed" } ], "name": { "name": "Conflicts", "namespace": "_types" }, "specLocation": "_types/common.ts#L183-L192" }, { "kind": "interface", "name": { "name": "CoordsGeoBounds", "namespace": "_types" }, "properties": [ { "name": "top", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "bottom", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "left", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "right", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_types/Geo.ts#L154-L159" }, { "kind": "enum", "members": [ { "name": "standardized" }, { "name": "saturated" }, { "name": "chisquared" } ], "name": { "name": "DFIIndependenceMeasure", "namespace": "_types" }, "specLocation": "_types/Similarity.ts#L20-L24" }, { "kind": "enum", "members": [ { "name": "no" }, { "name": "b" }, { "name": "l" } ], "name": { "name": "DFRAfterEffect", "namespace": "_types" }, "specLocation": "_types/Similarity.ts#L26-L30" }, { "kind": "enum", "members": [ { "name": "be" }, { "name": "d" }, { "name": "g" }, { "name": "if" }, { "name": "in" }, { "name": "ine" }, { "name": "p" } ], "name": { "name": "DFRBasicModel", "namespace": "_types" }, "specLocation": "_types/Similarity.ts#L32-L40" }, { "docId": "data-stream-path-param", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-create-data-stream.html#indices-create-data-stream-api-path-params", "kind": "type_alias", "name": { "name": "DataStreamName", "namespace": "_types" }, "specLocation": "_types/common.ts#L91-L92", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "DataStreamNames", "namespace": "_types" }, "specLocation": "_types/common.ts#L94-L94", "type": { "items": [ { "kind": "instance_of", "type": { "name": "DataStreamName", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DataStreamName", "namespace": "_types" } } } ], "kind": "union_of" } }, { "docId": "mapping-date-format", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-date-format.html", "kind": "type_alias", "name": { "name": "DateFormat", "namespace": "_types" }, "specLocation": "_types/Time.ts#L49-L50", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "DateMath", "namespace": "_types" }, "specLocation": "_types/Time.ts#L42-L42", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A date and time, either as a string whose format can depend on the context (defaulting to ISO 8601), or a\nnumber of milliseconds since the Epoch. Elasticsearch accepts both as input, but will generally output a string\nrepresentation.", "kind": "type_alias", "name": { "name": "DateTime", "namespace": "_types" }, "specLocation": "_types/Time.ts#L22-L27", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } ], "kind": "union_of" } }, { "kind": "type_alias", "name": { "name": "Distance", "namespace": "_types" }, "specLocation": "_types/Geo.ts#L28-L28", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "enum", "members": [ { "codegenName": "inches", "name": "in" }, { "codegenName": "feet", "name": "ft" }, { "codegenName": "yards", "name": "yd" }, { "codegenName": "miles", "name": "mi" }, { "codegenName": "nautic_miles", "name": "nmi" }, { "codegenName": "kilometers", "name": "km" }, { "codegenName": "meters", "name": "m" }, { "codegenName": "centimeters", "name": "cm" }, { "codegenName": "millimeters", "name": "mm" } ], "name": { "name": "DistanceUnit", "namespace": "_types" }, "specLocation": "_types/Geo.ts#L30-L40" }, { "kind": "interface", "name": { "name": "DocStats", "namespace": "_types" }, "properties": [ { "description": "Total number of non-deleted documents across all primary shards assigned to selected nodes.\nThis number is based on documents in Lucene segments and may include documents from nested fields.", "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total number of deleted documents across all primary shards assigned to selected nodes.\nThis number is based on documents in Lucene segments.\nElasticsearch reclaims the disk space of deleted Lucene documents when a segment is merged.", "name": "deleted", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L97-L109" }, { "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.", "docId": "time-value", "docUrl": "https://github.com/elastic/elasticsearch/blob/{branch}/libs/core/src/main/java/org/elasticsearch/core/TimeValue.java", "kind": "type_alias", "name": { "name": "Duration", "namespace": "_types" }, "specLocation": "_types/Time.ts#L52-L58", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "literal_value", "value": -1 }, { "kind": "literal_value", "value": 0 } ], "kind": "union_of" } }, { "description": "A date histogram interval. Similar to `Duration` with additional units: `w` (week), `M` (month), `q` (quarter) and\n`y` (year)", "kind": "type_alias", "name": { "name": "DurationLarge", "namespace": "_types" }, "specLocation": "_types/Time.ts#L60-L65", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "generics": [ { "name": "Unit", "namespace": "_types" } ], "kind": "type_alias", "name": { "name": "DurationValue", "namespace": "_types" }, "specLocation": "_types/Time.ts#L67-L67", "type": { "kind": "instance_of", "type": { "name": "Unit", "namespace": "_types" } } }, { "kind": "interface", "name": { "name": "ElasticsearchVersionInfo", "namespace": "_types" }, "properties": [ { "name": "build_date", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "build_flavor", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "build_hash", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "build_snapshot", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "build_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "lucene_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "minimum_index_compatibility_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "minimum_wire_compatibility_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "number", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/Base.ts#L54-L64" }, { "description": "Reduced (minimal) info ElasticsearchVersion", "kind": "interface", "name": { "name": "ElasticsearchVersionMinInfo", "namespace": "_types" }, "properties": [ { "name": "build_flavor", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "minimum_index_compatibility_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "minimum_wire_compatibility_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "number", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/Base.ts#L66-L74" }, { "description": "For empty Class assignments", "kind": "interface", "name": { "name": "EmptyObject", "namespace": "_types" }, "properties": [], "specLocation": "_types/common.ts#L160-L161" }, { "generics": [ { "name": "Unit", "namespace": "_types" } ], "kind": "type_alias", "name": { "name": "EpochTime", "namespace": "_types" }, "specLocation": "_types/Time.ts#L40-L40", "type": { "kind": "instance_of", "type": { "name": "Unit", "namespace": "_types" } } }, { "attachedBehaviors": [ "AdditionalProperties" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "user_defined_value" } ], "type": { "name": "AdditionalProperties", "namespace": "_spec_utils" } } ], "description": "Cause and details about a request failure. This class defines the properties common to all error types.\nAdditional details are also provided, that depend on the error type.", "kind": "interface", "name": { "name": "ErrorCause", "namespace": "_types" }, "properties": [ { "description": "The type of error", "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A human-readable explanation of the error, in english", "name": "reason", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The server stack trace. Present only if the `error_trace=true` parameter was sent with the request.", "name": "stack_trace", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "caused_by", "required": false, "type": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } }, { "name": "root_cause", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } } }, { "name": "suppressed", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } } } ], "specLocation": "_types/Errors.ts#L25-L48" }, { "description": "The response returned by Elasticsearch when request execution did not succeed.", "kind": "interface", "name": { "name": "ErrorResponseBase", "namespace": "_types" }, "properties": [ { "name": "error", "required": true, "type": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/Base.ts#L76-L85" }, { "kind": "type_alias", "name": { "name": "EsqlColumns", "namespace": "_types" }, "specLocation": "_types/Binary.ts#L24-L24", "type": { "kind": "instance_of", "type": { "name": "binary", "namespace": "_builtins" } } }, { "kind": "enum", "members": [ { "description": "Match any data stream or index, including hidden ones.", "name": "all" }, { "description": "Match open, non-hidden indices. Also matches any non-hidden data stream.", "name": "open" }, { "description": "Match closed, non-hidden indices. Also matches any non-hidden data stream. Data streams cannot be closed.", "name": "closed" }, { "description": "Match hidden data streams and hidden indices. Must be combined with open, closed, or both.", "name": "hidden" }, { "description": "Wildcard expressions are not accepted.", "name": "none" } ], "name": { "name": "ExpandWildcard", "namespace": "_types" }, "specLocation": "_types/common.ts#L201-L215" }, { "kind": "type_alias", "name": { "name": "ExpandWildcards", "namespace": "_types" }, "specLocation": "_types/common.ts#L217-L217", "type": { "items": [ { "kind": "instance_of", "type": { "name": "ExpandWildcard", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ExpandWildcard", "namespace": "_types" } } } ], "kind": "union_of" } }, { "description": "Path to field or array of paths. Some API's support wildcards in the path to select multiple fields.", "kind": "type_alias", "name": { "name": "Field", "namespace": "_types" }, "specLocation": "_types/common.ts#L138-L139", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "interface", "name": { "name": "FieldMemoryUsage", "namespace": "_types" }, "properties": [ { "name": "memory_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "memory_size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L118-L121" }, { "kind": "interface", "name": { "name": "FieldSizeUsage", "namespace": "_types" }, "properties": [ { "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L92-L95" }, { "kind": "interface", "name": { "name": "FieldSort", "namespace": "_types" }, "properties": [ { "name": "missing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Missing", "namespace": "_types.aggregations" } } }, { "name": "mode", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortMode", "namespace": "_types" } } }, { "name": "nested", "required": false, "type": { "kind": "instance_of", "type": { "name": "NestedSortValue", "namespace": "_types" } } }, { "name": "order", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortOrder", "namespace": "_types" } } }, { "name": "unmapped_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldType", "namespace": "_types.mapping" } } }, { "name": "numeric_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldSortNumericType", "namespace": "_types" } } }, { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "shortcutProperty": "order", "specLocation": "_types/sort.ts#L44-L53" }, { "kind": "enum", "members": [ { "name": "long" }, { "name": "double" }, { "name": "date" }, { "name": "date_nanos" } ], "name": { "name": "FieldSortNumericType", "namespace": "_types" }, "specLocation": "_types/sort.ts#L37-L42" }, { "codegenNames": [ "long", "double", "string", "boolean", "null", "any" ], "description": "A field value.", "kind": "type_alias", "name": { "name": "FieldValue", "namespace": "_types" }, "specLocation": "_types/common.ts#L25-L37", "type": { "items": [ { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } }, { "kind": "user_defined_value" } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "FielddataStats", "namespace": "_types" }, "properties": [ { "name": "evictions", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "memory_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "memory_size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "FieldMemoryUsage", "namespace": "_types" } } } } ], "specLocation": "_types/Stats.ts#L111-L116" }, { "kind": "type_alias", "name": { "name": "Fields", "namespace": "_types" }, "specLocation": "_types/common.ts#L140-L140", "type": { "items": [ { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "FlushStats", "namespace": "_types" }, "properties": [ { "name": "periodic", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L123-L128" }, { "docId": "fuzziness", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/common-options.html#fuzziness", "kind": "type_alias", "name": { "name": "Fuzziness", "namespace": "_types" }, "specLocation": "_types/common.ts#L133-L134", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } ], "kind": "union_of" } }, { "codegenNames": [ "coords", "tlbr", "trbl", "wkt" ], "description": "A geo bounding box. It can be represented in various ways:\n- as 4 top/bottom/left/right coordinates\n- as 2 top_left / bottom_right points\n- as 2 top_right / bottom_left points\n- as a WKT bounding box", "kind": "type_alias", "name": { "name": "GeoBounds", "namespace": "_types" }, "specLocation": "_types/Geo.ts#L135-L148", "type": { "items": [ { "kind": "instance_of", "type": { "name": "CoordsGeoBounds", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "TopLeftBottomRightGeoBounds", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "TopRightBottomLeftGeoBounds", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "WktGeoBounds", "namespace": "_types" } } ], "kind": "union_of" } }, { "attachedBehaviors": [ "AdditionalProperty" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, { "items": [ { "kind": "instance_of", "type": { "name": "GeoLocation", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "GeoLocation", "namespace": "_types" } } } ], "kind": "union_of" } ], "type": { "name": "AdditionalProperty", "namespace": "_spec_utils" } } ], "kind": "interface", "name": { "name": "GeoDistanceSort", "namespace": "_types" }, "properties": [ { "name": "mode", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortMode", "namespace": "_types" } } }, { "name": "distance_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoDistanceType", "namespace": "_types" } } }, { "name": "ignore_unmapped", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "order", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortOrder", "namespace": "_types" } } }, { "name": "unit", "required": false, "type": { "kind": "instance_of", "type": { "name": "DistanceUnit", "namespace": "_types" } } } ], "specLocation": "_types/sort.ts#L58-L66" }, { "kind": "enum", "members": [ { "description": "The `arc` calculation is the most accurate.", "name": "arc" }, { "description": "The `plane` calculation is faster but less accurate.", "name": "plane" } ], "name": { "name": "GeoDistanceType", "namespace": "_types" }, "specLocation": "_types/Geo.ts#L42-L51" }, { "kind": "type_alias", "name": { "name": "GeoHash", "namespace": "_types" }, "specLocation": "_types/Geo.ts#L91-L91", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "interface", "name": { "name": "GeoHashLocation", "namespace": "_types" }, "properties": [ { "name": "geohash", "required": true, "type": { "kind": "instance_of", "type": { "name": "GeoHash", "namespace": "_types" } } } ], "specLocation": "_types/Geo.ts#L131-L133" }, { "codegenNames": [ "geohash_length", "distance" ], "description": "A precision that can be expressed as a geohash length between 1 and 12, or a distance measure like \"1km\", \"10m\".", "kind": "type_alias", "name": { "name": "GeoHashPrecision", "namespace": "_types" }, "specLocation": "_types/Geo.ts#L86-L90", "type": { "items": [ { "kind": "instance_of", "type": { "name": "number", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "A map hex cell (H3) reference", "kind": "type_alias", "name": { "name": "GeoHexCell", "namespace": "_types" }, "specLocation": "_types/Geo.ts#L96-L97", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A GeoJson GeoLine.", "kind": "interface", "name": { "name": "GeoLine", "namespace": "_types" }, "properties": [ { "description": "Always `\"LineString\"`", "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Array of `[lon, lat]` coordinates", "name": "coordinates", "required": true, "type": { "kind": "array_of", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } } } ], "specLocation": "_types/Geo.ts#L56-L62" }, { "codegenNames": [ "latlon", "geohash", "coords", "text" ], "description": "A latitude/longitude as a 2 dimensional point. It can be represented in various ways:\n- as a `{lat, long}` object\n- as a geo hash value\n- as a `[lon, lat]` array\n- as a string in `\", \"` or WKT point formats", "kind": "type_alias", "name": { "name": "GeoLocation", "namespace": "_types" }, "specLocation": "_types/Geo.ts#L104-L118", "type": { "items": [ { "kind": "instance_of", "type": { "name": "LatLonGeoLocation", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "GeoHashLocation", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "A GeoJson shape, that can also use Elasticsearch's `envelope` extension.", "kind": "type_alias", "name": { "name": "GeoShape", "namespace": "_types" }, "specLocation": "_types/Geo.ts#L53-L54", "type": { "kind": "user_defined_value" } }, { "kind": "enum", "members": [ { "description": "Return all documents whose `geo_shape` or `geo_point` field intersects the query geometry.", "name": "intersects" }, { "description": "Return all documents whose `geo_shape` or `geo_point` field has nothing in common with the query geometry.", "name": "disjoint" }, { "description": "Return all documents whose `geo_shape` or `geo_point` field is within the query geometry.\nLine geometries are not supported.", "name": "within" }, { "description": "Return all documents whose `geo_shape` or `geo_point` field contains the query geometry.", "name": "contains" } ], "name": { "name": "GeoShapeRelation", "namespace": "_types" }, "specLocation": "_types/Geo.ts#L64-L82" }, { "description": "A map tile reference, represented as `{zoom}/{x}/{y}`", "kind": "type_alias", "name": { "name": "GeoTile", "namespace": "_types" }, "specLocation": "_types/Geo.ts#L93-L94", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "GeoTilePrecision", "namespace": "_types" }, "specLocation": "_types/Geo.ts#L84-L84", "type": { "kind": "instance_of", "type": { "name": "number", "namespace": "_builtins" } } }, { "kind": "interface", "name": { "name": "GetStats", "namespace": "_types" }, "properties": [ { "name": "current", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "exists_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "exists_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "exists_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "missing_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "missing_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "missing_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L130-L141" }, { "kind": "enum", "members": [ { "aliases": [ "GREEN" ], "description": "All shards are assigned.", "name": "green" }, { "aliases": [ "YELLOW" ], "description": "All primary shards are assigned, but one or more replica shards are unassigned. If a node in the cluster fails, some data could be unavailable until that node is repaired.", "name": "yellow" }, { "aliases": [ "RED" ], "description": "One or more primary shards are unassigned, so some data is unavailable. This can occur briefly during cluster startup as primary shards are assigned.", "name": "red" } ], "name": { "name": "HealthStatus", "namespace": "_types" }, "specLocation": "_types/common.ts#L219-L239" }, { "kind": "type_alias", "name": { "name": "Host", "namespace": "_types" }, "specLocation": "_types/Networking.ts#L21-L21", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "HttpHeaders", "namespace": "_types" }, "specLocation": "_types/common.ts#L158-L158", "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } } }, { "kind": "enum", "members": [ { "name": "ll" }, { "name": "spl" } ], "name": { "name": "IBDistribution", "namespace": "_types" }, "specLocation": "_types/Similarity.ts#L42-L45" }, { "kind": "enum", "members": [ { "name": "df" }, { "name": "ttf" } ], "name": { "name": "IBLambda", "namespace": "_types" }, "specLocation": "_types/Similarity.ts#L47-L50" }, { "kind": "type_alias", "name": { "name": "Id", "namespace": "_types" }, "specLocation": "_types/common.ts#L61-L61", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "Ids", "namespace": "_types" }, "specLocation": "_types/common.ts#L62-L62", "type": { "items": [ { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "kind": "union_of" } }, { "kind": "type_alias", "name": { "name": "IndexAlias", "namespace": "_types" }, "specLocation": "_types/common.ts#L68-L68", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "IndexName", "namespace": "_types" }, "specLocation": "_types/common.ts#L66-L66", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "IndexPattern", "namespace": "_types" }, "specLocation": "_types/common.ts#L69-L69", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "IndexPatterns", "namespace": "_types" }, "specLocation": "_types/common.ts#L70-L70", "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexPattern", "namespace": "_types" } } } }, { "kind": "interface", "name": { "name": "IndexingStats", "namespace": "_types" }, "properties": [ { "name": "index_current", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "delete_current", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "delete_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "delete_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "delete_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "is_throttled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "noop_update_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "throttle_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "throttle_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "index_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "index_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "index_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "index_failed", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "types", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "IndexingStats", "namespace": "_types" } } } }, { "name": "write_load", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L143-L159" }, { "kind": "type_alias", "name": { "name": "Indices", "namespace": "_types" }, "specLocation": "_types/common.ts#L67-L67", "type": { "items": [ { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "kind": "union_of" } }, { "description": "Controls how to deal with unavailable concrete indices (closed or missing), how wildcard expressions are expanded\nto actual indices (all, closed or open indices) and how to deal with wildcard expressions that resolve to no indices.", "kind": "interface", "name": { "name": "IndicesOptions", "namespace": "_types" }, "properties": [ { "description": "If false, the request returns an error if any wildcard expression, index alias, or `_all` value targets only\nmissing or closed indices. This behavior applies even if the request targets other open indices. For example,\na request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "name": "allow_no_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument\ndetermines whether wildcard expressions match hidden data streams. Supports comma-separated values,\nsuch as `open,hidden`.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If true, missing or closed indices are not included in the response.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", "name": "ignore_throttled", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/common.ts#L332-L359" }, { "inherits": { "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } }, "kind": "interface", "name": { "name": "IndicesResponseBase", "namespace": "_types" }, "properties": [ { "name": "_shards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } } ], "specLocation": "_types/Base.ts#L87-L89" }, { "attachedBehaviors": [ "AdditionalProperties" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "user_defined_value" } ], "type": { "name": "AdditionalProperties", "namespace": "_spec_utils" } } ], "generics": [ { "name": "TDocument", "namespace": "_types" } ], "kind": "interface", "name": { "name": "InlineGet", "namespace": "_types" }, "properties": [ { "name": "fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "found", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "_seq_no", "required": false, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "name": "_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "_routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "_types" } } } ], "specLocation": "_types/common.ts#L321-L330" }, { "inherits": { "type": { "name": "ScriptBase", "namespace": "_types" } }, "kind": "interface", "name": { "name": "InlineScript", "namespace": "_types" }, "properties": [ { "description": "Specifies the language the script is written in.", "name": "lang", "required": false, "serverDefault": "painless", "type": { "kind": "instance_of", "type": { "name": "ScriptLanguage", "namespace": "_types" } } }, { "name": "options", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "The script source.", "name": "source", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "shortcutProperty": "source", "specLocation": "_types/Scripting.ts#L67-L79" }, { "kind": "type_alias", "name": { "name": "Ip", "namespace": "_types" }, "specLocation": "_types/Networking.ts#L20-L20", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "KnnQuery", "namespace": "_types" }, "properties": [ { "description": "The name of the vector field to search against", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The query vector", "name": "query_vector", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryVector", "namespace": "_types" } } }, { "description": "The query vector builder. You must provide a query_vector_builder or query_vector, but not both.", "name": "query_vector_builder", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryVectorBuilder", "namespace": "_types" } } }, { "description": "The number of nearest neighbor candidates to consider per shard", "name": "num_candidates", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Filters for the kNN search query", "name": "filter", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ], "kind": "union_of" } }, { "description": "The minimum similarity for a vector to be considered a match", "name": "similarity", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } ], "specLocation": "_types/Knn.ts#L54-L67" }, { "kind": "interface", "name": { "name": "KnnSearch", "namespace": "_types" }, "properties": [ { "description": "The name of the vector field to search against", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The query vector", "name": "query_vector", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryVector", "namespace": "_types" } } }, { "description": "The query vector builder. You must provide a query_vector_builder or query_vector, but not both.", "name": "query_vector_builder", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryVectorBuilder", "namespace": "_types" } } }, { "description": "The final number of nearest neighbors to return as top hits", "name": "k", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The number of nearest neighbor candidates to consider per shard", "name": "num_candidates", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Boost value to apply to kNN scores", "name": "boost", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "Filters for the kNN search query", "name": "filter", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ], "kind": "union_of" } }, { "description": "The minimum similarity for a vector to be considered a match", "name": "similarity", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "If defined, each search hit will contain inner hits.", "docId": "knn-inner-hits", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/knn-search.html#nested-knn-search-inner-hits", "name": "inner_hits", "required": false, "type": { "kind": "instance_of", "type": { "name": "InnerHits", "namespace": "_global.search._types" } } } ], "specLocation": "_types/Knn.ts#L30-L52" }, { "kind": "interface", "name": { "name": "LatLonGeoLocation", "namespace": "_types" }, "properties": [ { "description": "Latitude", "name": "lat", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Longitude", "name": "lon", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_types/Geo.ts#L120-L129" }, { "kind": "enum", "members": [ { "name": "cluster" }, { "name": "indices" }, { "name": "shards" } ], "name": { "name": "Level", "namespace": "_types" }, "specLocation": "_types/common.ts#L249-L253" }, { "kind": "enum", "members": [ { "name": "RUNNING" }, { "name": "STOPPING" }, { "name": "STOPPED" } ], "name": { "name": "LifecycleOperationMode", "namespace": "_types" }, "specLocation": "_types/Lifecycle.ts#L20-L24" }, { "kind": "type_alias", "name": { "name": "MapboxVectorTiles", "namespace": "_types" }, "specLocation": "_types/Binary.ts#L21-L21", "type": { "kind": "instance_of", "type": { "name": "binary", "namespace": "_builtins" } } }, { "kind": "interface", "name": { "name": "MergesStats", "namespace": "_types" }, "properties": [ { "name": "current", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "current_docs", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "current_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "current_size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_auto_throttle", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "total_auto_throttle_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_docs", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "total_size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_stopped_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_stopped_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "total_throttled_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_throttled_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L161-L178" }, { "kind": "type_alias", "name": { "name": "Metadata", "namespace": "_types" }, "specLocation": "_types/common.ts#L99-L99", "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "kind": "type_alias", "name": { "name": "Metrics", "namespace": "_types" }, "specLocation": "_types/common.ts#L76-L76", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } }, { "description": "The minimum number of terms that should match as integer, percentage or range", "docId": "query-dsl-minimum-should-match", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-minimum-should-match.html", "kind": "type_alias", "name": { "name": "MinimumShouldMatch", "namespace": "_types" }, "specLocation": "_types/common.ts#L163-L167", "type": { "items": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "docId": "query-dsl-multi-term-rewrite", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-multi-term-rewrite.html", "kind": "type_alias", "name": { "name": "MultiTermQueryRewrite", "namespace": "_types" }, "specLocation": "_types/common.ts#L135-L136", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "Name", "namespace": "_types" }, "specLocation": "_types/common.ts#L80-L80", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "Names", "namespace": "_types" }, "specLocation": "_types/common.ts#L81-L81", "type": { "items": [ { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "kind": "union_of" } }, { "kind": "type_alias", "name": { "name": "Namespace", "namespace": "_types" }, "specLocation": "_types/common.ts#L83-L83", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "interface", "name": { "name": "NestedSortValue", "namespace": "_types" }, "properties": [ { "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "name": "max_children", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "nested", "required": false, "type": { "kind": "instance_of", "type": { "name": "NestedSortValue", "namespace": "_types" } } }, { "name": "path", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "_types/sort.ts#L30-L35" }, { "kind": "interface", "name": { "name": "NodeAttributes", "namespace": "_types" }, "properties": [ { "description": "Lists node attributes.", "name": "attributes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "The ephemeral ID of the node.", "name": "ephemeral_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The unique identifier of the node.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } }, { "description": "The unique identifier of the node.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeName", "namespace": "_types" } } }, { "description": "The host and port where transport HTTP connections are accepted.", "name": "transport_address", "required": true, "type": { "kind": "instance_of", "type": { "name": "TransportAddress", "namespace": "_types" } } }, { "name": "roles", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeRoles", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.3.0" } }, "name": "external_id", "required": false, "since": "8.3.0", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/Node.ts#L41-L58" }, { "kind": "type_alias", "name": { "name": "NodeId", "namespace": "_types" }, "specLocation": "_types/common.ts#L63-L63", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "NodeIds", "namespace": "_types" }, "specLocation": "_types/common.ts#L64-L64", "type": { "items": [ { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } } ], "kind": "union_of" } }, { "docId": "modules-node", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/modules-node.html", "kind": "type_alias", "name": { "name": "NodeName", "namespace": "_types" }, "specLocation": "_types/common.ts#L88-L89", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "enum", "members": [ { "name": "master" }, { "name": "data" }, { "name": "data_cold" }, { "name": "data_content" }, { "name": "data_frozen" }, { "name": "data_hot" }, { "name": "data_warm" }, { "name": "client" }, { "name": "ingest" }, { "name": "ml" }, { "name": "voting_only" }, { "name": "transform" }, { "name": "remote_cluster_client" }, { "name": "coordinating_only" } ], "name": { "name": "NodeRole", "namespace": "_types" }, "specLocation": "_types/Node.ts#L77-L95" }, { "description": "* @doc_id node-roles", "kind": "type_alias", "name": { "name": "NodeRoles", "namespace": "_types" }, "specLocation": "_types/Node.ts#L97-L100", "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "NodeRole", "namespace": "_types" } } } }, { "kind": "interface", "name": { "name": "NodeShard", "namespace": "_types" }, "properties": [ { "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardRoutingState", "namespace": "indices.stats" } } }, { "name": "primary", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "node", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeName", "namespace": "_types" } } }, { "name": "shard", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "allocation_id", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } }, { "name": "recovery_source", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } }, { "name": "unassigned_info", "required": false, "type": { "kind": "instance_of", "type": { "name": "UnassignedInformation", "namespace": "cluster.allocation_explain" } } }, { "name": "relocating_node", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "relocation_failure_info", "required": false, "type": { "kind": "instance_of", "type": { "name": "RelocationFailureInfo", "namespace": "_types" } } } ], "specLocation": "_types/Node.ts#L60-L71" }, { "description": "Contains statistics about the number of nodes selected by the request.", "kind": "interface", "name": { "name": "NodeStatistics", "namespace": "_types" }, "properties": [ { "name": "failures", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } } }, { "description": "Total number of nodes selected by the request.", "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Number of nodes that responded successfully to the request.", "name": "successful", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Number of nodes that rejected the request or failed to respond. If this value is not 0, a reason for the rejection or failure is included in the response.", "name": "failed", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/Node.ts#L28-L39" }, { "kind": "enum", "members": [ { "name": "no" }, { "name": "h1" }, { "name": "h2" }, { "name": "h3" }, { "name": "z" } ], "name": { "name": "Normalization", "namespace": "_types" }, "specLocation": "_types/Similarity.ts#L52-L58" }, { "kind": "enum", "members": [ { "description": "Overwrite any documents that already exist.", "name": "index" }, { "description": "Only index documents that do not already exist.", "name": "create" } ], "name": { "name": "OpType", "namespace": "_types" }, "specLocation": "_types/common.ts#L255-L264" }, { "kind": "type_alias", "name": { "name": "Password", "namespace": "_types" }, "specLocation": "_types/common.ts#L195-L195", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "Percentage", "namespace": "_types" }, "specLocation": "_types/Numeric.ts#L28-L28", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } ], "kind": "union_of" } }, { "kind": "type_alias", "name": { "name": "PipelineName", "namespace": "_types" }, "specLocation": "_types/common.ts#L86-L86", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "interface", "name": { "name": "PluginStats", "namespace": "_types" }, "properties": [ { "name": "classname", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "elasticsearch_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "extended_plugins", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "has_native_controller", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "java_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "licensed", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/Stats.ts#L180-L190" }, { "kind": "type_alias", "name": { "name": "PropertyName", "namespace": "_types" }, "specLocation": "_types/common.ts#L130-L130", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "interface", "name": { "name": "QueryCacheStats", "namespace": "_types" }, "properties": [ { "description": "Total number of entries added to the query cache across all shards assigned to selected nodes.\nThis number includes current and evicted entries.", "name": "cache_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total number of entries currently in the query cache across all shards assigned to selected nodes.", "name": "cache_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total number of query cache evictions across all shards assigned to selected nodes.", "name": "evictions", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total count of query cache hits across all shards assigned to selected nodes.", "name": "hit_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total amount of memory used for the query cache across all shards assigned to selected nodes.", "name": "memory_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Total amount, in bytes, of memory used for the query cache across all shards assigned to selected nodes.", "name": "memory_size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total count of query cache misses across all shards assigned to selected nodes.", "name": "miss_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total count of hits and misses in the query cache across all shards assigned to selected nodes.", "name": "total_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L192-L226" }, { "kind": "type_alias", "name": { "name": "QueryVector", "namespace": "_types" }, "specLocation": "_types/Knn.ts#L25-L25", "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } }, { "kind": "interface", "name": { "name": "QueryVectorBuilder", "namespace": "_types" }, "properties": [ { "name": "text_embedding", "required": false, "type": { "kind": "instance_of", "type": { "name": "TextEmbedding", "namespace": "_types" } } } ], "specLocation": "_types/Knn.ts#L69-L72", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "RankBase", "namespace": "_types" }, "properties": [], "specLocation": "_types/Rank.ts#L30-L30" }, { "kind": "interface", "name": { "name": "RankContainer", "namespace": "_types" }, "properties": [ { "description": "The reciprocal rank fusion parameters", "name": "rrf", "required": false, "type": { "kind": "instance_of", "type": { "name": "RrfRank", "namespace": "_types" } } } ], "specLocation": "_types/Rank.ts#L22-L28", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "RecoveryStats", "namespace": "_types" }, "properties": [ { "name": "current_as_source", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "current_as_target", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "throttle_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "throttle_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L228-L233" }, { "esQuirk": "This is a boolean that evolved into an enum. ES also accepts plain booleans for true and false.", "kind": "enum", "members": [ { "name": "true" }, { "name": "false" }, { "name": "wait_for" } ], "name": { "name": "Refresh", "namespace": "_types" }, "specLocation": "_types/common.ts#L266-L273" }, { "kind": "interface", "name": { "name": "RefreshStats", "namespace": "_types" }, "properties": [ { "name": "external_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "external_total_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "listeners", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L235-L242" }, { "kind": "type_alias", "name": { "name": "RelationName", "namespace": "_types" }, "specLocation": "_types/common.ts#L131-L131", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "interface", "name": { "name": "RelocationFailureInfo", "namespace": "_types" }, "properties": [ { "name": "failed_attempts", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/Node.ts#L73-L75" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "behaviors": [ { "type": { "name": "CommonQueryParameters", "namespace": "_spec_utils" } } ], "kind": "interface", "name": { "name": "RequestBase", "namespace": "_types" }, "properties": [], "specLocation": "_types/Base.ts#L34-L34" }, { "kind": "interface", "name": { "name": "RequestCacheStats", "namespace": "_types" }, "properties": [ { "name": "evictions", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "hit_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "memory_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "memory_size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "miss_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L244-L250" }, { "kind": "enum", "members": [ { "name": "created" }, { "name": "updated" }, { "name": "deleted" }, { "name": "not_found" }, { "codegenName": "no_op", "name": "noop" } ], "name": { "name": "Result", "namespace": "_types" }, "specLocation": "_types/Result.ts#L20-L26" }, { "kind": "interface", "name": { "name": "Retries", "namespace": "_types" }, "properties": [ { "name": "bulk", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "search", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/Retries.ts#L22-L25" }, { "kind": "type_alias", "name": { "name": "Routing", "namespace": "_types" }, "specLocation": "_types/common.ts#L72-L72", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "inherits": { "type": { "name": "RankBase", "namespace": "_types" } }, "kind": "interface", "name": { "name": "RrfRank", "namespace": "_types" }, "properties": [ { "description": "How much influence documents in individual result sets per query have over the final ranked result set", "name": "rank_constant", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Size of the individual result sets per query", "name": "window_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/Rank.ts#L32-L37" }, { "codegenNames": [ "long", "double", "string", "boolean", "null" ], "description": "A scalar value.", "kind": "type_alias", "name": { "name": "ScalarValue", "namespace": "_types" }, "specLocation": "_types/common.ts#L39-L43", "type": { "items": [ { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "ScoreSort", "namespace": "_types" }, "properties": [ { "name": "order", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortOrder", "namespace": "_types" } } } ], "specLocation": "_types/sort.ts#L55-L57" }, { "codegenNames": [ "inline", "stored" ], "kind": "type_alias", "name": { "name": "Script", "namespace": "_types" }, "specLocation": "_types/Scripting.ts#L88-L89", "type": { "items": [ { "kind": "instance_of", "type": { "name": "InlineScript", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "StoredScriptId", "namespace": "_types" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "ScriptBase", "namespace": "_types" }, "properties": [ { "description": "Specifies any named parameters that are passed into the script as variables.\nUse parameters instead of hard-coded values to decrease compile time.", "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ], "specLocation": "_types/Scripting.ts#L59-L65" }, { "kind": "interface", "name": { "name": "ScriptField", "namespace": "_types" }, "properties": [ { "name": "script", "required": true, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "name": "ignore_failure", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/Scripting.ts#L91-L94" }, { "isOpen": true, "kind": "enum", "members": [ { "description": "Painless scripting language, purpose-built for Elasticsearch.", "name": "painless" }, { "description": "Lucene’s expressions language, compiles a JavaScript expression to bytecode.", "name": "expression" }, { "description": "Mustache templated, used for templates.", "name": "mustache" }, { "description": "Expert Java API", "name": "java" } ], "name": { "name": "ScriptLanguage", "namespace": "_types" }, "specLocation": "_types/Scripting.ts#L24-L45" }, { "kind": "interface", "name": { "name": "ScriptSort", "namespace": "_types" }, "properties": [ { "name": "order", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortOrder", "namespace": "_types" } } }, { "name": "script", "required": true, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScriptSortType", "namespace": "_types" } } }, { "name": "mode", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortMode", "namespace": "_types" } } }, { "name": "nested", "required": false, "type": { "kind": "instance_of", "type": { "name": "NestedSortValue", "namespace": "_types" } } } ], "specLocation": "_types/sort.ts#L68-L74" }, { "kind": "enum", "members": [ { "name": "string" }, { "name": "number" }, { "name": "version" } ], "name": { "name": "ScriptSortType", "namespace": "_types" }, "specLocation": "_types/sort.ts#L76-L80" }, { "kind": "interface", "name": { "name": "ScriptTransform", "namespace": "_types" }, "properties": [ { "name": "lang", "required": false, "serverDefault": "painless", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "source", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/Transform.ts#L36-L44" }, { "kind": "type_alias", "name": { "name": "ScrollId", "namespace": "_types" }, "specLocation": "_types/common.ts#L55-L55", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "ScrollIds", "namespace": "_types" }, "specLocation": "_types/common.ts#L56-L56", "type": { "items": [ { "kind": "instance_of", "type": { "name": "ScrollId", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ScrollId", "namespace": "_types" } } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "SearchStats", "namespace": "_types" }, "properties": [ { "name": "fetch_current", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "fetch_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "fetch_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "fetch_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "open_contexts", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "query_current", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "query_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "query_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "query_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "scroll_current", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "scroll_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "scroll_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "scroll_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "suggest_current", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "suggest_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "suggest_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "suggest_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "groups", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "SearchStats", "namespace": "_types" } } } } ], "specLocation": "_types/Stats.ts#L252-L271" }, { "kind": "interface", "name": { "name": "SearchTransform", "namespace": "_types" }, "properties": [ { "name": "request", "required": true, "type": { "kind": "instance_of", "type": { "name": "SearchInputRequestDefinition", "namespace": "watcher._types" } } }, { "name": "timeout", "required": true, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "_types/Transform.ts#L46-L49" }, { "kind": "enum", "members": [ { "description": "Documents are scored using local term and document frequencies for the shard. This is usually faster but less accurate.", "name": "query_then_fetch" }, { "description": "Documents are scored using global term and document frequencies across all shards. This is usually slower but more accurate.", "name": "dfs_query_then_fetch" } ], "name": { "name": "SearchType", "namespace": "_types" }, "specLocation": "_types/common.ts#L275-L280" }, { "kind": "interface", "name": { "name": "SegmentsStats", "namespace": "_types" }, "properties": [ { "description": "Total number of segments across all shards assigned to selected nodes.", "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Total amount of memory used for doc values across all shards assigned to selected nodes.", "name": "doc_values_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Total amount, in bytes, of memory used for doc values across all shards assigned to selected nodes.", "name": "doc_values_memory_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "This object is not populated by the cluster stats API.\nTo get information on segment files, use the node stats API.", "name": "file_sizes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ShardFileSizeInfo", "namespace": "indices.stats" } } } }, { "description": "Total amount of memory used by fixed bit sets across all shards assigned to selected nodes.\nFixed bit sets are used for nested object field types and type filters for join fields.", "name": "fixed_bit_set", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.", "name": "fixed_bit_set_memory_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total amount of memory used by all index writers across all shards assigned to selected nodes.", "name": "index_writer_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "index_writer_max_memory_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.", "name": "index_writer_memory_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Unix timestamp, in milliseconds, of the most recently retried indexing request.", "name": "max_unsafe_auto_id_timestamp", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total amount of memory used for segments across all shards assigned to selected nodes.", "name": "memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.", "name": "memory_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total amount of memory used for normalization factors across all shards assigned to selected nodes.", "name": "norms_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.", "name": "norms_memory_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total amount of memory used for points across all shards assigned to selected nodes.", "name": "points_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.", "name": "points_memory_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "stored_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.", "name": "stored_fields_memory_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.", "name": "terms_memory_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total amount of memory used for terms across all shards assigned to selected nodes.", "name": "terms_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Total amount of memory used for term vectors across all shards assigned to selected nodes.", "name": "term_vectory_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.", "name": "term_vectors_memory_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total amount of memory used by all version maps across all shards assigned to selected nodes.", "name": "version_map_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Total amount, in bytes, of memory used by all version maps across all shards assigned to selected nodes.", "name": "version_map_memory_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L273-L366" }, { "kind": "type_alias", "name": { "name": "SequenceNumber", "namespace": "_types" }, "specLocation": "_types/common.ts#L128-L128", "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "kind": "type_alias", "name": { "name": "Service", "namespace": "_types" }, "specLocation": "_types/common.ts#L84-L84", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "interface", "name": { "name": "ShardFailure", "namespace": "_types" }, "properties": [ { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "node", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "reason", "required": true, "type": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } }, { "name": "shard", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "status", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/Errors.ts#L50-L56" }, { "kind": "interface", "name": { "name": "ShardStatistics", "namespace": "_types" }, "properties": [ { "name": "failed", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "description": "Indicates how many shards have successfully run the search.", "name": "successful", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "description": "Indicates how many shards the search will run on overall.", "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "failures", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ShardFailure", "namespace": "_types" } } } }, { "name": "skipped", "required": false, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L54-L66" }, { "kind": "interface", "name": { "name": "ShardsOperationResponseBase", "namespace": "_types" }, "properties": [ { "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } } ], "specLocation": "_types/Base.ts#L91-L93" }, { "kind": "interface", "name": { "name": "SlicedScroll", "namespace": "_types" }, "properties": [ { "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "max", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/SlicedScroll.ts#L23-L27" }, { "codegenNames": [ "value", "computed" ], "description": "Slices configuration used to parallelize a process.", "kind": "type_alias", "name": { "name": "Slices", "namespace": "_types" }, "specLocation": "_types/common.ts#L361-L366", "type": { "items": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "SlicesCalculation", "namespace": "_types" } } ], "kind": "union_of" } }, { "kind": "enum", "members": [ { "description": "Let Elasticsearch choose a reasonable number for most data streams and indices.", "name": "auto" } ], "name": { "name": "SlicesCalculation", "namespace": "_types" }, "specLocation": "_types/common.ts#L368-L376" }, { "kind": "type_alias", "name": { "name": "Sort", "namespace": "_types" }, "specLocation": "_types/sort.ts#L99-L99", "type": { "items": [ { "kind": "instance_of", "type": { "name": "SortCombinations", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SortCombinations", "namespace": "_types" } } } ], "kind": "union_of" } }, { "codegenNames": [ "field", "options" ], "kind": "type_alias", "name": { "name": "SortCombinations", "namespace": "_types" }, "specLocation": "_types/sort.ts#L93-L97", "type": { "items": [ { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "SortOptions", "namespace": "_types" } } ], "kind": "union_of" } }, { "kind": "enum", "members": [ { "name": "min" }, { "name": "max" }, { "name": "sum" }, { "name": "avg" }, { "name": "median" } ], "name": { "name": "SortMode", "namespace": "_types" }, "specLocation": "_types/sort.ts#L103-L112" }, { "attachedBehaviors": [ "AdditionalProperty" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "FieldSort", "namespace": "_types" } } ], "type": { "name": "AdditionalProperty", "namespace": "_spec_utils" } } ], "docId": "sort-search-results", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/sort-search-results.html", "kind": "interface", "name": { "name": "SortOptions", "namespace": "_types" }, "properties": [ { "name": "_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScoreSort", "namespace": "_types" } } }, { "name": "_doc", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScoreSort", "namespace": "_types" } } }, { "name": "_geo_distance", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoDistanceSort", "namespace": "_types" } } }, { "name": "_script", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScriptSort", "namespace": "_types" } } } ], "specLocation": "_types/sort.ts#L82-L91", "variants": { "kind": "container" } }, { "kind": "enum", "members": [ { "description": "Ascending (smallest to largest)", "name": "asc" }, { "description": "Descending (largest to smallest)", "name": "desc" } ], "name": { "name": "SortOrder", "namespace": "_types" }, "specLocation": "_types/sort.ts#L114-L123" }, { "kind": "type_alias", "name": { "name": "SortResults", "namespace": "_types" }, "specLocation": "_types/sort.ts#L101-L101", "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldValue", "namespace": "_types" } } } }, { "kind": "interface", "name": { "name": "StoreStats", "namespace": "_types" }, "properties": [ { "description": "Total size of all shards assigned to selected nodes.", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Total size, in bytes, of all shards assigned to selected nodes.", "name": "size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "A prediction of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.", "name": "reserved", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.", "name": "reserved_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total data set size of all shards assigned to selected nodes.\nThis includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.", "name": "total_data_set_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Total data set size, in bytes, of all shards assigned to selected nodes.\nThis includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.", "name": "total_data_set_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L368-L395" }, { "kind": "interface", "name": { "name": "StoredScript", "namespace": "_types" }, "properties": [ { "description": "Specifies the language the script is written in.", "name": "lang", "required": true, "type": { "kind": "instance_of", "type": { "name": "ScriptLanguage", "namespace": "_types" } } }, { "name": "options", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "The script source.", "name": "source", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/Scripting.ts#L47-L57" }, { "inherits": { "type": { "name": "ScriptBase", "namespace": "_types" } }, "kind": "interface", "name": { "name": "StoredScriptId", "namespace": "_types" }, "properties": [ { "description": "The `id` for a stored script.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "specLocation": "_types/Scripting.ts#L81-L86" }, { "kind": "enum", "members": [ { "description": "Only generate suggestions for terms that are not in the shard.", "name": "missing" }, { "description": "Only suggest terms that occur in more docs on the shard than the original term.", "name": "popular" }, { "description": "Suggest any matching suggestions based on terms in the suggest text.", "name": "always" } ], "name": { "name": "SuggestMode", "namespace": "_types" }, "specLocation": "_types/common.ts#L282-L295" }, { "description": "The suggestion name as returned from the server. Depending whether typed_keys is specified this could come back\nin the form of `name#type` instead of simply `name`", "kind": "type_alias", "name": { "name": "SuggestionName", "namespace": "_types" }, "specLocation": "_types/common.ts#L151-L155", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "interface", "name": { "name": "TaskFailure", "namespace": "_types" }, "properties": [ { "name": "task_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "node_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "reason", "required": true, "type": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } } ], "specLocation": "_types/Errors.ts#L66-L71" }, { "kind": "type_alias", "name": { "name": "TaskId", "namespace": "_types" }, "specLocation": "_types/common.ts#L132-L132", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "TextEmbedding", "namespace": "_types" }, "properties": [ { "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "model_text", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/Knn.ts#L74-L77" }, { "kind": "enum", "members": [ { "name": "cpu" }, { "name": "wait" }, { "name": "block" }, { "name": "gpu" }, { "name": "mem" } ], "name": { "name": "ThreadType", "namespace": "_types" }, "specLocation": "_types/common.ts#L297-L303" }, { "description": "Time of day, expressed as HH:MM:SS", "kind": "type_alias", "name": { "name": "TimeOfDay", "namespace": "_types" }, "specLocation": "_types/Time.ts#L44-L45", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "enum", "members": [ { "codegenName": "nanoseconds", "name": "nanos" }, { "codegenName": "microseconds", "name": "micros" }, { "codegenName": "milliseconds", "name": "ms" }, { "codegenName": "seconds", "name": "s" }, { "codegenName": "minutes", "name": "m" }, { "codegenName": "hours", "name": "h" }, { "codegenName": "days", "name": "d" } ], "name": { "name": "TimeUnit", "namespace": "_types" }, "specLocation": "_types/Time.ts#L69-L77" }, { "kind": "type_alias", "name": { "name": "TimeZone", "namespace": "_types" }, "specLocation": "_types/Time.ts#L47-L47", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "interface", "name": { "name": "TopLeftBottomRightGeoBounds", "namespace": "_types" }, "properties": [ { "name": "top_left", "required": true, "type": { "kind": "instance_of", "type": { "name": "GeoLocation", "namespace": "_types" } } }, { "name": "bottom_right", "required": true, "type": { "kind": "instance_of", "type": { "name": "GeoLocation", "namespace": "_types" } } } ], "specLocation": "_types/Geo.ts#L161-L164" }, { "kind": "interface", "name": { "name": "TopRightBottomLeftGeoBounds", "namespace": "_types" }, "properties": [ { "name": "top_right", "required": true, "type": { "kind": "instance_of", "type": { "name": "GeoLocation", "namespace": "_types" } } }, { "name": "bottom_left", "required": true, "type": { "kind": "instance_of", "type": { "name": "GeoLocation", "namespace": "_types" } } } ], "specLocation": "_types/Geo.ts#L166-L169" }, { "kind": "interface", "name": { "name": "TransformContainer", "namespace": "_types" }, "properties": [ { "name": "chain", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TransformContainer", "namespace": "_types" } } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScriptTransform", "namespace": "_types" } } }, { "name": "search", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchTransform", "namespace": "_types" } } } ], "specLocation": "_types/Transform.ts#L27-L34", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "TranslogStats", "namespace": "_types" }, "properties": [ { "name": "earliest_last_modified_age", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "operations", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "uncommitted_operations", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "uncommitted_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "uncommitted_size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L397-L405" }, { "kind": "type_alias", "name": { "name": "TransportAddress", "namespace": "_types" }, "specLocation": "_types/Networking.ts#L22-L22", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Time unit for fractional milliseconds", "kind": "type_alias", "name": { "name": "UnitFloatMillis", "namespace": "_types" }, "specLocation": "_types/Time.ts#L37-L38", "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Time unit for milliseconds", "kind": "type_alias", "name": { "name": "UnitMillis", "namespace": "_types" }, "specLocation": "_types/Time.ts#L33-L34", "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Time unit for nanoseconds", "kind": "type_alias", "name": { "name": "UnitNanos", "namespace": "_types" }, "specLocation": "_types/Time.ts#L35-L36", "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Time unit for seconds", "kind": "type_alias", "name": { "name": "UnitSeconds", "namespace": "_types" }, "specLocation": "_types/Time.ts#L29-L30", "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "kind": "type_alias", "name": { "name": "Username", "namespace": "_types" }, "specLocation": "_types/common.ts#L194-L194", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "Uuid", "namespace": "_types" }, "specLocation": "_types/common.ts#L125-L125", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "VersionNumber", "namespace": "_types" }, "specLocation": "_types/common.ts#L102-L102", "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "kind": "type_alias", "name": { "name": "VersionString", "namespace": "_types" }, "specLocation": "_types/common.ts#L104-L104", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "enum", "members": [ { "description": "Use internal versioning that starts at 1 and increments with each update or delete.", "name": "internal" }, { "description": "Only index the document if the given version is strictly higher than the version of the stored document or if there is no existing document.", "name": "external" }, { "description": "Only index the document if the given version is equal or higher than the version of the stored document or if there is no existing document.\nNote: the external_gte version type is meant for special use cases and should be used with care.\nIf used incorrectly, it can result in loss of data.", "name": "external_gte" }, { "name": "force" } ], "name": { "name": "VersionType", "namespace": "_types" }, "specLocation": "_types/common.ts#L106-L122" }, { "kind": "enum", "members": [ { "name": "all" }, { "name": "index-setting" } ], "name": { "name": "WaitForActiveShardOptions", "namespace": "_types" }, "specLocation": "_types/common.ts#L305-L309" }, { "codegenNames": [ "count", "option" ], "kind": "type_alias", "name": { "name": "WaitForActiveShards", "namespace": "_types" }, "specLocation": "_types/common.ts#L142-L143", "type": { "items": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "WaitForActiveShardOptions", "namespace": "_types" } } ], "kind": "union_of" } }, { "kind": "enum", "members": [ { "name": "immediate" }, { "name": "urgent" }, { "name": "high" }, { "name": "normal" }, { "name": "low" }, { "name": "languid" } ], "name": { "name": "WaitForEvents", "namespace": "_types" }, "specLocation": "_types/common.ts#L311-L318" }, { "kind": "interface", "name": { "name": "WarmerStats", "namespace": "_types" }, "properties": [ { "name": "current", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "_types/Stats.ts#L407-L412" }, { "kind": "interface", "name": { "name": "WktGeoBounds", "namespace": "_types" }, "properties": [ { "name": "wkt", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/Geo.ts#L150-L152" }, { "kind": "interface", "name": { "name": "WriteResponseBase", "namespace": "_types" }, "properties": [ { "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } }, { "name": "_seq_no", "required": true, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } }, { "name": "_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "forced_refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/Base.ts#L36-L45" }, { "kind": "type_alias", "name": { "name": "byte", "namespace": "_types" }, "specLocation": "_types/Numeric.ts#L21-L21", "type": { "kind": "instance_of", "type": { "name": "number", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "double", "namespace": "_types" }, "specLocation": "_types/Numeric.ts#L27-L27", "type": { "kind": "instance_of", "type": { "name": "number", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "float", "namespace": "_types" }, "specLocation": "_types/Numeric.ts#L26-L26", "type": { "kind": "instance_of", "type": { "name": "number", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "integer", "namespace": "_types" }, "specLocation": "_types/Numeric.ts#L22-L22", "type": { "kind": "instance_of", "type": { "name": "number", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "long", "namespace": "_types" }, "specLocation": "_types/Numeric.ts#L24-L24", "type": { "kind": "instance_of", "type": { "name": "number", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "short", "namespace": "_types" }, "specLocation": "_types/Numeric.ts#L20-L20", "type": { "kind": "instance_of", "type": { "name": "number", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "uint", "namespace": "_types" }, "specLocation": "_types/Numeric.ts#L23-L23", "type": { "kind": "instance_of", "type": { "name": "number", "namespace": "_builtins" } } }, { "kind": "type_alias", "name": { "name": "ulong", "namespace": "_types" }, "specLocation": "_types/Numeric.ts#L25-L25", "type": { "kind": "instance_of", "type": { "name": "number", "namespace": "_builtins" } } }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "AdjacencyMatrixBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "AdjacencyMatrixAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L573-L575", "variantName": "adjacency_matrix" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "AdjacencyMatrixAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Filters used to create buckets.\nAt least one filter is required.", "name": "filters", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } } ], "specLocation": "_types/aggregations/bucket.ts#L55-L61" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "AdjacencyMatrixBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L577-L579" }, { "kind": "type_alias", "name": { "name": "Aggregate", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/Aggregate.ts#L38-L123", "type": { "items": [ { "kind": "instance_of", "type": { "name": "CardinalityAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "HdrPercentilesAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "HdrPercentileRanksAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "TDigestPercentilesAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "TDigestPercentileRanksAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "PercentilesBucketAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "MedianAbsoluteDeviationAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "MinAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "MaxAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "SumAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "AvgAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "WeightedAvgAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "ValueCountAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "SimpleValueAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "DerivativeAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "BucketMetricValueAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "StatsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "StatsBucketAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "ExtendedStatsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "ExtendedStatsBucketAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "GeoBoundsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "GeoCentroidAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "HistogramAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "DateHistogramAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "AutoDateHistogramAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "VariableWidthHistogramAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "StringTermsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "LongTermsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "DoubleTermsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "UnmappedTermsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "LongRareTermsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "StringRareTermsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "UnmappedRareTermsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "MultiTermsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "MissingAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "NestedAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "ReverseNestedAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "GlobalAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "FilterAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "ChildrenAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "ParentAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "SamplerAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "UnmappedSamplerAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "GeoHashGridAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "GeoTileGridAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "GeoHexGridAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "RangeAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "DateRangeAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "GeoDistanceAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "IpRangeAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "IpPrefixAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "FiltersAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "AdjacencyMatrixAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "SignificantLongTermsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "SignificantStringTermsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "UnmappedSignificantTermsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "CompositeAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "FrequentItemSetsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "ScriptedMetricAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "TopHitsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "InferenceAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "StringStatsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "BoxPlotAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "TopMetricsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "TTestAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "RateAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "CumulativeCardinalityAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "MatrixStatsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "GeoLineAggregate", "namespace": "_types.aggregations" } } ], "kind": "union_of" }, "variants": { "kind": "external_tag", "nonExhaustive": true } }, { "kind": "interface", "name": { "name": "AggregateBase", "namespace": "_types.aggregations" }, "properties": [ { "name": "meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L134-L136" }, { "kind": "type_alias", "name": { "name": "AggregateOrder", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/bucket.ts#L974-L976", "type": { "items": [ { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "SortOrder", "namespace": "_types" } } }, { "kind": "array_of", "value": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "SortOrder", "namespace": "_types" } } } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "Aggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregation.ts#L20-L20" }, { "kind": "interface", "name": { "name": "AggregationContainer", "namespace": "_types.aggregations" }, "properties": [ { "aliases": [ "aggs" ], "containerProperty": true, "description": "Sub-aggregations for this aggregation.\nOnly applies to bucket aggregations.", "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AggregationContainer", "namespace": "_types.aggregations" } } } }, { "containerProperty": true, "name": "meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "A bucket aggregation returning a form of adjacency matrix.\nThe request provides a collection of named filter expressions, similar to the `filters` aggregation.\nEach bucket in the response represents a non-empty cell in the matrix of intersecting filters.", "docId": "search-aggregations-bucket-adjacency-matrix-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-adjacency-matrix-aggregation.html", "name": "adjacency_matrix", "required": false, "type": { "kind": "instance_of", "type": { "name": "AdjacencyMatrixAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket aggregation similar to the date histogram, except instead of providing an interval to use as the width of each bucket, a target number of buckets is provided.", "docId": "search-aggregations-bucket-autodatehistogram-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-autodatehistogram-aggregation.html", "name": "auto_date_histogram", "required": false, "type": { "kind": "instance_of", "type": { "name": "AutoDateHistogramAggregation", "namespace": "_types.aggregations" } } }, { "description": "A single-value metrics aggregation that computes the average of numeric values that are extracted from the aggregated documents.", "docId": "search-aggregations-metrics-avg-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-avg-aggregation.html", "name": "avg", "required": false, "type": { "kind": "instance_of", "type": { "name": "AverageAggregation", "namespace": "_types.aggregations" } } }, { "description": "A sibling pipeline aggregation which calculates the mean value of a specified metric in a sibling aggregation.\nThe specified metric must be numeric and the sibling aggregation must be a multi-bucket aggregation.", "docId": "search-aggregations-pipeline-avg-bucket-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-avg-bucket-aggregation.html", "name": "avg_bucket", "required": false, "type": { "kind": "instance_of", "type": { "name": "AverageBucketAggregation", "namespace": "_types.aggregations" } } }, { "description": "A metrics aggregation that computes a box plot of numeric values extracted from the aggregated documents.", "docId": "search-aggregations-metrics-boxplot-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-boxplot-aggregation.html", "name": "boxplot", "required": false, "type": { "kind": "instance_of", "type": { "name": "BoxplotAggregation", "namespace": "_types.aggregations" } } }, { "description": "A parent pipeline aggregation which runs a script which can perform per bucket computations on metrics in the parent multi-bucket aggregation.", "docId": "search-aggregations-pipeline-bucket-script-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-bucket-script-aggregation.html", "name": "bucket_script", "required": false, "type": { "kind": "instance_of", "type": { "name": "BucketScriptAggregation", "namespace": "_types.aggregations" } } }, { "description": "A parent pipeline aggregation which runs a script to determine whether the current bucket will be retained in the parent multi-bucket aggregation.", "docId": "search-aggregations-pipeline-bucket-selector-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-bucket-selector-aggregation.html", "name": "bucket_selector", "required": false, "type": { "kind": "instance_of", "type": { "name": "BucketSelectorAggregation", "namespace": "_types.aggregations" } } }, { "description": "A parent pipeline aggregation which sorts the buckets of its parent multi-bucket aggregation.", "docId": "search-aggregations-pipeline-bucket-sort-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-bucket-sort-aggregation.html", "name": "bucket_sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "BucketSortAggregation", "namespace": "_types.aggregations" } } }, { "availability": { "serverless": { "stability": "experimental" }, "stack": { "stability": "experimental" } }, "description": "A sibling pipeline aggregation which runs a two sample Kolmogorov–Smirnov test (\"K-S test\") against a provided distribution and the distribution implied by the documents counts in the configured sibling aggregation.", "docId": "search-aggregations-bucket-count-ks-test-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-count-ks-test-aggregation.html", "name": "bucket_count_ks_test", "required": false, "stability": "experimental", "type": { "kind": "instance_of", "type": { "name": "BucketKsAggregation", "namespace": "_types.aggregations" } } }, { "availability": { "serverless": { "stability": "experimental" }, "stack": { "stability": "experimental" } }, "description": "A sibling pipeline aggregation which runs a correlation function on the configured sibling multi-bucket aggregation.", "docId": "search-aggregations-bucket-correlation-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-correlation-aggregation.html", "name": "bucket_correlation", "required": false, "stability": "experimental", "type": { "kind": "instance_of", "type": { "name": "BucketCorrelationAggregation", "namespace": "_types.aggregations" } } }, { "description": "A single-value metrics aggregation that calculates an approximate count of distinct values.", "docId": "search-aggregations-metrics-cardinality-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-cardinality-aggregation.html", "name": "cardinality", "required": false, "type": { "kind": "instance_of", "type": { "name": "CardinalityAggregation", "namespace": "_types.aggregations" } } }, { "availability": { "serverless": { "stability": "experimental" }, "stack": { "stability": "experimental" } }, "description": "A multi-bucket aggregation that groups semi-structured text into buckets.", "docId": "search-aggregations-bucket-categorize-text-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-categorize-text-aggregation.html", "name": "categorize_text", "required": false, "stability": "experimental", "type": { "kind": "instance_of", "type": { "name": "CategorizeTextAggregation", "namespace": "_types.aggregations" } } }, { "description": "A single bucket aggregation that selects child documents that have the specified type, as defined in a `join` field.", "docId": "search-aggregations-bucket-children-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-children-aggregation.html", "name": "children", "required": false, "type": { "kind": "instance_of", "type": { "name": "ChildrenAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket aggregation that creates composite buckets from different sources.\nUnlike the other multi-bucket aggregations, you can use the `composite` aggregation to paginate *all* buckets from a multi-level aggregation efficiently.", "name": "composite", "required": false, "type": { "kind": "instance_of", "type": { "name": "CompositeAggregation", "namespace": "_types.aggregations" } } }, { "description": "A parent pipeline aggregation which calculates the cumulative cardinality in a parent `histogram` or `date_histogram` aggregation.", "docId": "search-aggregations-pipeline-cumulative-cardinality-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-cumulative-cardinality-aggregation.html", "name": "cumulative_cardinality", "required": false, "type": { "kind": "instance_of", "type": { "name": "CumulativeCardinalityAggregation", "namespace": "_types.aggregations" } } }, { "description": "A parent pipeline aggregation which calculates the cumulative sum of a specified metric in a parent `histogram` or `date_histogram` aggregation.", "docId": "search-aggregations-pipeline-cumulative-sum-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-cumulative-sum-aggregation.html", "name": "cumulative_sum", "required": false, "type": { "kind": "instance_of", "type": { "name": "CumulativeSumAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket values source based aggregation that can be applied on date values or date range values extracted from the documents.\nIt dynamically builds fixed size (interval) buckets over the values.", "docId": "search-aggregations-bucket-datehistogram-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-datehistogram-aggregation.html", "name": "date_histogram", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateHistogramAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket value source based aggregation that enables the user to define a set of date ranges - each representing a bucket.", "docId": "search-aggregations-bucket-daterange-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-daterange-aggregation.html", "name": "date_range", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateRangeAggregation", "namespace": "_types.aggregations" } } }, { "description": "A parent pipeline aggregation which calculates the derivative of a specified metric in a parent `histogram` or `date_histogram` aggregation.", "docId": "search-aggregations-pipeline-derivative-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-derivative-aggregation.html", "name": "derivative", "required": false, "type": { "kind": "instance_of", "type": { "name": "DerivativeAggregation", "namespace": "_types.aggregations" } } }, { "description": "A filtering aggregation used to limit any sub aggregations' processing to a sample of the top-scoring documents.\nSimilar to the `sampler` aggregation, but adds the ability to limit the number of matches that share a common value.", "docId": "search-aggregations-bucket-diversified-sampler-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-diversified-sampler-aggregation.html", "name": "diversified_sampler", "required": false, "type": { "kind": "instance_of", "type": { "name": "DiversifiedSamplerAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-value metrics aggregation that computes stats over numeric values extracted from the aggregated documents.", "docId": "search-aggregations-metrics-extendedstats-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-extendedstats-aggregation.html", "name": "extended_stats", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExtendedStatsAggregation", "namespace": "_types.aggregations" } } }, { "description": "A sibling pipeline aggregation which calculates a variety of stats across all bucket of a specified metric in a sibling aggregation.", "docId": "search-aggregations-pipeline-extended-stats-bucket-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-extended-stats-bucket-aggregation.html", "name": "extended_stats_bucket", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExtendedStatsBucketAggregation", "namespace": "_types.aggregations" } } }, { "description": "A bucket aggregation which finds frequent item sets, a form of association rules mining that identifies items that often occur together.", "docId": "search-aggregations-bucket-frequent-item-sets-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-frequent-item-sets-aggregation.html", "name": "frequent_item_sets", "required": false, "type": { "kind": "instance_of", "type": { "name": "FrequentItemSetsAggregation", "namespace": "_types.aggregations" } } }, { "description": "A single bucket aggregation that narrows the set of documents to those that match a query.", "docId": "search-aggregations-bucket-filter-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-filter-aggregation.html", "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "A multi-bucket aggregation where each bucket contains the documents that match a query.", "docId": "search-aggregations-bucket-filters-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-filters-aggregation.html", "name": "filters", "required": false, "type": { "kind": "instance_of", "type": { "name": "FiltersAggregation", "namespace": "_types.aggregations" } } }, { "description": "A metric aggregation that computes the geographic bounding box containing all values for a Geopoint or Geoshape field.", "docId": "search-aggregations-metrics-geobounds-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-geobounds-aggregation.html", "name": "geo_bounds", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoBoundsAggregation", "namespace": "_types.aggregations" } } }, { "description": "A metric aggregation that computes the weighted centroid from all coordinate values for geo fields.", "docId": "search-aggregations-metrics-geocentroid-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-geocentroid-aggregation.html", "name": "geo_centroid", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoCentroidAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket aggregation that works on `geo_point` fields.\nEvaluates the distance of each document value from an origin point and determines the buckets it belongs to, based on ranges defined in the request.", "docId": "search-aggregations-bucket-geodistance-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-geodistance-aggregation.html", "name": "geo_distance", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoDistanceAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket aggregation that groups `geo_point` and `geo_shape` values into buckets that represent a grid.\nEach cell is labeled using a geohash which is of user-definable precision.", "docId": "search-aggregations-bucket-geohashgrid-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-geohashgrid-aggregation.html", "name": "geohash_grid", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoHashGridAggregation", "namespace": "_types.aggregations" } } }, { "description": "Aggregates all `geo_point` values within a bucket into a `LineString` ordered by the chosen sort field.", "docId": "search-aggregations-metrics-geo-line", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-geo-line.html", "name": "geo_line", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoLineAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket aggregation that groups `geo_point` and `geo_shape` values into buckets that represent a grid.\nEach cell corresponds to a map tile as used by many online map sites.", "docId": "search-aggregations-bucket-geotilegrid-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-geotilegrid-aggregation.html", "name": "geotile_grid", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoTileGridAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket aggregation that groups `geo_point` and `geo_shape` values into buckets that represent a grid.\nEach cell corresponds to a H3 cell index and is labeled using the H3Index representation.", "docId": "search-aggregations-bucket-geohexgrid-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-geohexgrid-aggregation.html", "name": "geohex_grid", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeohexGridAggregation", "namespace": "_types.aggregations" } } }, { "description": "Defines a single bucket of all the documents within the search execution context.\nThis context is defined by the indices and the document types you’re searching on, but is not influenced by the search query itself.", "docId": "search-aggregations-bucket-global-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-global-aggregation.html", "name": "global", "required": false, "type": { "kind": "instance_of", "type": { "name": "GlobalAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket values source based aggregation that can be applied on numeric values or numeric range values extracted from the documents.\nIt dynamically builds fixed size (interval) buckets over the values.", "docId": "search-aggregations-bucket-histogram-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-histogram-aggregation.html", "name": "histogram", "required": false, "type": { "kind": "instance_of", "type": { "name": "HistogramAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket value source based aggregation that enables the user to define a set of IP ranges - each representing a bucket.", "docId": "search-aggregations-bucket-iprange-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-iprange-aggregation.html", "name": "ip_range", "required": false, "type": { "kind": "instance_of", "type": { "name": "IpRangeAggregation", "namespace": "_types.aggregations" } } }, { "description": "A bucket aggregation that groups documents based on the network or sub-network of an IP address.", "docId": "search-aggregations-bucket-ipprefix-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-ipprefix-aggregation.html", "name": "ip_prefix", "required": false, "type": { "kind": "instance_of", "type": { "name": "IpPrefixAggregation", "namespace": "_types.aggregations" } } }, { "description": "A parent pipeline aggregation which loads a pre-trained model and performs inference on the collated result fields from the parent bucket aggregation.", "docId": "search-aggregations-pipeline-inference-bucket-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-inference-bucket-aggregation.html", "name": "inference", "required": false, "type": { "kind": "instance_of", "type": { "name": "InferenceAggregation", "namespace": "_types.aggregations" } } }, { "name": "line", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoLineAggregation", "namespace": "_types.aggregations" } } }, { "description": "A numeric aggregation that computes the following statistics over a set of document fields: `count`, `mean`, `variance`, `skewness`, `kurtosis`, `covariance`, and `covariance`.", "docId": "search-aggregations-matrix-stats-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-matrix-stats-aggregation.html", "name": "matrix_stats", "required": false, "type": { "kind": "instance_of", "type": { "name": "MatrixStatsAggregation", "namespace": "_types.aggregations" } } }, { "description": "A single-value metrics aggregation that returns the maximum value among the numeric values extracted from the aggregated documents.", "docId": "search-aggregations-metrics-max-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-max-aggregation.html", "name": "max", "required": false, "type": { "kind": "instance_of", "type": { "name": "MaxAggregation", "namespace": "_types.aggregations" } } }, { "description": "A sibling pipeline aggregation which identifies the bucket(s) with the maximum value of a specified metric in a sibling aggregation and outputs both the value and the key(s) of the bucket(s).", "docId": "search-aggregations-pipeline-max-bucket-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-max-bucket-aggregation.html", "name": "max_bucket", "required": false, "type": { "kind": "instance_of", "type": { "name": "MaxBucketAggregation", "namespace": "_types.aggregations" } } }, { "description": "A single-value aggregation that approximates the median absolute deviation of its search results.", "docId": "search-aggregations-metrics-median-absolute-deviation-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-median-absolute-deviation-aggregation.html", "name": "median_absolute_deviation", "required": false, "type": { "kind": "instance_of", "type": { "name": "MedianAbsoluteDeviationAggregation", "namespace": "_types.aggregations" } } }, { "description": "A single-value metrics aggregation that returns the minimum value among numeric values extracted from the aggregated documents.", "docId": "search-aggregations-metrics-min-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-min-aggregation.html", "name": "min", "required": false, "type": { "kind": "instance_of", "type": { "name": "MinAggregation", "namespace": "_types.aggregations" } } }, { "description": "A sibling pipeline aggregation which identifies the bucket(s) with the minimum value of a specified metric in a sibling aggregation and outputs both the value and the key(s) of the bucket(s).", "docId": "search-aggregations-pipeline-min-bucket-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-min-bucket-aggregation.html", "name": "min_bucket", "required": false, "type": { "kind": "instance_of", "type": { "name": "MinBucketAggregation", "namespace": "_types.aggregations" } } }, { "description": "A field data based single bucket aggregation, that creates a bucket of all documents in the current document set context that are missing a field value (effectively, missing a field or having the configured NULL value set).", "docId": "search-aggregations-bucket-missing-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-missing-aggregation.html", "name": "missing", "required": false, "type": { "kind": "instance_of", "type": { "name": "MissingAggregation", "namespace": "_types.aggregations" } } }, { "name": "moving_avg", "required": false, "type": { "kind": "instance_of", "type": { "name": "MovingAverageAggregation", "namespace": "_types.aggregations" } } }, { "description": "Given an ordered series of percentiles, \"slides\" a window across those percentiles and computes cumulative percentiles.", "docId": "search-aggregations-pipeline-moving-percentiles-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-moving-percentiles-aggregation.html", "name": "moving_percentiles", "required": false, "type": { "kind": "instance_of", "type": { "name": "MovingPercentilesAggregation", "namespace": "_types.aggregations" } } }, { "description": "Given an ordered series of data, \"slides\" a window across the data and runs a custom script on each window of data.\nFor convenience, a number of common functions are predefined such as `min`, `max`, and moving averages.", "docId": "search-aggregations-pipeline-movfn-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-movfn-aggregation.html", "name": "moving_fn", "required": false, "type": { "kind": "instance_of", "type": { "name": "MovingFunctionAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket value source based aggregation where buckets are dynamically built - one per unique set of values.", "docId": "search-aggregations-bucket-multi-terms-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-multi-terms-aggregation.html", "name": "multi_terms", "required": false, "type": { "kind": "instance_of", "type": { "name": "MultiTermsAggregation", "namespace": "_types.aggregations" } } }, { "description": "A special single bucket aggregation that enables aggregating nested documents.", "docId": "search-aggregations-bucket-nested-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-nested-aggregation.html", "name": "nested", "required": false, "type": { "kind": "instance_of", "type": { "name": "NestedAggregation", "namespace": "_types.aggregations" } } }, { "description": "A parent pipeline aggregation which calculates the specific normalized/rescaled value for a specific bucket value.", "docId": "search-aggregations-pipeline-normalize-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-normalize-aggregation.html", "name": "normalize", "required": false, "type": { "kind": "instance_of", "type": { "name": "NormalizeAggregation", "namespace": "_types.aggregations" } } }, { "description": "A special single bucket aggregation that selects parent documents that have the specified type, as defined in a `join` field.", "docId": "search-aggregations-bucket-parent-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-parent-aggregation.html", "name": "parent", "required": false, "type": { "kind": "instance_of", "type": { "name": "ParentAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-value metrics aggregation that calculates one or more percentile ranks over numeric values extracted from the aggregated documents.", "docId": "search-aggregations-metrics-percentile-rank-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-percentile-rank-aggregation.html", "name": "percentile_ranks", "required": false, "type": { "kind": "instance_of", "type": { "name": "PercentileRanksAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-value metrics aggregation that calculates one or more percentiles over numeric values extracted from the aggregated documents.", "docId": "search-aggregations-metrics-percentile-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-percentile-aggregation.html", "name": "percentiles", "required": false, "type": { "kind": "instance_of", "type": { "name": "PercentilesAggregation", "namespace": "_types.aggregations" } } }, { "description": "A sibling pipeline aggregation which calculates percentiles across all bucket of a specified metric in a sibling aggregation.", "docId": "search-aggregations-pipeline-percentiles-bucket-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-percentiles-bucket-aggregation.html", "name": "percentiles_bucket", "required": false, "type": { "kind": "instance_of", "type": { "name": "PercentilesBucketAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket value source based aggregation that enables the user to define a set of ranges - each representing a bucket.", "docId": "search-aggregations-bucket-range-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-range-aggregation.html", "name": "range", "required": false, "type": { "kind": "instance_of", "type": { "name": "RangeAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket value source based aggregation which finds \"rare\" terms — terms that are at the long-tail of the distribution and are not frequent.", "docId": "search-aggregations-bucket-rare-terms-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-rare-terms-aggregation.html", "name": "rare_terms", "required": false, "type": { "kind": "instance_of", "type": { "name": "RareTermsAggregation", "namespace": "_types.aggregations" } } }, { "description": "Calculates a rate of documents or a field in each bucket.\nCan only be used inside a `date_histogram` or `composite` aggregation.", "docId": "search-aggregations-metrics-rate-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-rate-aggregation.html", "name": "rate", "required": false, "type": { "kind": "instance_of", "type": { "name": "RateAggregation", "namespace": "_types.aggregations" } } }, { "description": "A special single bucket aggregation that enables aggregating on parent documents from nested documents.\nShould only be defined inside a `nested` aggregation.", "docId": "search-aggregations-bucket-reverse-nested-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-reverse-nested-aggregation.html", "name": "reverse_nested", "required": false, "type": { "kind": "instance_of", "type": { "name": "ReverseNestedAggregation", "namespace": "_types.aggregations" } } }, { "description": "A filtering aggregation used to limit any sub aggregations' processing to a sample of the top-scoring documents.", "docId": "search-aggregations-bucket-sampler-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-sampler-aggregation.html", "name": "sampler", "required": false, "type": { "kind": "instance_of", "type": { "name": "SamplerAggregation", "namespace": "_types.aggregations" } } }, { "description": "A metric aggregation that uses scripts to provide a metric output.", "docId": "search-aggregations-metrics-scripted-metric-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-scripted-metric-aggregation.html", "name": "scripted_metric", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScriptedMetricAggregation", "namespace": "_types.aggregations" } } }, { "description": "An aggregation that subtracts values in a time series from themselves at different time lags or periods.", "docId": "search-aggregations-pipeline-serialdiff-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-serialdiff-aggregation.html", "name": "serial_diff", "required": false, "type": { "kind": "instance_of", "type": { "name": "SerialDifferencingAggregation", "namespace": "_types.aggregations" } } }, { "description": "Returns interesting or unusual occurrences of terms in a set.", "docId": "search-aggregations-bucket-significantterms-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-significantterms-aggregation.html", "name": "significant_terms", "required": false, "type": { "kind": "instance_of", "type": { "name": "SignificantTermsAggregation", "namespace": "_types.aggregations" } } }, { "description": "Returns interesting or unusual occurrences of free-text terms in a set.", "docId": "search-aggregations-bucket-significanttext-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-significanttext-aggregation.html", "name": "significant_text", "required": false, "type": { "kind": "instance_of", "type": { "name": "SignificantTextAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-value metrics aggregation that computes stats over numeric values extracted from the aggregated documents.", "docId": "search-aggregations-metrics-stats-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-stats-aggregation.html", "name": "stats", "required": false, "type": { "kind": "instance_of", "type": { "name": "StatsAggregation", "namespace": "_types.aggregations" } } }, { "description": "A sibling pipeline aggregation which calculates a variety of stats across all bucket of a specified metric in a sibling aggregation.", "docId": "search-aggregations-pipeline-stats-bucket-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-stats-bucket-aggregation.html", "name": "stats_bucket", "required": false, "type": { "kind": "instance_of", "type": { "name": "StatsBucketAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-value metrics aggregation that computes statistics over string values extracted from the aggregated documents.", "docId": "search-aggregations-metrics-string-stats-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-string-stats-aggregation.html", "name": "string_stats", "required": false, "type": { "kind": "instance_of", "type": { "name": "StringStatsAggregation", "namespace": "_types.aggregations" } } }, { "description": "A single-value metrics aggregation that sums numeric values that are extracted from the aggregated documents.", "docId": "search-aggregations-metrics-sum-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-sum-aggregation.html", "name": "sum", "required": false, "type": { "kind": "instance_of", "type": { "name": "SumAggregation", "namespace": "_types.aggregations" } } }, { "description": "A sibling pipeline aggregation which calculates the sum of a specified metric across all buckets in a sibling aggregation.", "docId": "search-aggregations-pipeline-sum-bucket-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline-sum-bucket-aggregation.html", "name": "sum_bucket", "required": false, "type": { "kind": "instance_of", "type": { "name": "SumBucketAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket value source based aggregation where buckets are dynamically built - one per unique value.", "docId": "search-aggregations-bucket-terms-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-terms-aggregation.html", "name": "terms", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsAggregation", "namespace": "_types.aggregations" } } }, { "description": "A metric aggregation that returns the top matching documents per bucket.", "docId": "search-aggregations-metrics-top-hits-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-top-hits-aggregation.html", "name": "top_hits", "required": false, "type": { "kind": "instance_of", "type": { "name": "TopHitsAggregation", "namespace": "_types.aggregations" } } }, { "description": "A metrics aggregation that performs a statistical hypothesis test in which the test statistic follows a Student’s t-distribution under the null hypothesis on numeric values extracted from the aggregated documents.", "docId": "search-aggregations-metrics-ttest-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-ttest-aggregation.html", "name": "t_test", "required": false, "type": { "kind": "instance_of", "type": { "name": "TTestAggregation", "namespace": "_types.aggregations" } } }, { "description": "A metric aggregation that selects metrics from the document with the largest or smallest sort value.", "docId": "search-aggregations-metrics-top-metrics", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-top-metrics.html", "name": "top_metrics", "required": false, "type": { "kind": "instance_of", "type": { "name": "TopMetricsAggregation", "namespace": "_types.aggregations" } } }, { "description": "A single-value metrics aggregation that counts the number of values that are extracted from the aggregated documents.", "docId": "search-aggregations-metrics-valuecount-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-valuecount-aggregation.html", "name": "value_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "ValueCountAggregation", "namespace": "_types.aggregations" } } }, { "description": "A single-value metrics aggregation that computes the weighted average of numeric values that are extracted from the aggregated documents.", "docId": "search-aggregations-metrics-weight-avg-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-weight-avg-aggregation.html", "name": "weighted_avg", "required": false, "type": { "kind": "instance_of", "type": { "name": "WeightedAverageAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket aggregation similar to the histogram, except instead of providing an interval to use as the width of each bucket, a target number of buckets is provided.", "docId": "search-aggregations-bucket-variablewidthhistogram-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-variablewidthhistogram-aggregation.html", "name": "variable_width_histogram", "required": false, "type": { "kind": "instance_of", "type": { "name": "VariableWidthHistogramAggregation", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/AggregationContainer.ts#L105-L514", "variants": { "kind": "container", "nonExhaustive": true } }, { "kind": "interface", "name": { "name": "AggregationRange", "namespace": "_types.aggregations" }, "properties": [ { "description": "Start of the range (inclusive).", "name": "from", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "Custom key to return the range with.", "name": "key", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "End of the range (exclusive).", "name": "to", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } } ], "specLocation": "_types/aggregations/bucket.ts#L670-L683" }, { "kind": "interface", "name": { "name": "ArrayPercentilesItem", "namespace": "_types.aggregations" }, "properties": [ { "name": "key", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "value", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "value_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L160-L164" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "DateHistogramBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "AutoDateHistogramAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "interval", "required": true, "type": { "kind": "instance_of", "type": { "name": "DurationLarge", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L356-L360", "variantName": "auto_date_histogram" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "AutoDateHistogramAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The target number of buckets.", "name": "buckets", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The field on which to run the aggregation.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The date format used to format `key_as_string` in the response.\nIf no `format` is specified, the first date format specified in the field mapping is used.", "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The minimum rounding interval.\nThis can make the collection process more efficient, as the aggregation will not attempt to round at any interval lower than `minimum_interval`.", "name": "minimum_interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "MinimumInterval", "namespace": "_types.aggregations" } } }, { "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", "name": "missing", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Time zone specified as a ISO 8601 UTC offset.", "name": "offset", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "description": "Time zone ID.", "name": "time_zone", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeZone", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L63-L98" }, { "inherits": { "type": { "name": "FormatMetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "AverageAggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/metric.ts#L55-L55" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "AverageBucketAggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/pipeline.ts#L78-L78" }, { "inherits": { "type": { "name": "SingleMetricAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "AvgAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L209-L210", "variantName": "avg" }, { "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "BoxPlotAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "min", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "max", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "q1", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "q2", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "q3", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "lower", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "upper", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "min_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "q1_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "q2_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "q3_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "lower_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "upper_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L706-L722", "variantName": "box_plot" }, { "inherits": { "type": { "name": "MetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "BoxplotAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", "name": "compression", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/metric.ts#L57-L62" }, { "description": "Base type for bucket aggregations. These aggregations also accept sub-aggregations.", "inherits": { "type": { "name": "Aggregation", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/bucket.ts#L48-L53" }, { "description": "A sibling pipeline aggregation which executes a correlation function on the configured sibling multi-bucket aggregation.", "inherits": { "type": { "name": "BucketPathAggregation", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "BucketCorrelationAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The correlation function to execute.", "name": "function", "required": true, "type": { "kind": "instance_of", "type": { "name": "BucketCorrelationFunction", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L129-L135" }, { "kind": "interface", "name": { "name": "BucketCorrelationFunction", "namespace": "_types.aggregations" }, "properties": [ { "description": "The configuration to calculate a count correlation. This function is designed for determining the correlation of a term value and a given metric.", "name": "count_correlation", "required": true, "type": { "kind": "instance_of", "type": { "name": "BucketCorrelationFunctionCountCorrelation", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L137-L142" }, { "kind": "interface", "name": { "name": "BucketCorrelationFunctionCountCorrelation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The indicator with which to correlate the configured `bucket_path` values.", "name": "indicator", "required": true, "type": { "kind": "instance_of", "type": { "name": "BucketCorrelationFunctionCountCorrelationIndicator", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L144-L147" }, { "kind": "interface", "name": { "name": "BucketCorrelationFunctionCountCorrelationIndicator", "namespace": "_types.aggregations" }, "properties": [ { "description": "The total number of documents that initially created the expectations. It’s required to be greater\nthan or equal to the sum of all values in the buckets_path as this is the originating superset of data\nto which the term values are correlated.", "name": "doc_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "An array of numbers with which to correlate the configured `bucket_path` values.\nThe length of this value must always equal the number of buckets returned by the `bucket_path`.", "name": "expectations", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } }, { "description": "An array of fractions to use when averaging and calculating variance. This should be used if\nthe pre-calculated data and the buckets_path have known gaps. The length of fractions, if provided,\nmust equal expectations.", "name": "fractions", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } } ], "specLocation": "_types/aggregations/pipeline.ts#L149-L167" }, { "description": "A sibling pipeline aggregation which executes a two sample Kolmogorov–Smirnov test (referred\nto as a \"K-S test\" from now on) against a provided distribution, and the distribution implied\nby the documents counts in the configured sibling aggregation. Specifically, for some metric,\nassuming that the percentile intervals of the metric are known beforehand or have been computed\nby an aggregation, then one would use range aggregation for the sibling to compute the p-value\nof the distribution difference between the metric and the restriction of that metric to a subset\nof the documents. A natural use case is if the sibling aggregation range aggregation nested in a\nterms aggregation, in which case one compares the overall distribution of metric to its restriction\nto each term.", "inherits": { "type": { "name": "BucketPathAggregation", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "BucketKsAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "A list of string values indicating which K-S test alternative to calculate. The valid values\nare: \"greater\", \"less\", \"two_sided\". This parameter is key for determining the K-S statistic used\nwhen calculating the K-S test. Default value is all possible alternative hypotheses.", "name": "alternative", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "A list of doubles indicating the distribution of the samples with which to compare to the `buckets_path` results.\nIn typical usage this is the overall proportion of documents in each bucket, which is compared with the actual\ndocument proportions in each bucket from the sibling aggregation counts. The default is to assume that overall\ndocuments are uniformly distributed on these buckets, which they would be if one used equal percentiles of a\nmetric to define the bucket end points.", "name": "fractions", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } }, { "description": "Indicates the sampling methodology when calculating the K-S test. Note, this is sampling of the returned values.\nThis determines the cumulative distribution function (CDF) points used comparing the two samples. Default is\n`upper_tail`, which emphasizes the upper end of the CDF points. Valid options are: `upper_tail`, `uniform`,\nand `lower_tail`.", "name": "sampling_method", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L94-L127" }, { "inherits": { "type": { "name": "SingleMetricAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "BucketMetricValueAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "keys", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L233-L236", "variantName": "bucket_metric_value" }, { "inherits": { "type": { "name": "Aggregation", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "BucketPathAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Path to the buckets that contain one set of values to correlate.", "docId": "search-aggregations-pipeline-bucket-path", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline.html#buckets-path-syntax", "name": "buckets_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "BucketsPath", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L31-L37" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "BucketScriptAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The script to run for this aggregation.", "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L80-L85" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "BucketSelectorAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The script to run for this aggregation.", "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L87-L92" }, { "inherits": { "type": { "name": "Aggregation", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "BucketSortAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Buckets in positions prior to `from` will be truncated.", "name": "from", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The policy to apply when gaps are found in the data.", "docId": "gap-policy", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline.html#gap-policy", "name": "gap_policy", "required": false, "serverDefault": "skip", "type": { "kind": "instance_of", "type": { "name": "GapPolicy", "namespace": "_types.aggregations" } } }, { "description": "The number of buckets to return.\nDefaults to all buckets of the parent aggregation.", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The list of fields to sort on.", "docId": "sort-search-results", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/sort-search-results.html", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "Sort", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L169-L190" }, { "codegenNames": [ "keyed", "array" ], "description": "Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for\nthe different buckets, the result is a dictionary.", "generics": [ { "name": "TBucket", "namespace": "_types.aggregations" } ], "kind": "type_alias", "name": { "name": "Buckets", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/Aggregate.ts#L316-L325", "type": { "items": [ { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "TBucket", "namespace": "_types.aggregations" } } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TBucket", "namespace": "_types.aggregations" } } } ], "kind": "union_of" } }, { "codegenNames": [ "single", "array", "dict" ], "description": "Buckets path can be expressed in different ways, and an aggregation may accept some or all of these\nforms depending on its type. Please refer to each aggregation's documentation to know what buckets\npath forms they accept.", "kind": "type_alias", "name": { "name": "BucketsPath", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/pipeline.ts#L53-L59", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } }, { "kind": "enum", "members": [ { "aliases": [ "1s" ], "name": "second" }, { "aliases": [ "1m" ], "name": "minute" }, { "aliases": [ "1h" ], "name": "hour" }, { "aliases": [ "1d" ], "name": "day" }, { "aliases": [ "1w" ], "name": "week" }, { "aliases": [ "1M" ], "name": "month" }, { "aliases": [ "1q" ], "name": "quarter" }, { "aliases": [ "1Y" ], "name": "year" } ], "name": { "name": "CalendarInterval", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/bucket.ts#L247-L264" }, { "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "CardinalityAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L138-L141", "variantName": "cardinality" }, { "inherits": { "type": { "name": "MetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "CardinalityAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "A unique count below which counts are expected to be close to accurate.\nThis allows to trade memory for accuracy.", "name": "precision_threshold", "required": false, "serverDefault": 3000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "rehash", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Mechanism by which cardinality aggregations is run.", "name": "execution_hint", "required": false, "type": { "kind": "instance_of", "type": { "name": "CardinalityExecutionMode", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/metric.ts#L87-L99" }, { "kind": "enum", "members": [ { "description": "Run the aggregation by using global ordinals of the field and resolving those values after finishing a shard.", "name": "global_ordinals" }, { "description": "Run the aggregation by using segment ordinal values and resolving those values after each segment.", "name": "segment_ordinals" }, { "description": "Run the aggregation by using field values directly.", "name": "direct" }, { "description": "Heuristic-based mode, default in Elasticsearch 8.3 and earlier.", "name": "save_memory_heuristic" }, { "description": "Heuristic-based mode, default in Elasticsearch 8.4 and later.", "name": "save_time_heuristic" } ], "name": { "name": "CardinalityExecutionMode", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/metric.ts#L64-L85" }, { "description": "A multi-bucket aggregation that groups semi-structured text into buckets. Each text\nfield is re-analyzed using a custom analyzer. The resulting tokens are then categorized\ncreating buckets of similarly formatted text values. This aggregation works best with machine\ngenerated text like system logs. Only the first 100 analyzed tokens are used to categorize the text.", "inherits": { "type": { "name": "Aggregation", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "CategorizeTextAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The semi-structured text field to categorize.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The maximum number of unique tokens at any position up to max_matched_tokens. Must be larger than 1.\nSmaller values use less memory and create fewer categories. Larger values will use more memory and\ncreate narrower categories. Max allowed value is 100.", "name": "max_unique_tokens", "required": false, "serverDefault": 50, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum number of token positions to match on before attempting to merge categories. Larger\nvalues will use more memory and create narrower categories. Max allowed value is 100.", "name": "max_matched_tokens", "required": false, "serverDefault": 5, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The minimum percentage of tokens that must match for text to be added to the category bucket. Must\nbe between 1 and 100. The larger the value the narrower the categories. Larger values will increase memory\nusage and create narrower categories.", "name": "similarity_threshold", "required": false, "serverDefault": 50, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "This property expects an array of regular expressions. The expressions are used to filter out matching\nsequences from the categorization field values. You can use this functionality to fine tune the categorization\nby excluding sequences from consideration when categories are defined. For example, you can exclude SQL\nstatements that appear in your log files. This property cannot be used at the same time as categorization_analyzer.\nIf you only want to define simple regular expression filters that are applied prior to tokenization, setting\nthis property is the easiest method. If you also want to customize the tokenizer or post-tokenization filtering,\nuse the categorization_analyzer property instead and include the filters as pattern_replace character filters.", "name": "categorization_filters", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "The categorization analyzer specifies how the text is analyzed and tokenized before being categorized.\nThe syntax is very similar to that used to define the analyzer in the [Analyze endpoint](https://www.elastic.co/guide/en/elasticsearch/reference/8.0/indices-analyze.html). This property\ncannot be used at the same time as categorization_filters.", "name": "categorization_analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "CategorizeTextAnalyzer", "namespace": "_types.aggregations" } } }, { "description": "The number of categorization buckets to return from each shard before merging all the results.", "name": "shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of buckets to return.", "name": "size", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The minimum number of documents in a bucket to be returned to the results.", "name": "min_doc_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The minimum number of documents in a bucket to be returned from the shard before merging.", "name": "shard_min_doc_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L1036-L1100" }, { "codegenNames": [ "builtin", "custom" ], "kind": "type_alias", "name": { "name": "CategorizeTextAnalyzer", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/bucket.ts#L1102-L1105", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "CustomCategorizeTextAnalyzer", "namespace": "_types.aggregations" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "ChiSquareHeuristic", "namespace": "_types.aggregations" }, "properties": [ { "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", "name": "background_is_superset", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Set to `false` to filter out the terms that appear less often in the subset than in documents outside the subset.", "name": "include_negatives", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/bucket.ts#L733-L742" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "SingleBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "ChildrenAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L776-L777", "variantName": "children" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "ChildrenAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The child type that should be selected.", "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "RelationName", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L109-L114" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "CompositeBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "CompositeAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "after_key", "required": false, "type": { "kind": "instance_of", "type": { "name": "CompositeAggregateKey", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L618-L623", "variantName": "composite" }, { "kind": "type_alias", "name": { "name": "CompositeAggregateKey", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/bucket.ts#L116-L116", "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "FieldValue", "namespace": "_types" } } } }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "CompositeAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "When paginating, use the `after_key` value returned in the previous response to retrieve the next page.", "name": "after", "required": false, "type": { "kind": "instance_of", "type": { "name": "CompositeAggregateKey", "namespace": "_types.aggregations" } } }, { "description": "The number of composite buckets that should be returned.", "name": "size", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The value sources used to build composite buckets.\nKeys are returned in the order of the `sources` definition.", "name": "sources", "required": false, "type": { "kind": "array_of", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "CompositeAggregationSource", "namespace": "_types.aggregations" } } } } } ], "specLocation": "_types/aggregations/bucket.ts#L118-L134" }, { "kind": "interface", "name": { "name": "CompositeAggregationBase", "namespace": "_types.aggregations" }, "properties": [ { "description": "Either `field` or `script` must be present", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "missing_bucket", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "missing_order", "required": false, "type": { "kind": "instance_of", "type": { "name": "MissingOrder", "namespace": "_types.aggregations" } } }, { "description": "Either `field` or `script` must be present", "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "name": "value_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "ValueType", "namespace": "_types.aggregations" } } }, { "name": "order", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortOrder", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L155-L164" }, { "kind": "interface", "name": { "name": "CompositeAggregationSource", "namespace": "_types.aggregations" }, "properties": [ { "description": "A terms aggregation.", "name": "terms", "required": false, "type": { "kind": "instance_of", "type": { "name": "CompositeTermsAggregation", "namespace": "_types.aggregations" } } }, { "description": "A histogram aggregation.", "name": "histogram", "required": false, "type": { "kind": "instance_of", "type": { "name": "CompositeHistogramAggregation", "namespace": "_types.aggregations" } } }, { "description": "A date histogram aggregation.", "name": "date_histogram", "required": false, "type": { "kind": "instance_of", "type": { "name": "CompositeDateHistogramAggregation", "namespace": "_types.aggregations" } } }, { "description": "A geotile grid aggregation.", "name": "geotile_grid", "required": false, "type": { "kind": "instance_of", "type": { "name": "CompositeGeoTileGridAggregation", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/bucket.ts#L136-L153" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "CompositeBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key", "required": true, "type": { "kind": "instance_of", "type": { "name": "CompositeAggregateKey", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L625-L627" }, { "inherits": { "type": { "name": "CompositeAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "CompositeDateHistogramAggregation", "namespace": "_types.aggregations" }, "properties": [ { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Either `calendar_interval` or `fixed_interval` must be present", "name": "calendar_interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "DurationLarge", "namespace": "_types" } } }, { "description": "Either `calendar_interval` or `fixed_interval` must be present", "name": "fixed_interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "DurationLarge", "namespace": "_types" } } }, { "name": "offset", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "time_zone", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeZone", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L172-L180" }, { "inherits": { "type": { "name": "CompositeAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "CompositeGeoTileGridAggregation", "namespace": "_types.aggregations" }, "properties": [ { "name": "precision", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "bounds", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoBounds", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L182-L185" }, { "inherits": { "type": { "name": "CompositeAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "CompositeHistogramAggregation", "namespace": "_types.aggregations" }, "properties": [ { "name": "interval", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L168-L170" }, { "inherits": { "type": { "name": "CompositeAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "CompositeTermsAggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/bucket.ts#L166-L166" }, { "description": "Result of the `cumulative_cardinality` aggregation", "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "CumulativeCardinalityAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "value_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L747-L755", "variantName": "simple_long_value" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "CumulativeCardinalityAggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/pipeline.ts#L192-L192" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "CumulativeSumAggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/pipeline.ts#L194-L194" }, { "kind": "interface", "name": { "name": "CustomCategorizeTextAnalyzer", "namespace": "_types.aggregations" }, "properties": [ { "name": "char_filter", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "tokenizer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "filter", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "_types/aggregations/bucket.ts#L1107-L1111" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "DateHistogramBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "DateHistogramAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L348-L349", "variantName": "date_histogram" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "DateHistogramAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Calendar-aware interval.\nCan be specified using the unit name, such as `month`, or as a single unit quantity, such as `1M`.", "name": "calendar_interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "CalendarInterval", "namespace": "_types.aggregations" } } }, { "description": "Enables extending the bounds of the histogram beyond the data itself.", "name": "extended_bounds", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "FieldDateMath", "namespace": "_types.aggregations" } } ], "kind": "instance_of", "type": { "name": "ExtendedBounds", "namespace": "_types.aggregations" } } }, { "description": "Limits the histogram to specified bounds.", "name": "hard_bounds", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "FieldDateMath", "namespace": "_types.aggregations" } } ], "kind": "instance_of", "type": { "name": "ExtendedBounds", "namespace": "_types.aggregations" } } }, { "description": "The date field whose values are use to build a histogram.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Fixed intervals: a fixed number of SI units and never deviate, regardless of where they fall on the calendar.", "name": "fixed_interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The date format used to format `key_as_string` in the response.\nIf no `format` is specified, the first date format specified in the field mapping is used.", "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "deprecation": { "description": "use `fixed_interval` or `calendar_interval`", "version": "7.2.0" }, "name": "interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Only returns buckets that have `min_doc_count` number of documents.\nBy default, all buckets between the first bucket that matches documents and the last one are returned.", "name": "min_doc_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", "name": "missing", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Changes the start value of each bucket by the specified positive (`+`) or negative offset (`-`) duration.", "name": "offset", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The sort order of the returned buckets.", "name": "order", "required": false, "type": { "kind": "instance_of", "type": { "name": "AggregateOrder", "namespace": "_types.aggregations" } } }, { "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "description": "Time zone used for bucketing and rounding.\nDefaults to Coordinated Universal Time (UTC).", "name": "time_zone", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeZone", "namespace": "_types" } } }, { "description": "Set to `true` to associate a unique string key with each bucket and return the ranges as a hash rather than an array.", "name": "keyed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/bucket.ts#L187-L245" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "DateHistogramBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "key", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L351-L354" }, { "description": "Result of a `date_range` aggregation. Same format as a for a `range` aggregation: `from` and `to`\nin `buckets` are milliseconds since the Epoch, represented as a floating point number.", "inherits": { "type": { "name": "RangeAggregate", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "DateRangeAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L543-L548", "variantName": "date_range" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "DateRangeAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The date field whose values are use to build ranges.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The date format used to format `from` and `to` in the response.", "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", "name": "missing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Missing", "namespace": "_types.aggregations" } } }, { "description": "Array of date ranges.", "name": "ranges", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DateRangeExpression", "namespace": "_types.aggregations" } } } }, { "description": "Time zone used to convert dates from another time zone to UTC.", "name": "time_zone", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeZone", "namespace": "_types" } } }, { "description": "Set to `true` to associate a unique string key with each bucket and returns the ranges as a hash rather than an array.", "name": "keyed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/bucket.ts#L266-L292" }, { "kind": "interface", "name": { "name": "DateRangeExpression", "namespace": "_types.aggregations" }, "properties": [ { "description": "Start of the range (inclusive).", "name": "from", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldDateMath", "namespace": "_types.aggregations" } } }, { "description": "Custom key to return the range with.", "name": "key", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "End of the range (exclusive).", "name": "to", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldDateMath", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/bucket.ts#L303-L316" }, { "inherits": { "type": { "name": "SingleMetricAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "DerivativeAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "normalized_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "normalized_value_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L227-L231", "variantName": "derivative" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "DerivativeAggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/pipeline.ts#L196-L196" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "DiversifiedSamplerAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The type of value used for de-duplication.", "name": "execution_hint", "required": false, "serverDefault": "global_ordinals", "type": { "kind": "instance_of", "type": { "name": "SamplerAggregationExecutionHint", "namespace": "_types.aggregations" } } }, { "description": "Limits how many documents are permitted per choice of de-duplicating value.", "name": "max_docs_per_value", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "description": "Limits how many top-scoring documents are collected in the sample processed on each shard.", "name": "shard_size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The field used to provide values used for de-duplication.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L318-L339" }, { "description": "Result of a `terms` aggregation when the field is some kind of decimal number like a float, double, or distance.", "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "DoubleTermsBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "TermsAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "DoubleTermsAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L411-L416", "variantName": "dterms" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "TermsBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "DoubleTermsBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "key_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L418-L421" }, { "kind": "interface", "name": { "name": "EwmaModelSettings", "namespace": "_types.aggregations" }, "properties": [ { "name": "alpha", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L267-L269" }, { "inherits": { "type": { "name": "MovingAverageAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "EwmaMovingAverageAggregation", "namespace": "_types.aggregations" }, "properties": [ { "name": "model", "required": true, "type": { "kind": "literal_value", "value": "ewma" } }, { "name": "settings", "required": true, "type": { "kind": "instance_of", "type": { "name": "EwmaModelSettings", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L252-L255" }, { "generics": [ { "name": "T", "namespace": "_types.aggregations" } ], "kind": "interface", "name": { "name": "ExtendedBounds", "namespace": "_types.aggregations" }, "properties": [ { "description": "Maximum value for the bound.", "name": "max", "required": false, "type": { "kind": "instance_of", "type": { "name": "T", "namespace": "_types.aggregations" } } }, { "description": "Minimum value for the bound.", "name": "min", "required": false, "type": { "kind": "instance_of", "type": { "name": "T", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/bucket.ts#L487-L496" }, { "inherits": { "type": { "name": "StatsAggregate", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "ExtendedStatsAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "sum_of_squares", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "variance", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "variance_population", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "variance_sampling", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "std_deviation", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "std_deviation_population", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "std_deviation_sampling", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "std_deviation_bounds", "required": false, "type": { "kind": "instance_of", "type": { "name": "StandardDeviationBounds", "namespace": "_types.aggregations" } } }, { "name": "sum_of_squares_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "variance_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "variance_population_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "variance_sampling_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "std_deviation_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "std_deviation_bounds_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "StandardDeviationBoundsAsString", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L278-L296", "variantName": "extended_stats" }, { "inherits": { "type": { "name": "FormatMetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "ExtendedStatsAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The number of standard deviations above/below the mean to display.", "name": "sigma", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/metric.ts#L101-L106" }, { "inherits": { "type": { "name": "ExtendedStatsAggregate", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "ExtendedStatsBucketAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L298-L299", "variantName": "extended_stats_bucket" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "ExtendedStatsBucketAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The number of standard deviations above/below the mean to display.", "name": "sigma", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L198-L203" }, { "codegenNames": [ "expr", "value" ], "description": "A date range limit, represented either as a DateMath expression or a number expressed\naccording to the target field's precision.", "kind": "type_alias", "name": { "name": "FieldDateMath", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/bucket.ts#L294-L301", "type": { "items": [ { "kind": "instance_of", "type": { "name": "DateMath", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } ], "kind": "union_of" } }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "SingleBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "FilterAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L495-L496", "variantName": "filter" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "FiltersBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "FiltersAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L568-L569", "variantName": "filters" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "FiltersAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Collection of queries from which to build buckets.", "name": "filters", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } ], "kind": "instance_of", "type": { "name": "Buckets", "namespace": "_types.aggregations" } } }, { "description": "Set to `true` to add a bucket to the response which will contain all documents that do not match any of the given filters.", "name": "other_bucket", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The key with which the other bucket is returned.", "name": "other_bucket_key", "required": false, "serverDefault": "_other_", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "By default, the named filters aggregation returns the buckets as an object.\nSet to `false` to return the buckets as an array of objects.", "name": "keyed", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/bucket.ts#L356-L376" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "FiltersBucket", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L571-L571" }, { "inherits": { "type": { "name": "MetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "FormatMetricAggregationBase", "namespace": "_types.aggregations" }, "properties": [ { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/metric.ts#L47-L49" }, { "inherits": { "type": { "name": "MetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "FormattableMetricAggregation", "namespace": "_types.aggregations" }, "properties": [ { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/metric.ts#L51-L53" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "FrequentItemSetsBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "FrequentItemSetsAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L639-L640", "variantName": "frequent_item_sets" }, { "kind": "interface", "name": { "name": "FrequentItemSetsAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Fields to analyze.", "name": "fields", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FrequentItemSetsField", "namespace": "_types.aggregations" } } } }, { "description": "The minimum size of one item set.", "name": "minimum_set_size", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The minimum support of one item set.", "name": "minimum_support", "required": false, "serverDefault": 0.1, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "The number of top item sets to return.", "name": "size", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Query that filters documents from analysis.", "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/aggregations/bucket.ts#L1158-L1182" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "FrequentItemSetsBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } }, { "name": "support", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L642-L645" }, { "kind": "interface", "name": { "name": "FrequentItemSetsField", "namespace": "_types.aggregations" }, "properties": [ { "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Values to exclude.\nCan be regular expression strings or arrays of strings of exact terms.", "name": "exclude", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsExclude", "namespace": "_types.aggregations" } } }, { "description": "Values to include.\nCan be regular expression strings or arrays of strings of exact terms.", "name": "include", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsInclude", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/bucket.ts#L1144-L1156" }, { "kind": "enum", "members": [ { "description": "Treats missing data as if the bucket does not exist. It will skip the bucket and\ncontinue calculating using the next available value.", "name": "skip" }, { "description": "Replace missing values with a zero (0) and pipeline aggregation computation will proceed as normal.", "name": "insert_zeros" }, { "description": "Similar to skip, except if the metric provides a non-null, non-NaN value this value is used,\notherwise the empty bucket is skipped.", "name": "keep_values" } ], "name": { "name": "GapPolicy", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/pipeline.ts#L61-L76" }, { "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GeoBoundsAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "bounds", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoBounds", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L303-L306", "variantName": "geo_bounds" }, { "inherits": { "type": { "name": "MetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GeoBoundsAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Specifies whether the bounding box should be allowed to overlap the international date line.", "name": "wrap_longitude", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/metric.ts#L108-L114" }, { "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GeoCentroidAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "location", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoLocation", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L308-L312", "variantName": "geo_centroid" }, { "inherits": { "type": { "name": "MetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GeoCentroidAggregation", "namespace": "_types.aggregations" }, "properties": [ { "name": "count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "location", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoLocation", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/metric.ts#L116-L119" }, { "description": "Result of a `geo_distance` aggregation. The unit for `from` and `to` is meters by default.", "inherits": { "type": { "name": "RangeAggregate", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GeoDistanceAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L550-L554", "variantName": "geo_distance" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GeoDistanceAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The distance calculation type.", "name": "distance_type", "required": false, "serverDefault": "arc", "type": { "kind": "instance_of", "type": { "name": "GeoDistanceType", "namespace": "_types" } } }, { "description": "A field of type `geo_point` used to evaluate the distance.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The origin used to evaluate the distance.", "name": "origin", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoLocation", "namespace": "_types" } } }, { "description": "An array of ranges used to bucket documents.", "name": "ranges", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "AggregationRange", "namespace": "_types.aggregations" } } } }, { "description": "The distance unit.", "name": "unit", "required": false, "serverDefault": "m", "type": { "kind": "instance_of", "type": { "name": "DistanceUnit", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L378-L401" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "GeoHashGridBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GeoHashGridAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L506-L508", "variantName": "geohash_grid" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GeoHashGridAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The bounding box to filter the points in each bucket.", "name": "bounds", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoBounds", "namespace": "_types" } } }, { "description": "Field containing indexed `geo_point` or `geo_shape` values.\nIf the field contains an array, `geohash_grid` aggregates all array values.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The string length of the geohashes used to define cells/buckets in the results.", "name": "precision", "required": false, "serverDefault": "5", "type": { "kind": "instance_of", "type": { "name": "GeoHashPrecision", "namespace": "_types" } } }, { "description": "Allows for more accurate counting of the top cells returned in the final result the aggregation.\nDefaults to returning `max(10,(size x number-of-shards))` buckets from each shard.", "name": "shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum number of geohash buckets to return.", "name": "size", "required": false, "serverDefault": 10000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L403-L428" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GeoHashGridBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key", "required": true, "type": { "kind": "instance_of", "type": { "name": "GeoHash", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L510-L512" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "GeoHexGridBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GeoHexGridAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L522-L523", "variantName": "geohex_grid" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GeoHexGridBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key", "required": true, "type": { "kind": "instance_of", "type": { "name": "GeoHexCell", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L525-L527" }, { "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GeoLineAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "geometry", "required": true, "type": { "kind": "instance_of", "type": { "name": "GeoLine", "namespace": "_types" } } }, { "name": "properties", "required": true, "type": { "kind": "user_defined_value" } } ], "specLocation": "_types/aggregations/Aggregate.ts#L784-L791", "variantName": "geo_line" }, { "kind": "interface", "name": { "name": "GeoLineAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The name of the geo_point field.", "name": "point", "required": true, "type": { "kind": "instance_of", "type": { "name": "GeoLinePoint", "namespace": "_types.aggregations" } } }, { "description": "The name of the numeric field to use as the sort key for ordering the points.\nWhen the `geo_line` aggregation is nested inside a `time_series` aggregation, this field defaults to `@timestamp`, and any other value will result in error.", "name": "sort", "required": true, "type": { "kind": "instance_of", "type": { "name": "GeoLineSort", "namespace": "_types.aggregations" } } }, { "description": "When `true`, returns an additional array of the sort values in the feature properties.", "name": "include_sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The order in which the line is sorted (ascending or descending).", "name": "sort_order", "required": false, "serverDefault": "asc", "type": { "kind": "instance_of", "type": { "name": "SortOrder", "namespace": "_types" } } }, { "description": "The maximum length of the line represented in the aggregation.\nValid sizes are between 1 and 10000.", "name": "size", "required": false, "serverDefault": 10000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/metric.ts#L121-L146" }, { "kind": "interface", "name": { "name": "GeoLinePoint", "namespace": "_types.aggregations" }, "properties": [ { "description": "The name of the geo_point field.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/metric.ts#L155-L160" }, { "kind": "interface", "name": { "name": "GeoLineSort", "namespace": "_types.aggregations" }, "properties": [ { "description": "The name of the numeric field to use as the sort key for ordering the points.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/metric.ts#L148-L153" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "GeoTileGridBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GeoTileGridAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L514-L516", "variantName": "geotile_grid" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GeoTileGridAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Field containing indexed `geo_point` or `geo_shape` values.\nIf the field contains an array, `geotile_grid` aggregates all array values.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Integer zoom of the key used to define cells/buckets in the results.\nValues outside of the range [0,29] will be rejected.", "name": "precision", "required": false, "serverDefault": "7", "type": { "kind": "instance_of", "type": { "name": "GeoTilePrecision", "namespace": "_types" } } }, { "description": "Allows for more accurate counting of the top cells returned in the final result the aggregation.\nDefaults to returning `max(10,(size x number-of-shards))` buckets from each shard.", "name": "shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum number of buckets to return.", "name": "size", "required": false, "serverDefault": 10000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "A bounding box to filter the geo-points or geo-shapes in each bucket.", "name": "bounds", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoBounds", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L430-L456" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GeoTileGridBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key", "required": true, "type": { "kind": "instance_of", "type": { "name": "GeoTile", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L518-L520" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GeohexGridAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Field containing indexed `geo_point` or `geo_shape` values.\nIf the field contains an array, `geohex_grid` aggregates all array values.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Integer zoom of the key used to defined cells or buckets\nin the results. Value should be between 0-15.", "name": "precision", "required": false, "serverDefault": 6, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Bounding box used to filter the geo-points in each bucket.", "name": "bounds", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoBounds", "namespace": "_types" } } }, { "description": "Maximum number of buckets to return.", "name": "size", "required": false, "serverDefault": 10000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Number of buckets returned from each shard.", "name": "shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L458-L483" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "SingleBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GlobalAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L492-L493", "variantName": "global" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "GlobalAggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/bucket.ts#L485-L485" }, { "kind": "interface", "name": { "name": "GoogleNormalizedDistanceHeuristic", "namespace": "_types.aggregations" }, "properties": [ { "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", "name": "background_is_superset", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/bucket.ts#L744-L749" }, { "kind": "interface", "name": { "name": "HdrMethod", "namespace": "_types.aggregations" }, "properties": [ { "description": "Specifies the resolution of values for the histogram in number of significant digits.", "name": "number_of_significant_value_digits", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/metric.ts#L216-L221" }, { "inherits": { "type": { "name": "PercentilesAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "HdrPercentileRanksAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L169-L170", "variantName": "hdr_percentile_ranks" }, { "inherits": { "type": { "name": "PercentilesAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "HdrPercentilesAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L166-L167", "variantName": "hdr_percentiles" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "HistogramBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "HistogramAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L340-L341", "variantName": "histogram" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "HistogramAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Enables extending the bounds of the histogram beyond the data itself.", "name": "extended_bounds", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "ExtendedBounds", "namespace": "_types.aggregations" } } }, { "description": "Limits the range of buckets in the histogram.\nIt is particularly useful in the case of open data ranges that can result in a very large number of buckets.", "name": "hard_bounds", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "ExtendedBounds", "namespace": "_types.aggregations" } } }, { "description": "The name of the field to aggregate on.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The interval for the buckets.\nMust be a positive decimal.", "name": "interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Only returns buckets that have `min_doc_count` number of documents.\nBy default, the response will fill gaps in the histogram with empty buckets.", "name": "min_doc_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", "name": "missing", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "By default, the bucket keys start with 0 and then continue in even spaced steps of `interval`.\nThe bucket boundaries can be shifted by using the `offset` option.", "name": "offset", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "The sort order of the returned buckets.\nBy default, the returned buckets are sorted by their key ascending.", "name": "order", "required": false, "type": { "kind": "instance_of", "type": { "name": "AggregateOrder", "namespace": "_types.aggregations" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, returns buckets as a hash instead of an array, keyed by the bucket keys.", "name": "keyed", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/bucket.ts#L498-L544" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "HistogramBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "key", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L343-L346" }, { "kind": "interface", "name": { "name": "HoltLinearModelSettings", "namespace": "_types.aggregations" }, "properties": [ { "name": "alpha", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "name": "beta", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L271-L274" }, { "inherits": { "type": { "name": "MovingAverageAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "HoltMovingAverageAggregation", "namespace": "_types.aggregations" }, "properties": [ { "name": "model", "required": true, "type": { "kind": "literal_value", "value": "holt" } }, { "name": "settings", "required": true, "type": { "kind": "instance_of", "type": { "name": "HoltLinearModelSettings", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L257-L260" }, { "kind": "interface", "name": { "name": "HoltWintersModelSettings", "namespace": "_types.aggregations" }, "properties": [ { "name": "alpha", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "name": "beta", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "name": "gamma", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "name": "pad", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "period", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "HoltWintersType", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L275-L282" }, { "inherits": { "type": { "name": "MovingAverageAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "HoltWintersMovingAverageAggregation", "namespace": "_types.aggregations" }, "properties": [ { "name": "model", "required": true, "type": { "kind": "literal_value", "value": "holt_winters" } }, { "name": "settings", "required": true, "type": { "kind": "instance_of", "type": { "name": "HoltWintersModelSettings", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L262-L265" }, { "kind": "enum", "members": [ { "codegenName": "Additive", "name": "add" }, { "codegenName": "Multiplicative", "name": "mult" } ], "name": { "name": "HoltWintersType", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/pipeline.ts#L283-L286" }, { "attachedBehaviors": [ "AdditionalProperties" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "user_defined_value" } ], "type": { "name": "AdditionalProperties", "namespace": "_spec_utils" } } ], "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "InferenceAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "value", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldValue", "namespace": "_types" } } }, { "name": "feature_importance", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "InferenceFeatureImportance", "namespace": "_types.aggregations" } } } }, { "name": "top_classes", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "InferenceTopClassEntry", "namespace": "_types.aggregations" } } } }, { "name": "warning", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L659-L670", "variantName": "inference" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "InferenceAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The ID or alias for the trained model.", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Contains the inference type and its options.", "name": "inference_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "InferenceConfigContainer", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L205-L214" }, { "kind": "interface", "name": { "name": "InferenceClassImportance", "namespace": "_types.aggregations" }, "properties": [ { "name": "class_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "importance", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L684-L687" }, { "kind": "interface", "name": { "name": "InferenceConfigContainer", "namespace": "_types.aggregations" }, "properties": [ { "description": "Regression configuration for inference.", "name": "regression", "required": false, "type": { "kind": "instance_of", "type": { "name": "RegressionInferenceOptions", "namespace": "ml._types" } } }, { "description": "Classification configuration for inference.", "name": "classification", "required": false, "type": { "kind": "instance_of", "type": { "name": "ClassificationInferenceOptions", "namespace": "ml._types" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L216-L222", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "InferenceFeatureImportance", "namespace": "_types.aggregations" }, "properties": [ { "name": "feature_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "importance", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "classes", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "InferenceClassImportance", "namespace": "_types.aggregations" } } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L678-L682" }, { "kind": "interface", "name": { "name": "InferenceTopClassEntry", "namespace": "_types.aggregations" }, "properties": [ { "name": "class_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "FieldValue", "namespace": "_types" } } }, { "name": "class_probability", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "class_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L672-L676" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "IpPrefixBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "IpPrefixAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L629-L630", "variantName": "ip_prefix" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "IpPrefixAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The IP address field to aggregation on. The field mapping type must be `ip`.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Length of the network prefix. For IPv4 addresses the accepted range is [0, 32].\nFor IPv6 addresses the accepted range is [0, 128].", "name": "prefix_length", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Defines whether the prefix applies to IPv6 addresses.", "name": "is_ipv6", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Defines whether the prefix length is appended to IP address keys in the response.", "name": "append_prefix_length", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Defines whether buckets are returned as a hash rather than an array in the response.", "name": "keyed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Minimum number of documents in a bucket for it to be included in the response.", "name": "min_doc_count", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L1113-L1142" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "IpPrefixBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "is_ipv6", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "key", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "prefix_length", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "netmask", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L632-L637" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "IpRangeBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "IpRangeAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L556-L558", "variantName": "ip_range" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "IpRangeAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The date field whose values are used to build ranges.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Array of IP ranges.", "name": "ranges", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IpRangeAggregationRange", "namespace": "_types.aggregations" } } } } ], "specLocation": "_types/aggregations/bucket.ts#L546-L555" }, { "kind": "interface", "name": { "name": "IpRangeAggregationRange", "namespace": "_types.aggregations" }, "properties": [ { "description": "Start of the range.", "name": "from", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "IP range defined as a CIDR mask.", "name": "mask", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "End of the range.", "name": "to", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } } ], "specLocation": "_types/aggregations/bucket.ts#L557-L570" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "IpRangeBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "from", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "to", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L560-L564" }, { "kind": "type_alias", "name": { "name": "KeyedPercentiles", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/Aggregate.ts#L158-L158", "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } } }, { "inherits": { "type": { "name": "MovingAverageAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "LinearMovingAverageAggregation", "namespace": "_types.aggregations" }, "properties": [ { "name": "model", "required": true, "type": { "kind": "literal_value", "value": "linear" } }, { "name": "settings", "required": true, "type": { "kind": "instance_of", "type": { "name": "EmptyObject", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L242-L245" }, { "description": "Result of the `rare_terms` aggregation when the field is some kind of whole number like a integer, long, or a date.", "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "LongRareTermsBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "LongRareTermsAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L431-L436", "variantName": "lrareterms" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "LongRareTermsBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "key_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L438-L441" }, { "description": "Result of a `terms` aggregation when the field is some kind of whole number like a integer, long, or a date.", "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "LongTermsBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "TermsAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "LongTermsAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L399-L404", "variantName": "lterms" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "TermsBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "LongTermsBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "key_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L406-L409" }, { "inherits": { "type": { "name": "Aggregation", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MatrixAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "An array of fields for computing the statistics.", "name": "fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", "name": "missing", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } } ], "specLocation": "_types/aggregations/matrix.ts#L26-L36" }, { "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MatrixStatsAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "doc_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "MatrixStatsFields", "namespace": "_types.aggregations" } } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L757-L761", "variantName": "matrix_stats" }, { "inherits": { "type": { "name": "MatrixAggregation", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MatrixStatsAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Array value the aggregation will use for array or multi-valued fields.", "name": "mode", "required": false, "serverDefault": "avg", "type": { "kind": "instance_of", "type": { "name": "SortMode", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/matrix.ts#L38-L44" }, { "kind": "interface", "name": { "name": "MatrixStatsFields", "namespace": "_types.aggregations" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "mean", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "variance", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "skewness", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "kurtosis", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "covariance", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } }, { "name": "correlation", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L763-L772" }, { "inherits": { "type": { "name": "SingleMetricAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MaxAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L200-L201", "variantName": "max" }, { "inherits": { "type": { "name": "FormatMetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MaxAggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/metric.ts#L162-L162" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MaxBucketAggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/pipeline.ts#L224-L224" }, { "inherits": { "type": { "name": "SingleMetricAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MedianAbsoluteDeviationAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L194-L195", "variantName": "median_absolute_deviation" }, { "inherits": { "type": { "name": "FormatMetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MedianAbsoluteDeviationAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", "name": "compression", "required": false, "serverDefault": 1000, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/metric.ts#L164-L170" }, { "kind": "interface", "name": { "name": "MetricAggregationBase", "namespace": "_types.aggregations" }, "properties": [ { "description": "The field on which to run the aggregation.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", "name": "missing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Missing", "namespace": "_types.aggregations" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/metric.ts#L34-L45" }, { "inherits": { "type": { "name": "SingleMetricAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MinAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L197-L198", "variantName": "min" }, { "inherits": { "type": { "name": "FormatMetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MinAggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/metric.ts#L172-L172" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MinBucketAggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/pipeline.ts#L226-L226" }, { "kind": "enum", "members": [ { "name": "second" }, { "name": "minute" }, { "name": "hour" }, { "name": "day" }, { "name": "month" }, { "name": "year" } ], "name": { "name": "MinimumInterval", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/bucket.ts#L100-L107" }, { "kind": "type_alias", "name": { "name": "Missing", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/AggregationContainer.ts#L516-L516", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "SingleBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MissingAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L483-L484", "variantName": "missing" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MissingAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The name of the field.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "missing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Missing", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/bucket.ts#L572-L578" }, { "kind": "enum", "members": [ { "name": "first" }, { "name": "last" }, { "name": "default" } ], "name": { "name": "MissingOrder", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/AggregationContainer.ts#L517-L521" }, { "kind": "type_alias", "name": { "name": "MovingAverageAggregation", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/pipeline.ts#L228-L234", "type": { "items": [ { "kind": "instance_of", "type": { "name": "LinearMovingAverageAggregation", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "SimpleMovingAverageAggregation", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "EwmaMovingAverageAggregation", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "HoltMovingAverageAggregation", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "HoltWintersMovingAverageAggregation", "namespace": "_types.aggregations" } } ], "kind": "union_of" }, "variants": { "kind": "internal_tag", "tag": "model" } }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MovingAverageAggregationBase", "namespace": "_types.aggregations" }, "properties": [ { "name": "minimize", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "predict", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "window", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L236-L240" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MovingFunctionAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The script that should be executed on each window of data.", "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "By default, the window consists of the last n values excluding the current bucket.\nIncreasing `shift` by 1, moves the starting window position by 1 to the right.", "name": "shift", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The size of window to \"slide\" across the histogram.", "name": "window", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L288-L303" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MovingPercentilesAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The size of window to \"slide\" across the histogram.", "name": "window", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "By default, the window consists of the last n values excluding the current bucket.\nIncreasing `shift` by 1, moves the starting window position by 1 to the right.", "name": "shift", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "keyed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L305-L317" }, { "generics": [ { "name": "TBucket", "namespace": "_types.aggregations" } ], "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" }, "properties": [ { "name": "buckets", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "TBucket", "namespace": "_types.aggregations" } } ], "kind": "instance_of", "type": { "name": "Buckets", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L327-L329" }, { "attachedBehaviors": [ "AdditionalProperties" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "AggregateName", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "Aggregate", "namespace": "_types.aggregations" } } ], "type": { "name": "AdditionalProperties", "namespace": "_spec_utils" } } ], "description": "Base type for multi-bucket aggregation results that can hold sub-aggregations results.", "kind": "interface", "name": { "name": "MultiBucketBase", "namespace": "_types.aggregations" }, "properties": [ { "name": "doc_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L331-L338" }, { "kind": "interface", "name": { "name": "MultiTermLookup", "namespace": "_types.aggregations" }, "properties": [ { "description": "A fields from which to retrieve terms.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", "name": "missing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Missing", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/bucket.ts#L622-L632" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "MultiTermsBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "TermsAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MultiTermsAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L461-L463", "variantName": "multi_terms" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MultiTermsAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Specifies the strategy for data collection.", "name": "collect_mode", "required": false, "serverDefault": "breadth_first", "type": { "kind": "instance_of", "type": { "name": "TermsAggregationCollectMode", "namespace": "_types.aggregations" } } }, { "description": "Specifies the sort order of the buckets.\nDefaults to sorting by descending document count.", "name": "order", "required": false, "type": { "kind": "instance_of", "type": { "name": "AggregateOrder", "namespace": "_types.aggregations" } } }, { "description": "The minimum number of documents in a bucket for it to be returned.", "name": "min_doc_count", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The minimum number of documents in a bucket on each shard for it to be returned.", "name": "shard_min_doc_count", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", "name": "shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Calculates the doc count error on per term basis.", "name": "show_term_doc_count_error", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The number of term buckets should be returned out of the overall terms list.", "name": "size", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The field from which to generate sets of terms.", "name": "terms", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "MultiTermLookup", "namespace": "_types.aggregations" } } } } ], "specLocation": "_types/aggregations/bucket.ts#L580-L620" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "MultiTermsBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldValue", "namespace": "_types" } } } }, { "name": "key_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "doc_count_error_upper_bound", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L465-L469" }, { "kind": "interface", "name": { "name": "MutualInformationHeuristic", "namespace": "_types.aggregations" }, "properties": [ { "description": "Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.", "name": "background_is_superset", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Set to `false` to filter out the terms that appear less often in the subset than in documents outside the subset.", "name": "include_negatives", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/bucket.ts#L751-L760" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "SingleBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "NestedAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L486-L487", "variantName": "nested" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "NestedAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The path to the field of type `nested`.", "name": "path", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L634-L639" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "NormalizeAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The specific method to apply.", "name": "method", "required": false, "type": { "kind": "instance_of", "type": { "name": "NormalizeMethod", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L319-L324" }, { "kind": "enum", "members": [ { "description": "This method rescales the data such that the minimum number is 0, and the maximum number is 1, with the rest normalized linearly in-between.", "name": "rescale_0_1" }, { "description": "This method rescales the data such that the minimum number is 0, and the maximum number is 100, with the rest normalized linearly in-between.", "name": "rescale_0_100" }, { "description": "This method normalizes each value so that it represents a percentage of the total sum it attributes to.", "name": "percent_of_sum" }, { "description": "This method normalizes such that each value is normalized by how much it differs from the average.", "name": "mean" }, { "codegenName": "z_score", "description": "This method normalizes such that each value represents how far it is from the mean relative to the standard deviation.", "name": "z-score" }, { "description": "This method normalizes such that each value is exponentiated and relative to the sum of the exponents of the original values.", "name": "softmax" } ], "name": { "name": "NormalizeMethod", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/pipeline.ts#L326-L352" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "SingleBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "ParentAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L779-L780", "variantName": "parent" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "ParentAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The child type that should be selected.", "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "RelationName", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L641-L646" }, { "kind": "interface", "name": { "name": "PercentageScoreHeuristic", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/bucket.ts#L762-L762" }, { "inherits": { "type": { "name": "FormatMetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "PercentileRanksAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.\nSet to `false` to disable this behavior.", "name": "keyed", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "An array of values for which to calculate the percentile ranks.", "name": "values", "required": false, "type": { "items": [ { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "Uses the alternative High Dynamic Range Histogram algorithm to calculate percentile ranks.", "name": "hdr", "required": false, "type": { "kind": "instance_of", "type": { "name": "HdrMethod", "namespace": "_types.aggregations" } } }, { "description": "Sets parameters for the default TDigest algorithm used to calculate percentile ranks.", "name": "tdigest", "required": false, "type": { "kind": "instance_of", "type": { "name": "TDigest", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/metric.ts#L174-L193" }, { "codegenNames": [ "keyed", "array" ], "kind": "type_alias", "name": { "name": "Percentiles", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/Aggregate.ts#L150-L151", "type": { "items": [ { "kind": "instance_of", "type": { "name": "KeyedPercentiles", "namespace": "_types.aggregations" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ArrayPercentilesItem", "namespace": "_types.aggregations" } } } ], "kind": "union_of" } }, { "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "PercentilesAggregateBase", "namespace": "_types.aggregations" }, "properties": [ { "name": "values", "required": true, "type": { "kind": "instance_of", "type": { "name": "Percentiles", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L146-L148" }, { "inherits": { "type": { "name": "FormatMetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "PercentilesAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.\nSet to `false` to disable this behavior.", "name": "keyed", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The percentiles to calculate.", "name": "percents", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } }, { "description": "Uses the alternative High Dynamic Range Histogram algorithm to calculate percentiles.", "name": "hdr", "required": false, "type": { "kind": "instance_of", "type": { "name": "HdrMethod", "namespace": "_types.aggregations" } } }, { "description": "Sets parameters for the default TDigest algorithm used to calculate percentiles.", "name": "tdigest", "required": false, "type": { "kind": "instance_of", "type": { "name": "TDigest", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/metric.ts#L195-L214" }, { "inherits": { "type": { "name": "PercentilesAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "PercentilesBucketAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L178-L179", "variantName": "percentiles_bucket" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "PercentilesBucketAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The list of percentiles to calculate.", "name": "percents", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } } ], "specLocation": "_types/aggregations/pipeline.ts#L354-L359" }, { "inherits": { "type": { "name": "BucketPathAggregation", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" }, "properties": [ { "description": "`DecimalFormat` pattern for the output value.\nIf specified, the formatted value is returned in the aggregation’s `value_as_string` property.", "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Policy to apply when gaps are found in the data.", "docId": "gap-policy", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-pipeline.html#gap-policy", "name": "gap_policy", "required": false, "serverDefault": "skip", "type": { "kind": "instance_of", "type": { "name": "GapPolicy", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L39-L51" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "RangeBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "RangeAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L531-L532", "variantName": "range" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "RangeAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The date field whose values are use to build ranges.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", "name": "missing", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "An array of ranges used to bucket documents.", "name": "ranges", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "AggregationRange", "namespace": "_types.aggregations" } } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "description": "Set to `true` to associate a unique string key with each bucket and return the ranges as a hash rather than an array.", "name": "keyed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/bucket.ts#L648-L668" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "RangeBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "from", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "to", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "from_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "to_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The bucket key. Present if the aggregation is _not_ keyed", "name": "key", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L534-L541" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "RareTermsAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Terms that should be excluded from the aggregation.", "name": "exclude", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsExclude", "namespace": "_types.aggregations" } } }, { "description": "The field from which to return rare terms.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Terms that should be included in the aggregation.", "name": "include", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsInclude", "namespace": "_types.aggregations" } } }, { "description": "The maximum number of documents a term should appear in.", "name": "max_doc_count", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", "name": "missing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Missing", "namespace": "_types.aggregations" } } }, { "description": "The precision of the internal CuckooFilters.\nSmaller precision leads to better approximation, but higher memory usage.", "name": "precision", "required": false, "serverDefault": 0.001, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "value_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/bucket.ts#L685-L715" }, { "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "RateAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "value_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L741-L745", "variantName": "rate" }, { "inherits": { "type": { "name": "FormatMetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "RateAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The interval used to calculate the rate.\nBy default, the interval of the `date_histogram` is used.", "name": "unit", "required": false, "type": { "kind": "instance_of", "type": { "name": "CalendarInterval", "namespace": "_types.aggregations" } } }, { "description": "How the rate is calculated.", "name": "mode", "required": false, "serverDefault": "sum", "type": { "kind": "instance_of", "type": { "name": "RateMode", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/metric.ts#L230-L241" }, { "kind": "enum", "members": [ { "description": "Calculates the sum of all values of the field.", "name": "sum" }, { "description": "Uses the number of values of the field.", "name": "value_count" } ], "name": { "name": "RateMode", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/metric.ts#L243-L252" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "SingleBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "ReverseNestedAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L489-L490", "variantName": "reverse_nested" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "ReverseNestedAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Defines the nested object field that should be joined back to.\nThe default is empty, which means that it joins back to the root/main document level.", "name": "path", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L717-L723" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "SingleBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SamplerAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L498-L499", "variantName": "sampler" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SamplerAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Limits how many top-scoring documents are collected in the sample processed on each shard.", "name": "shard_size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L725-L731" }, { "kind": "enum", "members": [ { "description": "Hold field values directly.", "name": "map" }, { "description": "Hold ordinals of the field as determined by the Lucene index.", "name": "global_ordinals" }, { "description": "Hold hashes of the field values - with potential for hash collisions.", "name": "bytes_hash" } ], "name": { "name": "SamplerAggregationExecutionHint", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/bucket.ts#L341-L354" }, { "kind": "interface", "name": { "name": "ScriptedHeuristic", "namespace": "_types.aggregations" }, "properties": [ { "name": "script", "required": true, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L764-L766" }, { "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "ScriptedMetricAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "value", "required": true, "type": { "kind": "user_defined_value" } } ], "specLocation": "_types/aggregations/Aggregate.ts#L649-L652", "variantName": "scripted_metric" }, { "inherits": { "type": { "name": "MetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "ScriptedMetricAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Runs once on each shard after document collection is complete.\nAllows the aggregation to consolidate the state returned from each shard.", "name": "combine_script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "description": "Runs prior to any collection of documents.\nAllows the aggregation to set up any initial state.", "name": "init_script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "description": "Run once per document collected.\nIf no `combine_script` is specified, the resulting state needs to be stored in the `state` object.", "name": "map_script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "description": "A global object with script parameters for `init`, `map` and `combine` scripts.\nIt is shared between the scripts.", "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "Runs once on the coordinating node after all shards have returned their results.\nThe script is provided with access to a variable `states`, which is an array of the result of the `combine_script` on each shard.", "name": "reduce_script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/metric.ts#L254-L280" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SerialDifferencingAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The historical bucket to subtract from the current value.\nMust be a positive, non-zero integer.", "name": "lag", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L361-L367" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "SignificantLongTermsBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "SignificantTermsAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SignificantLongTermsAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L588-L590", "variantName": "siglterms" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "SignificantTermsBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SignificantLongTermsBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "key_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L597-L600" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "SignificantStringTermsBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "SignificantTermsAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SignificantStringTermsAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L602-L604", "variantName": "sigsterms" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "SignificantTermsBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SignificantStringTermsBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L606-L608" }, { "generics": [ { "name": "T", "namespace": "_types.aggregations" } ], "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "T", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SignificantTermsAggregateBase", "namespace": "_types.aggregations" }, "properties": [ { "name": "bg_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "doc_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L581-L586" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SignificantTermsAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "A background filter that can be used to focus in on significant terms within a narrower context, instead of the entire index.", "name": "background_filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Use Chi square, as described in \"Information Retrieval\", Manning et al., Chapter 13.5.2, as the significance score.", "name": "chi_square", "required": false, "type": { "kind": "instance_of", "type": { "name": "ChiSquareHeuristic", "namespace": "_types.aggregations" } } }, { "description": "Terms to exclude.", "name": "exclude", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsExclude", "namespace": "_types.aggregations" } } }, { "description": "Mechanism by which the aggregation should be executed: using field values directly or using global ordinals.", "name": "execution_hint", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsAggregationExecutionHint", "namespace": "_types.aggregations" } } }, { "description": "The field from which to return significant terms.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Use Google normalized distance as described in \"The Google Similarity Distance\", Cilibrasi and Vitanyi, 2007, as the significance score.", "name": "gnd", "required": false, "type": { "kind": "instance_of", "type": { "name": "GoogleNormalizedDistanceHeuristic", "namespace": "_types.aggregations" } } }, { "description": "Terms to include.", "name": "include", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsInclude", "namespace": "_types.aggregations" } } }, { "description": "Use JLH score as the significance score.", "name": "jlh", "required": false, "type": { "kind": "instance_of", "type": { "name": "EmptyObject", "namespace": "_types" } } }, { "description": "Only return terms that are found in more than `min_doc_count` hits.", "name": "min_doc_count", "required": false, "serverDefault": 3, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Use mutual information as described in \"Information Retrieval\", Manning et al., Chapter 13.5.1, as the significance score.", "name": "mutual_information", "required": false, "type": { "kind": "instance_of", "type": { "name": "MutualInformationHeuristic", "namespace": "_types.aggregations" } } }, { "description": "A simple calculation of the number of documents in the foreground sample with a term divided by the number of documents in the background with the term.", "name": "percentage", "required": false, "type": { "kind": "instance_of", "type": { "name": "PercentageScoreHeuristic", "namespace": "_types.aggregations" } } }, { "description": "Customized score, implemented via a script.", "name": "script_heuristic", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScriptedHeuristic", "namespace": "_types.aggregations" } } }, { "description": "Regulates the certainty a shard has if the term should actually be added to the candidate list or not with respect to the `min_doc_count`.\nTerms will only be considered if their local shard frequency within the set is higher than the `shard_min_doc_count`.", "name": "shard_min_doc_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Can be used to control the volumes of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", "name": "shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of buckets returned out of the overall terms list.", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L768-L832" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SignificantTermsBucketBase", "namespace": "_types.aggregations" }, "properties": [ { "name": "score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "bg_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L592-L595" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SignificantTextAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "A background filter that can be used to focus in on significant terms within a narrower context, instead of the entire index.", "name": "background_filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Use Chi square, as described in \"Information Retrieval\", Manning et al., Chapter 13.5.2, as the significance score.", "name": "chi_square", "required": false, "type": { "kind": "instance_of", "type": { "name": "ChiSquareHeuristic", "namespace": "_types.aggregations" } } }, { "description": "Values to exclude.", "name": "exclude", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsExclude", "namespace": "_types.aggregations" } } }, { "description": "Determines whether the aggregation will use field values directly or global ordinals.", "name": "execution_hint", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsAggregationExecutionHint", "namespace": "_types.aggregations" } } }, { "description": "The field from which to return significant text.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Whether to out duplicate text to deal with noisy data.", "name": "filter_duplicate_text", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Use Google normalized distance as described in \"The Google Similarity Distance\", Cilibrasi and Vitanyi, 2007, as the significance score.", "name": "gnd", "required": false, "type": { "kind": "instance_of", "type": { "name": "GoogleNormalizedDistanceHeuristic", "namespace": "_types.aggregations" } } }, { "description": "Values to include.", "name": "include", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsInclude", "namespace": "_types.aggregations" } } }, { "description": "Use JLH score as the significance score.", "name": "jlh", "required": false, "type": { "kind": "instance_of", "type": { "name": "EmptyObject", "namespace": "_types" } } }, { "description": "Only return values that are found in more than `min_doc_count` hits.", "name": "min_doc_count", "required": false, "serverDefault": 3, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Use mutual information as described in \"Information Retrieval\", Manning et al., Chapter 13.5.1, as the significance score.", "name": "mutual_information", "required": false, "type": { "kind": "instance_of", "type": { "name": "MutualInformationHeuristic", "namespace": "_types.aggregations" } } }, { "description": "A simple calculation of the number of documents in the foreground sample with a term divided by the number of documents in the background with the term.", "name": "percentage", "required": false, "type": { "kind": "instance_of", "type": { "name": "PercentageScoreHeuristic", "namespace": "_types.aggregations" } } }, { "description": "Customized score, implemented via a script.", "name": "script_heuristic", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScriptedHeuristic", "namespace": "_types.aggregations" } } }, { "description": "Regulates the certainty a shard has if the values should actually be added to the candidate list or not with respect to the min_doc_count.\nValues will only be considered if their local shard frequency within the set is higher than the `shard_min_doc_count`.", "name": "shard_min_doc_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", "name": "shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of buckets returned out of the overall terms list.", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Overrides the JSON `_source` fields from which text will be analyzed.", "name": "source_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L834-L906" }, { "inherits": { "type": { "name": "MovingAverageAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SimpleMovingAverageAggregation", "namespace": "_types.aggregations" }, "properties": [ { "name": "model", "required": true, "type": { "kind": "literal_value", "value": "simple" } }, { "name": "settings", "required": true, "type": { "kind": "instance_of", "type": { "name": "EmptyObject", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/pipeline.ts#L247-L250" }, { "inherits": { "type": { "name": "SingleMetricAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SimpleValueAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L224-L225", "variantName": "simple_value" }, { "attachedBehaviors": [ "AdditionalProperties" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "AggregateName", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "Aggregate", "namespace": "_types.aggregations" } } ], "type": { "name": "AdditionalProperties", "namespace": "_spec_utils" } } ], "description": "Base type for single-bucket aggregation results that can hold sub-aggregations results.", "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SingleBucketAggregateBase", "namespace": "_types.aggregations" }, "properties": [ { "name": "doc_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L473-L481" }, { "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SingleMetricAggregateBase", "namespace": "_types.aggregations" }, "properties": [ { "description": "The metric value. A missing value generally means that there was no data to aggregate,\nunless specified otherwise.", "name": "value", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "value_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L183-L192" }, { "kind": "interface", "name": { "name": "StandardDeviationBounds", "namespace": "_types.aggregations" }, "properties": [ { "name": "upper", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "lower", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "upper_population", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "lower_population", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "upper_sampling", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "lower_sampling", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } } ], "specLocation": "_types/aggregations/Aggregate.ts#L260-L267" }, { "kind": "interface", "name": { "name": "StandardDeviationBoundsAsString", "namespace": "_types.aggregations" }, "properties": [ { "name": "upper", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "lower", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "upper_population", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "lower_population", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "upper_sampling", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "lower_sampling", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L269-L276" }, { "description": "Statistics aggregation result. `min`, `max` and `avg` are missing if there were no values to process\n(`count` is zero).", "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "StatsAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "min", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "max", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "avg", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "sum", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "min_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "avg_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "sum_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L240-L255", "variantName": "stats" }, { "inherits": { "type": { "name": "FormatMetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "StatsAggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/metric.ts#L282-L282" }, { "inherits": { "type": { "name": "StatsAggregate", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "StatsBucketAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L257-L258", "variantName": "stats_bucket" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "StatsBucketAggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/pipeline.ts#L369-L369" }, { "description": "Result of the `rare_terms` aggregation when the field is a string.", "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "StringRareTermsBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "StringRareTermsAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L443-L447", "variantName": "srareterms" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "StringRareTermsBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L449-L451" }, { "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "StringStatsAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "min_length", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "max_length", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "avg_length", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "entropy", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "distribution", "required": false, "type": { "items": [ { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "min_length_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_length_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "avg_length_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L693-L704", "variantName": "string_stats" }, { "inherits": { "type": { "name": "MetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "StringStatsAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Shows the probability distribution for all characters.", "name": "show_distribution", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/metric.ts#L284-L290" }, { "description": "Result of a `terms` aggregation when the field is a string.", "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "StringTermsBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "TermsAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "StringTermsAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L384-L389", "variantName": "sterms" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "TermsBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "StringTermsBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "key", "required": true, "type": { "kind": "instance_of", "type": { "name": "FieldValue", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L395-L397" }, { "description": "Sum aggregation result. `value` is always present and is zero if there were no values to process.", "inherits": { "type": { "name": "SingleMetricAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SumAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L203-L207", "variantName": "sum" }, { "inherits": { "type": { "name": "FormatMetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SumAggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/metric.ts#L292-L292" }, { "inherits": { "type": { "name": "PipelineAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "SumBucketAggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/pipeline.ts#L371-L371" }, { "kind": "interface", "name": { "name": "TDigest", "namespace": "_types.aggregations" }, "properties": [ { "description": "Limits the maximum number of nodes used by the underlying TDigest algorithm to `20 * compression`, enabling control of memory usage and approximation error.", "name": "compression", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/metric.ts#L223-L228" }, { "inherits": { "type": { "name": "PercentilesAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "TDigestPercentileRanksAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L175-L176", "variantName": "tdigest_percentile_ranks" }, { "inherits": { "type": { "name": "PercentilesAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "TDigestPercentilesAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L172-L173", "variantName": "tdigest_percentiles" }, { "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "TTestAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "value", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "value_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L735-L739", "variantName": "t_test" }, { "inherits": { "type": { "name": "Aggregation", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "TTestAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Test population A.", "name": "a", "required": false, "type": { "kind": "instance_of", "type": { "name": "TestPopulation", "namespace": "_types.aggregations" } } }, { "description": "Test population B.", "name": "b", "required": false, "type": { "kind": "instance_of", "type": { "name": "TestPopulation", "namespace": "_types.aggregations" } } }, { "description": "The type of test.", "name": "type", "required": false, "serverDefault": "heteroscedastic", "type": { "kind": "instance_of", "type": { "name": "TTestType", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/metric.ts#L294-L308" }, { "kind": "enum", "members": [ { "description": "Performs paired t-test.", "name": "paired" }, { "description": "Performs two-sample equal variance test.", "name": "homoscedastic" }, { "description": "Performs two-sample unequal variance test.", "name": "heteroscedastic" } ], "name": { "name": "TTestType", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/metric.ts#L322-L335" }, { "generics": [ { "name": "TBucket", "namespace": "_types.aggregations" } ], "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "TBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "TermsAggregateBase", "namespace": "_types.aggregations" }, "properties": [ { "name": "doc_count_error_upper_bound", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "sum_other_doc_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L377-L382" }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "TermsAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Determines how child aggregations should be calculated: breadth-first or depth-first.", "name": "collect_mode", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsAggregationCollectMode", "namespace": "_types.aggregations" } } }, { "description": "Values to exclude.\nAccepts regular expressions and partitions.", "name": "exclude", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsExclude", "namespace": "_types.aggregations" } } }, { "description": "Determines whether the aggregation will use field values directly or global ordinals.", "name": "execution_hint", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsAggregationExecutionHint", "namespace": "_types.aggregations" } } }, { "description": "The field from which to return terms.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Values to include.\nAccepts regular expressions and partitions.", "name": "include", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsInclude", "namespace": "_types.aggregations" } } }, { "description": "Only return values that are found in more than `min_doc_count` hits.", "name": "min_doc_count", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The value to apply to documents that do not have a value.\nBy default, documents without a value are ignored.", "name": "missing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Missing", "namespace": "_types.aggregations" } } }, { "name": "missing_order", "required": false, "type": { "kind": "instance_of", "type": { "name": "MissingOrder", "namespace": "_types.aggregations" } } }, { "name": "missing_bucket", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Coerced unmapped fields into the specified type.", "name": "value_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Specifies the sort order of the buckets.\nDefaults to sorting by descending document count.", "name": "order", "required": false, "type": { "kind": "instance_of", "type": { "name": "AggregateOrder", "namespace": "_types.aggregations" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "description": "The number of candidate terms produced by each shard.\nBy default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.", "name": "shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Set to `true` to return the `doc_count_error_upper_bound`, which is an upper bound to the error on the `doc_count` returned by each shard.", "name": "show_term_doc_count_error", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The number of buckets returned out of the overall terms list.", "name": "size", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/bucket.ts#L908-L968" }, { "kind": "enum", "members": [ { "description": "Expands all branches of the aggregation tree in one depth-first pass, before any pruning occurs.", "name": "depth_first" }, { "description": "Caches the set of documents that fall into the uppermost buckets for subsequent replay.", "name": "breadth_first" } ], "name": { "name": "TermsAggregationCollectMode", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/bucket.ts#L978-L987" }, { "kind": "enum", "members": [ { "name": "map" }, { "name": "global_ordinals" }, { "name": "global_ordinals_hash" }, { "name": "global_ordinals_low_cardinality" } ], "name": { "name": "TermsAggregationExecutionHint", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/bucket.ts#L989-L994" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "TermsBucketBase", "namespace": "_types.aggregations" }, "properties": [ { "name": "doc_count_error", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L391-L393" }, { "codegenNames": [ "regexp", "terms" ], "kind": "type_alias", "name": { "name": "TermsExclude", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/bucket.ts#L999-L1000", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } }, { "codegenNames": [ "regexp", "terms", "partition" ], "kind": "type_alias", "name": { "name": "TermsInclude", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/bucket.ts#L996-L997", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "instance_of", "type": { "name": "TermsPartition", "namespace": "_types.aggregations" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "TermsPartition", "namespace": "_types.aggregations" }, "properties": [ { "description": "The number of partitions.", "name": "num_partitions", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The partition number for this request.", "name": "partition", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L1002-L1011" }, { "kind": "interface", "name": { "name": "TestPopulation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The field to aggregate.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "description": "A filter used to define a set of records to run unpaired t-test on.", "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/aggregations/metric.ts#L310-L320" }, { "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "TopHitsAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "hits", "required": true, "type": { "generics": [ { "kind": "user_defined_value" } ], "kind": "instance_of", "type": { "name": "HitsMetadata", "namespace": "_global.search._types" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L654-L657", "variantName": "top_hits" }, { "inherits": { "type": { "name": "MetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "TopHitsAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "Fields for which to return doc values.", "name": "docvalue_fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldAndFormat", "namespace": "_types.query_dsl" } } } }, { "description": "If `true`, returns detailed information about score computation as part of a hit.", "name": "explain", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", "name": "fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldAndFormat", "namespace": "_types.query_dsl" } } } }, { "description": "Starting document offset.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the highlighter to use for retrieving highlighted snippets from one or more fields in the search results.", "name": "highlight", "required": false, "type": { "kind": "instance_of", "type": { "name": "Highlight", "namespace": "_global.search._types" } } }, { "description": "Returns the result of one or more script evaluations for each hit.", "name": "script_fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ScriptField", "namespace": "_types" } } } }, { "description": "The maximum number of top matching hits to return per bucket.", "name": "size", "required": false, "serverDefault": 3, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Sort order of the top matching hits.\nBy default, the hits are sorted by the score of the main query.", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "Sort", "namespace": "_types" } } }, { "description": "Selects the fields of the source that are returned.", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfig", "namespace": "_global.search._types" } } }, { "description": "Returns values for the specified stored fields (fields that use the `store` mapping option).", "name": "stored_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "If `true`, calculates and returns document scores, even if the scores are not used for sorting.", "name": "track_scores", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, returns document version as part of a hit.", "name": "version", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, returns sequence number and primary term of the last modification of each hit.", "name": "seq_no_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/metric.ts#L337-L397" }, { "kind": "interface", "name": { "name": "TopMetrics", "namespace": "_types.aggregations" }, "properties": [ { "name": "sort", "required": true, "type": { "kind": "array_of", "value": { "items": [ { "kind": "instance_of", "type": { "name": "FieldValue", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } } }, { "name": "metrics", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "items": [ { "kind": "instance_of", "type": { "name": "FieldValue", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L729-L733" }, { "inherits": { "type": { "name": "AggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "TopMetricsAggregate", "namespace": "_types.aggregations" }, "properties": [ { "name": "top", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TopMetrics", "namespace": "_types.aggregations" } } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L724-L727", "variantName": "top_metrics" }, { "inherits": { "type": { "name": "MetricAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "TopMetricsAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The fields of the top document to return.", "name": "metrics", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "TopMetricsValue", "namespace": "_types.aggregations" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TopMetricsValue", "namespace": "_types.aggregations" } } } ], "kind": "union_of" } }, { "description": "The number of top documents from which to return metrics.", "name": "size", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The sort order of the documents.", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "Sort", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/metric.ts#L399-L413" }, { "kind": "interface", "name": { "name": "TopMetricsValue", "namespace": "_types.aggregations" }, "properties": [ { "description": "A field to return as a metric.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/metric.ts#L415-L420" }, { "description": "Result of a `rare_terms` aggregation when the field is unmapped. `buckets` is always empty.", "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "Void", "namespace": "_spec_utils" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "UnmappedRareTermsAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L453-L459", "variantName": "umrareterms" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "SingleBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "UnmappedSamplerAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L501-L502", "variantName": "unmapped_sampler" }, { "description": "Result of the `significant_terms` aggregation on an unmapped field. `buckets` is always empty.", "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "Void", "namespace": "_spec_utils" } } ], "type": { "name": "SignificantTermsAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "UnmappedSignificantTermsAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L610-L616", "variantName": "umsigterms" }, { "description": "Result of a `terms` aggregation when the field is unmapped. `buckets` is always empty.", "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "Void", "namespace": "_spec_utils" } } ], "type": { "name": "TermsAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "UnmappedTermsAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L423-L429", "variantName": "umterms" }, { "description": "Value count aggregation result. `value` is always present.", "inherits": { "type": { "name": "SingleMetricAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "ValueCountAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L218-L222", "variantName": "value_count" }, { "inherits": { "type": { "name": "FormattableMetricAggregation", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "ValueCountAggregation", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/metric.ts#L422-L422" }, { "kind": "enum", "members": [ { "name": "string" }, { "name": "long" }, { "name": "double" }, { "name": "number" }, { "name": "date" }, { "name": "date_nanos" }, { "name": "ip" }, { "name": "numeric" }, { "name": "geo_point" }, { "name": "boolean" } ], "name": { "name": "ValueType", "namespace": "_types.aggregations" }, "specLocation": "_types/aggregations/metric.ts#L424-L435" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "VariableWidthHistogramBucket", "namespace": "_types.aggregations" } } ], "type": { "name": "MultiBucketAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "VariableWidthHistogramAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L362-L364", "variantName": "variable_width_histogram" }, { "kind": "interface", "name": { "name": "VariableWidthHistogramAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "The name of the field.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The target number of buckets.", "name": "buckets", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of buckets that the coordinating node will request from each shard.\nDefaults to `buckets * 50`.", "name": "shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the number of individual documents that will be stored in memory on a shard before the initial bucketing algorithm is run.\nDefaults to `min(10 * shard_size, 50000)`.", "name": "initial_buffer", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/bucket.ts#L1013-L1034" }, { "attachedBehaviors": [ "AdditionalProperties" ], "inherits": { "type": { "name": "MultiBucketBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "VariableWidthHistogramBucket", "namespace": "_types.aggregations" }, "properties": [ { "name": "min", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "key", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "max", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "min_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "key_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_as_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/aggregations/Aggregate.ts#L366-L373" }, { "inherits": { "type": { "name": "Aggregation", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "WeightedAverageAggregation", "namespace": "_types.aggregations" }, "properties": [ { "description": "A numeric response formatter.", "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Configuration for the field that provides the values.", "name": "value", "required": false, "type": { "kind": "instance_of", "type": { "name": "WeightedAverageValue", "namespace": "_types.aggregations" } } }, { "name": "value_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "ValueType", "namespace": "_types.aggregations" } } }, { "description": "Configuration for the field or script that provides the weights.", "name": "weight", "required": false, "type": { "kind": "instance_of", "type": { "name": "WeightedAverageValue", "namespace": "_types.aggregations" } } } ], "specLocation": "_types/aggregations/metric.ts#L437-L451" }, { "kind": "interface", "name": { "name": "WeightedAverageValue", "namespace": "_types.aggregations" }, "properties": [ { "description": "The field from which to extract the values or weights.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "A value or weight to use if the field is missing.", "name": "missing", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } } ], "specLocation": "_types/aggregations/metric.ts#L453-L463" }, { "description": "Weighted average aggregation result. `value` is missing if the weight was set to zero.", "inherits": { "type": { "name": "SingleMetricAggregateBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "WeightedAvgAggregate", "namespace": "_types.aggregations" }, "properties": [], "specLocation": "_types/aggregations/Aggregate.ts#L212-L216", "variantName": "weighted_avg" }, { "kind": "type_alias", "name": { "name": "Analyzer", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/analyzers.ts#L113-L131", "type": { "items": [ { "kind": "instance_of", "type": { "name": "CustomAnalyzer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "FingerprintAnalyzer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "KeywordAnalyzer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "LanguageAnalyzer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "NoriAnalyzer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "PatternAnalyzer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "SimpleAnalyzer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "StandardAnalyzer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "StopAnalyzer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "WhitespaceAnalyzer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "IcuAnalyzer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "KuromojiAnalyzer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "SnowballAnalyzer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "DutchAnalyzer", "namespace": "_types.analysis" } } ], "kind": "union_of" }, "variants": { "defaultTag": "custom", "kind": "internal_tag", "nonExhaustive": true, "tag": "type" } }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "AsciiFoldingTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "asciifolding" } }, { "name": "preserve_original", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } } ], "specLocation": "_types/analysis/token_filters.ts#L170-L173" }, { "codegenNames": [ "name", "definition" ], "kind": "type_alias", "name": { "name": "CharFilter", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/char_filters.ts#L28-L30", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "CharFilterDefinition", "namespace": "_types.analysis" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "CharFilterBase", "namespace": "_types.analysis" }, "properties": [ { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } } ], "specLocation": "_types/analysis/char_filters.ts#L24-L26" }, { "kind": "type_alias", "name": { "name": "CharFilterDefinition", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/char_filters.ts#L32-L41", "type": { "items": [ { "kind": "instance_of", "type": { "name": "HtmlStripCharFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "MappingCharFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "PatternReplaceCharFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "IcuNormalizationCharFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "KuromojiIterationMarkCharFilter", "namespace": "_types.analysis" } } ], "kind": "union_of" }, "variants": { "kind": "internal_tag", "nonExhaustive": true, "tag": "type" } }, { "inherits": { "type": { "name": "TokenizerBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "CharGroupTokenizer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "char_group" } }, { "name": "tokenize_on_chars", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "max_token_length", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/analysis/tokenizers.ts#L56-L60" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "CommonGramsTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "common_grams" } }, { "name": "common_words", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "common_words_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "ignore_case", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "query_mode", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L175-L181" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "CompoundWordTokenFilterBase", "namespace": "_types.analysis" }, "properties": [ { "name": "hyphenation_patterns_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_subword_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "min_subword_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "min_word_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "only_longest_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "word_list", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "word_list_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L44-L52" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "ConditionTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "condition" } }, { "name": "filter", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "script", "required": true, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } } ], "specLocation": "_types/analysis/token_filters.ts#L183-L187" }, { "kind": "interface", "name": { "name": "CustomAnalyzer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "custom" } }, { "name": "char_filter", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "filter", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "position_increment_gap", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "position_offset_gap", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "tokenizer", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/analyzers.ts#L28-L35" }, { "kind": "interface", "name": { "name": "CustomNormalizer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "custom" } }, { "name": "char_filter", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "filter", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "_types/analysis/normalizers.ts#L30-L34" }, { "kind": "enum", "members": [ { "name": "int" }, { "name": "float" }, { "name": "identity" } ], "name": { "name": "DelimitedPayloadEncoding", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/token_filters.ts#L62-L66" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "DelimitedPayloadTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "delimited_payload" } }, { "name": "delimiter", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "encoding", "required": false, "type": { "kind": "instance_of", "type": { "name": "DelimitedPayloadEncoding", "namespace": "_types.analysis" } } } ], "specLocation": "_types/analysis/token_filters.ts#L68-L72" }, { "inherits": { "type": { "name": "CompoundWordTokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "DictionaryDecompounderTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "dictionary_decompounder" } } ], "specLocation": "_types/analysis/token_filters.ts#L54-L56" }, { "kind": "interface", "name": { "name": "DutchAnalyzer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "dutch" } }, { "name": "stopwords", "required": false, "type": { "kind": "instance_of", "type": { "name": "StopWords", "namespace": "_types.analysis" } } } ], "specLocation": "_types/analysis/analyzers.ts#L61-L64" }, { "kind": "enum", "members": [ { "name": "front" }, { "name": "back" } ], "name": { "name": "EdgeNGramSide", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/token_filters.ts#L74-L77" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "EdgeNGramTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "edge_ngram" } }, { "name": "max_gram", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "min_gram", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "side", "required": false, "type": { "kind": "instance_of", "type": { "name": "EdgeNGramSide", "namespace": "_types.analysis" } } }, { "name": "preserve_original", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } } ], "specLocation": "_types/analysis/token_filters.ts#L79-L85" }, { "inherits": { "type": { "name": "TokenizerBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "EdgeNGramTokenizer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "edge_ngram" } }, { "name": "custom_token_chars", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_gram", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "min_gram", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "token_chars", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TokenChar", "namespace": "_types.analysis" } } } } ], "specLocation": "_types/analysis/tokenizers.ts#L31-L37" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "ElisionTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "elision" } }, { "name": "articles", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "articles_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "articles_case", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } } ], "specLocation": "_types/analysis/token_filters.ts#L189-L194" }, { "kind": "interface", "name": { "name": "FingerprintAnalyzer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "fingerprint" } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "max_output_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "preserve_original", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "separator", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "stopwords", "required": false, "type": { "kind": "instance_of", "type": { "name": "StopWords", "namespace": "_types.analysis" } } }, { "name": "stopwords_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/analyzers.ts#L37-L45" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "FingerprintTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "fingerprint" } }, { "name": "max_output_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "separator", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L196-L200" }, { "inherits": { "type": { "name": "CharFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "HtmlStripCharFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "html_strip" } }, { "name": "escaped_tags", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "_types/analysis/char_filters.ts#L43-L46" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "HunspellTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "hunspell" } }, { "name": "dedup", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "dictionary", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "locale", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "longest_only", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L202-L208" }, { "inherits": { "type": { "name": "CompoundWordTokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "HyphenationDecompounderTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "hyphenation_decompounder" } } ], "specLocation": "_types/analysis/token_filters.ts#L58-L60" }, { "kind": "interface", "name": { "name": "IcuAnalyzer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "icu_analyzer" } }, { "name": "method", "required": true, "type": { "kind": "instance_of", "type": { "name": "IcuNormalizationType", "namespace": "_types.analysis" } } }, { "name": "mode", "required": true, "type": { "kind": "instance_of", "type": { "name": "IcuNormalizationMode", "namespace": "_types.analysis" } } } ], "specLocation": "_types/analysis/icu-plugin.ts#L67-L71" }, { "kind": "enum", "members": [ { "name": "shifted" }, { "name": "non-ignorable" } ], "name": { "name": "IcuCollationAlternate", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/icu-plugin.ts#L89-L92" }, { "kind": "enum", "members": [ { "name": "lower" }, { "name": "upper" } ], "name": { "name": "IcuCollationCaseFirst", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/icu-plugin.ts#L94-L97" }, { "kind": "enum", "members": [ { "name": "no" }, { "name": "identical" } ], "name": { "name": "IcuCollationDecomposition", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/icu-plugin.ts#L99-L102" }, { "kind": "enum", "members": [ { "name": "primary" }, { "name": "secondary" }, { "name": "tertiary" }, { "name": "quaternary" }, { "name": "identical" } ], "name": { "name": "IcuCollationStrength", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/icu-plugin.ts#L104-L110" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "IcuCollationTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "icu_collation" } }, { "name": "alternate", "required": false, "type": { "kind": "instance_of", "type": { "name": "IcuCollationAlternate", "namespace": "_types.analysis" } } }, { "name": "caseFirst", "required": false, "type": { "kind": "instance_of", "type": { "name": "IcuCollationCaseFirst", "namespace": "_types.analysis" } } }, { "name": "caseLevel", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "country", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "decomposition", "required": false, "type": { "kind": "instance_of", "type": { "name": "IcuCollationDecomposition", "namespace": "_types.analysis" } } }, { "name": "hiraganaQuaternaryMode", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "language", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "numeric", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "rules", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "strength", "required": false, "type": { "kind": "instance_of", "type": { "name": "IcuCollationStrength", "namespace": "_types.analysis" } } }, { "name": "variableTop", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "variant", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/icu-plugin.ts#L51-L65" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "IcuFoldingTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "icu_folding" } }, { "name": "unicode_set_filter", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/icu-plugin.ts#L46-L49" }, { "inherits": { "type": { "name": "CharFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "IcuNormalizationCharFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "icu_normalizer" } }, { "name": "mode", "required": false, "type": { "kind": "instance_of", "type": { "name": "IcuNormalizationMode", "namespace": "_types.analysis" } } }, { "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "IcuNormalizationType", "namespace": "_types.analysis" } } } ], "specLocation": "_types/analysis/icu-plugin.ts#L40-L44" }, { "kind": "enum", "members": [ { "name": "decompose" }, { "name": "compose" } ], "name": { "name": "IcuNormalizationMode", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/icu-plugin.ts#L78-L81" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "IcuNormalizationTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "icu_normalizer" } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "IcuNormalizationType", "namespace": "_types.analysis" } } } ], "specLocation": "_types/analysis/icu-plugin.ts#L35-L38" }, { "kind": "enum", "members": [ { "name": "nfc" }, { "name": "nfkc" }, { "name": "nfkc_cf" } ], "name": { "name": "IcuNormalizationType", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/icu-plugin.ts#L83-L87" }, { "inherits": { "type": { "name": "TokenizerBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "IcuTokenizer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "icu_tokenizer" } }, { "name": "rule_files", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/icu-plugin.ts#L30-L33" }, { "kind": "enum", "members": [ { "name": "forward" }, { "name": "reverse" } ], "name": { "name": "IcuTransformDirection", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/icu-plugin.ts#L73-L76" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "IcuTransformTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "icu_transform" } }, { "name": "dir", "required": false, "type": { "kind": "instance_of", "type": { "name": "IcuTransformDirection", "namespace": "_types.analysis" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/icu-plugin.ts#L24-L28" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "KStemTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "kstem" } } ], "specLocation": "_types/analysis/token_filters.ts#L241-L243" }, { "kind": "enum", "members": [ { "name": "include" }, { "name": "exclude" } ], "name": { "name": "KeepTypesMode", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/token_filters.ts#L215-L218" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "KeepTypesTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "keep_types" } }, { "name": "mode", "required": false, "type": { "kind": "instance_of", "type": { "name": "KeepTypesMode", "namespace": "_types.analysis" } } }, { "name": "types", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "_types/analysis/token_filters.ts#L220-L224" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "KeepWordsTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "keep" } }, { "name": "keep_words", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "keep_words_case", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "keep_words_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L226-L231" }, { "kind": "interface", "name": { "name": "KeywordAnalyzer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "keyword" } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } } ], "specLocation": "_types/analysis/analyzers.ts#L47-L50" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "KeywordMarkerTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "keyword_marker" } }, { "name": "ignore_case", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "keywords", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "keywords_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "keywords_pattern", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L233-L239" }, { "inherits": { "type": { "name": "TokenizerBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "KeywordTokenizer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "keyword" } }, { "name": "buffer_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/analysis/tokenizers.ts#L62-L65" }, { "kind": "interface", "name": { "name": "KuromojiAnalyzer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "kuromoji" } }, { "name": "mode", "required": true, "type": { "kind": "instance_of", "type": { "name": "KuromojiTokenizationMode", "namespace": "_types.analysis" } } }, { "name": "user_dictionary", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/kuromoji-plugin.ts#L25-L29" }, { "inherits": { "type": { "name": "CharFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "KuromojiIterationMarkCharFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "kuromoji_iteration_mark" } }, { "name": "normalize_kana", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "normalize_kanji", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/kuromoji-plugin.ts#L31-L35" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "KuromojiPartOfSpeechTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "kuromoji_part_of_speech" } }, { "name": "stoptags", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "_types/analysis/kuromoji-plugin.ts#L37-L40" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "KuromojiReadingFormTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "kuromoji_readingform" } }, { "name": "use_romaji", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/kuromoji-plugin.ts#L42-L45" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "KuromojiStemmerTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "kuromoji_stemmer" } }, { "name": "minimum_length", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/analysis/kuromoji-plugin.ts#L47-L50" }, { "kind": "enum", "members": [ { "name": "normal" }, { "name": "search" }, { "name": "extended" } ], "name": { "name": "KuromojiTokenizationMode", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/kuromoji-plugin.ts#L52-L56" }, { "inherits": { "type": { "name": "TokenizerBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "KuromojiTokenizer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "kuromoji_tokenizer" } }, { "name": "discard_punctuation", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "mode", "required": true, "type": { "kind": "instance_of", "type": { "name": "KuromojiTokenizationMode", "namespace": "_types.analysis" } } }, { "name": "nbest_cost", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "nbest_examples", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "user_dictionary", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "user_dictionary_rules", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "discard_compound_token", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/kuromoji-plugin.ts#L58-L67" }, { "kind": "enum", "members": [ { "name": "Arabic" }, { "name": "Armenian" }, { "name": "Basque" }, { "name": "Brazilian" }, { "name": "Bulgarian" }, { "name": "Catalan" }, { "name": "Chinese" }, { "name": "Cjk" }, { "name": "Czech" }, { "name": "Danish" }, { "name": "Dutch" }, { "name": "English" }, { "name": "Estonian" }, { "name": "Finnish" }, { "name": "French" }, { "name": "Galician" }, { "name": "German" }, { "name": "Greek" }, { "name": "Hindi" }, { "name": "Hungarian" }, { "name": "Indonesian" }, { "name": "Irish" }, { "name": "Italian" }, { "name": "Latvian" }, { "name": "Norwegian" }, { "name": "Persian" }, { "name": "Portuguese" }, { "name": "Romanian" }, { "name": "Russian" }, { "name": "Sorani" }, { "name": "Spanish" }, { "name": "Swedish" }, { "name": "Turkish" }, { "name": "Thai" } ], "name": { "name": "Language", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/languages.ts#L20-L55" }, { "kind": "interface", "name": { "name": "LanguageAnalyzer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "language" } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "language", "required": true, "type": { "kind": "instance_of", "type": { "name": "Language", "namespace": "_types.analysis" } } }, { "name": "stem_exclusion", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "stopwords", "required": false, "type": { "kind": "instance_of", "type": { "name": "StopWords", "namespace": "_types.analysis" } } }, { "name": "stopwords_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/analyzers.ts#L52-L59" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "LengthTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "length" } }, { "name": "max", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "min", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/analysis/token_filters.ts#L245-L249" }, { "inherits": { "type": { "name": "TokenizerBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "LetterTokenizer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "letter" } } ], "specLocation": "_types/analysis/tokenizers.ts#L67-L69" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "LimitTokenCountTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "limit" } }, { "name": "consume_all_tokens", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "max_token_count", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } } ], "specLocation": "_types/analysis/token_filters.ts#L251-L255" }, { "kind": "interface", "name": { "name": "LowercaseNormalizer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "lowercase" } } ], "specLocation": "_types/analysis/normalizers.ts#L26-L28" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "LowercaseTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "lowercase" } }, { "name": "language", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L257-L260" }, { "inherits": { "type": { "name": "TokenizerBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "LowercaseTokenizer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "lowercase" } } ], "specLocation": "_types/analysis/tokenizers.ts#L71-L73" }, { "inherits": { "type": { "name": "CharFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "MappingCharFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "mapping" } }, { "name": "mappings", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "mappings_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/char_filters.ts#L48-L52" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "MultiplexerTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "multiplexer" } }, { "name": "filters", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "preserve_original", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } } ], "specLocation": "_types/analysis/token_filters.ts#L262-L266" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "NGramTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "ngram" } }, { "name": "max_gram", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "min_gram", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "preserve_original", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } } ], "specLocation": "_types/analysis/token_filters.ts#L268-L273" }, { "inherits": { "type": { "name": "TokenizerBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "NGramTokenizer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "ngram" } }, { "name": "custom_token_chars", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_gram", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "min_gram", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "token_chars", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TokenChar", "namespace": "_types.analysis" } } } } ], "specLocation": "_types/analysis/tokenizers.ts#L39-L45" }, { "kind": "interface", "name": { "name": "NoriAnalyzer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "nori" } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "decompound_mode", "required": false, "type": { "kind": "instance_of", "type": { "name": "NoriDecompoundMode", "namespace": "_types.analysis" } } }, { "name": "stoptags", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "user_dictionary", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/analyzers.ts#L66-L72" }, { "kind": "enum", "members": [ { "name": "discard" }, { "name": "none" }, { "name": "mixed" } ], "name": { "name": "NoriDecompoundMode", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/tokenizers.ts#L75-L79" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "NoriPartOfSpeechTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "nori_part_of_speech" } }, { "name": "stoptags", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "_types/analysis/token_filters.ts#L275-L278" }, { "inherits": { "type": { "name": "TokenizerBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "NoriTokenizer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "nori_tokenizer" } }, { "name": "decompound_mode", "required": false, "type": { "kind": "instance_of", "type": { "name": "NoriDecompoundMode", "namespace": "_types.analysis" } } }, { "name": "discard_punctuation", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "user_dictionary", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "user_dictionary_rules", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "_types/analysis/tokenizers.ts#L81-L87" }, { "docId": "analysis-normalizers", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-normalizers.html", "kind": "type_alias", "name": { "name": "Normalizer", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/normalizers.ts#L20-L24", "type": { "items": [ { "kind": "instance_of", "type": { "name": "LowercaseNormalizer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "CustomNormalizer", "namespace": "_types.analysis" } } ], "kind": "union_of" }, "variants": { "kind": "internal_tag", "tag": "type" } }, { "inherits": { "type": { "name": "TokenizerBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "PathHierarchyTokenizer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "path_hierarchy" } }, { "name": "buffer_size", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "name": "delimiter", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "replacement", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "reverse", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "name": "skip", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } } ], "specLocation": "_types/analysis/tokenizers.ts#L89-L96" }, { "kind": "interface", "name": { "name": "PatternAnalyzer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "pattern" } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "flags", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "lowercase", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "pattern", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "stopwords", "required": false, "type": { "kind": "instance_of", "type": { "name": "StopWords", "namespace": "_types.analysis" } } } ], "specLocation": "_types/analysis/analyzers.ts#L74-L81" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "PatternCaptureTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "pattern_capture" } }, { "name": "patterns", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "preserve_original", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } } ], "specLocation": "_types/analysis/token_filters.ts#L280-L284" }, { "inherits": { "type": { "name": "CharFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "PatternReplaceCharFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "pattern_replace" } }, { "name": "flags", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "pattern", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "replacement", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/char_filters.ts#L54-L59" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "PatternReplaceTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "pattern_replace" } }, { "name": "all", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "flags", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "pattern", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "replacement", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L286-L292" }, { "inherits": { "type": { "name": "TokenizerBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "PatternTokenizer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "pattern" } }, { "name": "flags", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "group", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "pattern", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/tokenizers.ts#L98-L103" }, { "kind": "enum", "members": [ { "name": "metaphone" }, { "name": "double_metaphone" }, { "name": "soundex" }, { "name": "refined_soundex" }, { "name": "caverphone1" }, { "name": "caverphone2" }, { "name": "cologne" }, { "name": "nysiis" }, { "name": "koelnerphonetik" }, { "name": "haasephonetik" }, { "name": "beider_morse" }, { "name": "daitch_mokotoff" } ], "name": { "name": "PhoneticEncoder", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/phonetic-plugin.ts#L23-L36" }, { "kind": "enum", "members": [ { "name": "any" }, { "name": "common" }, { "name": "cyrillic" }, { "name": "english" }, { "name": "french" }, { "name": "german" }, { "name": "hebrew" }, { "name": "hungarian" }, { "name": "polish" }, { "name": "romanian" }, { "name": "russian" }, { "name": "spanish" } ], "name": { "name": "PhoneticLanguage", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/phonetic-plugin.ts#L38-L51" }, { "kind": "enum", "members": [ { "name": "generic" }, { "name": "ashkenazi" }, { "name": "sephardic" } ], "name": { "name": "PhoneticNameType", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/phonetic-plugin.ts#L53-L57" }, { "kind": "enum", "members": [ { "name": "approx" }, { "name": "exact" } ], "name": { "name": "PhoneticRuleType", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/phonetic-plugin.ts#L59-L62" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "PhoneticTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "phonetic" } }, { "name": "encoder", "required": true, "type": { "kind": "instance_of", "type": { "name": "PhoneticEncoder", "namespace": "_types.analysis" } } }, { "name": "languageset", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "PhoneticLanguage", "namespace": "_types.analysis" } } } }, { "name": "max_code_len", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "name_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "PhoneticNameType", "namespace": "_types.analysis" } } }, { "name": "replace", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "rule_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "PhoneticRuleType", "namespace": "_types.analysis" } } } ], "specLocation": "_types/analysis/phonetic-plugin.ts#L64-L72" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "PorterStemTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "porter_stem" } } ], "specLocation": "_types/analysis/token_filters.ts#L294-L296" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "PredicateTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "predicate_token_filter" } }, { "name": "script", "required": true, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } } ], "specLocation": "_types/analysis/token_filters.ts#L298-L301" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "RemoveDuplicatesTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "remove_duplicates" } } ], "specLocation": "_types/analysis/token_filters.ts#L303-L305" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "ReverseTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "reverse" } } ], "specLocation": "_types/analysis/token_filters.ts#L307-L309" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "ShingleTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "shingle" } }, { "name": "filler_token", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_shingle_size", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "min_shingle_size", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "output_unigrams", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "output_unigrams_if_no_shingles", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "token_separator", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L87-L95" }, { "kind": "interface", "name": { "name": "SimpleAnalyzer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "simple" } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } } ], "specLocation": "_types/analysis/analyzers.ts#L83-L86" }, { "kind": "interface", "name": { "name": "SnowballAnalyzer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "snowball" } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "language", "required": true, "type": { "kind": "instance_of", "type": { "name": "SnowballLanguage", "namespace": "_types.analysis" } } }, { "name": "stopwords", "required": false, "type": { "kind": "instance_of", "type": { "name": "StopWords", "namespace": "_types.analysis" } } } ], "specLocation": "_types/analysis/analyzers.ts#L88-L93" }, { "kind": "enum", "members": [ { "name": "Armenian" }, { "name": "Basque" }, { "name": "Catalan" }, { "name": "Danish" }, { "name": "Dutch" }, { "name": "English" }, { "name": "Finnish" }, { "name": "French" }, { "name": "German" }, { "name": "German2" }, { "name": "Hungarian" }, { "name": "Italian" }, { "name": "Kp" }, { "name": "Lovins" }, { "name": "Norwegian" }, { "name": "Porter" }, { "name": "Portuguese" }, { "name": "Romanian" }, { "name": "Russian" }, { "name": "Spanish" }, { "name": "Swedish" }, { "name": "Turkish" } ], "name": { "name": "SnowballLanguage", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/languages.ts#L57-L80" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "SnowballTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "snowball" } }, { "name": "language", "required": true, "type": { "kind": "instance_of", "type": { "name": "SnowballLanguage", "namespace": "_types.analysis" } } } ], "specLocation": "_types/analysis/token_filters.ts#L311-L314" }, { "kind": "interface", "name": { "name": "StandardAnalyzer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "standard" } }, { "name": "max_token_length", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "stopwords", "required": false, "type": { "kind": "instance_of", "type": { "name": "StopWords", "namespace": "_types.analysis" } } } ], "specLocation": "_types/analysis/analyzers.ts#L95-L99" }, { "inherits": { "type": { "name": "TokenizerBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "StandardTokenizer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "standard" } }, { "name": "max_token_length", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/analysis/tokenizers.ts#L105-L108" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "StemmerOverrideTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "stemmer_override" } }, { "name": "rules", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "rules_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L316-L320" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "StemmerTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "stemmer" } }, { "aliases": [ "name" ], "name": "language", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L322-L326" }, { "kind": "interface", "name": { "name": "StopAnalyzer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "stop" } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "stopwords", "required": false, "type": { "kind": "instance_of", "type": { "name": "StopWords", "namespace": "_types.analysis" } } }, { "name": "stopwords_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/analyzers.ts#L101-L106" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "StopTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "stop" } }, { "name": "ignore_case", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "remove_trailing", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "stopwords", "required": false, "type": { "kind": "instance_of", "type": { "name": "StopWords", "namespace": "_types.analysis" } } }, { "name": "stopwords_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L97-L103" }, { "description": "Language value, such as _arabic_ or _thai_. Defaults to _english_.\nEach language value corresponds to a predefined list of stop words in Lucene. See Stop words by language for supported language values and their stop words.\nAlso accepts an array of stop words.", "kind": "type_alias", "name": { "name": "StopWords", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/StopWords.ts#L20-L26", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } }, { "kind": "enum", "members": [ { "name": "solr" }, { "name": "wordnet" } ], "name": { "name": "SynonymFormat", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/token_filters.ts#L105-L108" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "SynonymGraphTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "synonym_graph" } }, { "name": "expand", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "SynonymFormat", "namespace": "_types.analysis" } } }, { "name": "lenient", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "synonyms", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "synonyms_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "synonyms_set", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "tokenizer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "updateable", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L110-L120" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "SynonymTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "synonym" } }, { "name": "expand", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "SynonymFormat", "namespace": "_types.analysis" } } }, { "name": "lenient", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "synonyms", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "synonyms_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "synonyms_set", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "tokenizer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "updateable", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L122-L132" }, { "kind": "enum", "members": [ { "name": "letter" }, { "name": "digit" }, { "name": "whitespace" }, { "name": "punctuation" }, { "name": "symbol" }, { "name": "custom" } ], "name": { "name": "TokenChar", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/tokenizers.ts#L47-L54" }, { "codegenNames": [ "name", "definition" ], "kind": "type_alias", "name": { "name": "TokenFilter", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/token_filters.ts#L346-L348", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "TokenFilterDefinition", "namespace": "_types.analysis" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "TokenFilterBase", "namespace": "_types.analysis" }, "properties": [ { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } } ], "specLocation": "_types/analysis/token_filters.ts#L40-L42" }, { "kind": "type_alias", "name": { "name": "TokenFilterDefinition", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/token_filters.ts#L350-L402", "type": { "items": [ { "kind": "instance_of", "type": { "name": "AsciiFoldingTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "CommonGramsTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "ConditionTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "DelimitedPayloadTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "EdgeNGramTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "ElisionTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "FingerprintTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "HunspellTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "HyphenationDecompounderTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "KeepTypesTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "KeepWordsTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "KeywordMarkerTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "KStemTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "LengthTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "LimitTokenCountTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "LowercaseTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "MultiplexerTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "NGramTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "NoriPartOfSpeechTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "PatternCaptureTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "PatternReplaceTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "PorterStemTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "PredicateTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "RemoveDuplicatesTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "ReverseTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "ShingleTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "SnowballTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "StemmerOverrideTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "StemmerTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "StopTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "SynonymGraphTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "SynonymTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "TrimTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "TruncateTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "UniqueTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "UppercaseTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "WordDelimiterGraphTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "WordDelimiterTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "KuromojiStemmerTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "KuromojiReadingFormTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "KuromojiPartOfSpeechTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "IcuCollationTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "IcuFoldingTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "IcuNormalizationTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "IcuTransformTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "PhoneticTokenFilter", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "DictionaryDecompounderTokenFilter", "namespace": "_types.analysis" } } ], "kind": "union_of" }, "variants": { "kind": "internal_tag", "nonExhaustive": true, "tag": "type" } }, { "codegenNames": [ "name", "definition" ], "kind": "type_alias", "name": { "name": "Tokenizer", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/tokenizers.ts#L120-L122", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "TokenizerDefinition", "namespace": "_types.analysis" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "TokenizerBase", "namespace": "_types.analysis" }, "properties": [ { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } } ], "specLocation": "_types/analysis/tokenizers.ts#L27-L29" }, { "kind": "type_alias", "name": { "name": "TokenizerDefinition", "namespace": "_types.analysis" }, "specLocation": "_types/analysis/tokenizers.ts#L124-L142", "type": { "items": [ { "kind": "instance_of", "type": { "name": "CharGroupTokenizer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "EdgeNGramTokenizer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "KeywordTokenizer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "LetterTokenizer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "LowercaseTokenizer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "NGramTokenizer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "NoriTokenizer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "PathHierarchyTokenizer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "StandardTokenizer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "UaxEmailUrlTokenizer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "WhitespaceTokenizer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "KuromojiTokenizer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "PatternTokenizer", "namespace": "_types.analysis" } }, { "kind": "instance_of", "type": { "name": "IcuTokenizer", "namespace": "_types.analysis" } } ], "kind": "union_of" }, "variants": { "kind": "internal_tag", "nonExhaustive": true, "tag": "type" } }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "TrimTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "trim" } } ], "specLocation": "_types/analysis/token_filters.ts#L328-L330" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "TruncateTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "truncate" } }, { "name": "length", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/analysis/token_filters.ts#L332-L335" }, { "inherits": { "type": { "name": "TokenizerBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "UaxEmailUrlTokenizer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "uax_url_email" } }, { "name": "max_token_length", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/analysis/tokenizers.ts#L110-L113" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "UniqueTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "unique" } }, { "name": "only_on_same_position", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L337-L340" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "UppercaseTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "uppercase" } } ], "specLocation": "_types/analysis/token_filters.ts#L342-L344" }, { "kind": "interface", "name": { "name": "WhitespaceAnalyzer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "whitespace" } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } } ], "specLocation": "_types/analysis/analyzers.ts#L108-L111" }, { "inherits": { "type": { "name": "TokenizerBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "WhitespaceTokenizer", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "whitespace" } }, { "name": "max_token_length", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/analysis/tokenizers.ts#L115-L118" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "WordDelimiterGraphTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "word_delimiter_graph" } }, { "name": "adjust_offsets", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "catenate_all", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "catenate_numbers", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "catenate_words", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "generate_number_parts", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "generate_word_parts", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "ignore_keywords", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "preserve_original", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "name": "protected_words", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "protected_words_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "split_on_case_change", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "split_on_numerics", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "stem_english_possessive", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "type_table", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "type_table_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L151-L168" }, { "inherits": { "type": { "name": "TokenFilterBase", "namespace": "_types.analysis" } }, "kind": "interface", "name": { "name": "WordDelimiterTokenFilter", "namespace": "_types.analysis" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "word_delimiter" } }, { "name": "catenate_all", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "catenate_numbers", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "catenate_words", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "generate_number_parts", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "generate_word_parts", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "preserve_original", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "name": "protected_words", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "protected_words_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "split_on_case_change", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "split_on_numerics", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "stem_english_possessive", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "type_table", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "type_table_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/analysis/token_filters.ts#L134-L149" }, { "inherits": { "type": { "name": "PropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "AggregateMetricDoubleProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "aggregate_metric_double" } }, { "name": "default_metric", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "metrics", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "time_series_metric", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeSeriesMetricType", "namespace": "_types.mapping" } } } ], "specLocation": "_types/mapping/complex.ts#L60-L65" }, { "kind": "interface", "name": { "name": "AllField", "namespace": "_types.mapping" }, "properties": [ { "name": "analyzer", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "omit_norms", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "search_analyzer", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "similarity", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "store", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "store_term_vector_offsets", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "store_term_vector_payloads", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "store_term_vector_positions", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "store_term_vectors", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/mapping/meta-fields.ts#L29-L40" }, { "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "BinaryProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "binary" } } ], "specLocation": "_types/mapping/core.ts#L49-L51" }, { "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "BooleanProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "boost", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "fielddata", "required": false, "type": { "kind": "instance_of", "type": { "name": "NumericFielddata", "namespace": "indices._types" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "boolean" } } ], "specLocation": "_types/mapping/core.ts#L53-L59" }, { "inherits": { "type": { "name": "NumberPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "ByteNumberProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "byte" } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "byte", "namespace": "_types" } } } ], "specLocation": "_types/mapping/core.ts#L164-L167" }, { "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "CompletionProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "contexts", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SuggestContext", "namespace": "_types.mapping" } } } }, { "name": "max_input_length", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "preserve_position_increments", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "preserve_separators", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "search_analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "completion" } } ], "specLocation": "_types/mapping/specialized.ts#L27-L35" }, { "inherits": { "type": { "name": "PropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "ConstantKeywordProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "value", "required": false, "type": { "kind": "user_defined_value" } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "constant_keyword" } } ], "specLocation": "_types/mapping/specialized.ts#L44-L47" }, { "inherits": { "type": { "name": "PropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "CorePropertyBase", "namespace": "_types.mapping" }, "properties": [ { "name": "copy_to", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "name": "similarity", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "store", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/mapping/core.ts#L39-L43" }, { "kind": "interface", "name": { "name": "DataStreamTimestamp", "namespace": "_types.mapping" }, "properties": [ { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/mapping/TypeMapping.ts#L59-L61" }, { "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "DateNanosProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "boost", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "ignore_malformed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "precision_step", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "date_nanos" } } ], "specLocation": "_types/mapping/core.ts#L73-L81" }, { "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "DateProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "boost", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "fielddata", "required": false, "type": { "kind": "instance_of", "type": { "name": "NumericFielddata", "namespace": "indices._types" } } }, { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "ignore_malformed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "precision_step", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "locale", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "date" } } ], "specLocation": "_types/mapping/core.ts#L61-L71" }, { "inherits": { "type": { "name": "RangePropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "DateRangeProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "date_range" } } ], "specLocation": "_types/mapping/range.ts#L29-L32" }, { "kind": "interface", "name": { "name": "DenseVectorIndexOptions", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "m", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "ef_construction", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/mapping/DenseVectorIndexOptions.ts#L22-L26" }, { "inherits": { "type": { "name": "PropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "DenseVectorProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "dense_vector" } }, { "name": "dims", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "similarity", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index_options", "required": false, "type": { "kind": "instance_of", "type": { "name": "DenseVectorIndexOptions", "namespace": "_types.mapping" } } } ], "specLocation": "_types/mapping/complex.ts#L52-L58" }, { "inherits": { "type": { "name": "CorePropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" }, "properties": [ { "name": "doc_values", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/mapping/core.ts#L45-L47" }, { "inherits": { "type": { "name": "NumberPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "DoubleNumberProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "double" } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_types/mapping/core.ts#L144-L147" }, { "inherits": { "type": { "name": "RangePropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "DoubleRangeProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "double_range" } } ], "specLocation": "_types/mapping/range.ts#L34-L36" }, { "esQuirk": "This is a boolean that evolved into an enum. Boolean values should be accepted on reading, and\ntrue and false must be serialized as JSON booleans, or it may break Kibana (see elasticsearch-java#139)", "kind": "enum", "members": [ { "name": "strict" }, { "name": "runtime" }, { "name": "true" }, { "name": "false" } ], "name": { "name": "DynamicMapping", "namespace": "_types.mapping" }, "specLocation": "_types/mapping/dynamic-template.ts#L37-L46" }, { "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "DynamicProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "{dynamic_type}" } }, { "name": "enabled", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldValue", "namespace": "_types" } } }, { "name": "boost", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "coerce", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "name": "on_script_error", "required": false, "type": { "kind": "instance_of", "type": { "name": "OnScriptError", "namespace": "_types.mapping" } } }, { "name": "ignore_malformed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "time_series_metric", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeSeriesMetricType", "namespace": "_types.mapping" } } }, { "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "eager_global_ordinals", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index_options", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexOptions", "namespace": "_types.mapping" } } }, { "name": "index_phrases", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index_prefixes", "required": false, "type": { "kind": "instance_of", "type": { "name": "TextIndexPrefixes", "namespace": "_types.mapping" } } }, { "name": "norms", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "position_increment_gap", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "search_analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "search_quote_analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "term_vector", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermVectorOption", "namespace": "_types.mapping" } } }, { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "precision_step", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "locale", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/mapping/core.ts#L286-L317" }, { "kind": "interface", "name": { "name": "DynamicTemplate", "namespace": "_types.mapping" }, "properties": [ { "name": "mapping", "required": false, "type": { "kind": "instance_of", "type": { "name": "Property", "namespace": "_types.mapping" } } }, { "name": "match", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "match_mapping_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "match_pattern", "required": false, "type": { "kind": "instance_of", "type": { "name": "MatchType", "namespace": "_types.mapping" } } }, { "name": "path_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "path_unmatch", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "unmatch", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/mapping/dynamic-template.ts#L22-L30" }, { "inherits": { "type": { "name": "PropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "FieldAliasProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "path", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "alias" } } ], "specLocation": "_types/mapping/specialized.ts#L49-L52" }, { "kind": "interface", "name": { "name": "FieldMapping", "namespace": "_types.mapping" }, "properties": [ { "name": "full_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "mapping", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "Property", "namespace": "_types.mapping" } } } } ], "specLocation": "_types/mapping/meta-fields.ts#L24-L27" }, { "kind": "interface", "name": { "name": "FieldNamesField", "namespace": "_types.mapping" }, "properties": [ { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/mapping/meta-fields.ts#L42-L44" }, { "kind": "enum", "members": [ { "name": "none" }, { "name": "geo_point" }, { "name": "geo_shape" }, { "name": "ip" }, { "name": "binary" }, { "name": "keyword" }, { "name": "text" }, { "name": "search_as_you_type" }, { "name": "date" }, { "name": "date_nanos" }, { "name": "boolean" }, { "name": "completion" }, { "name": "nested" }, { "name": "object" }, { "name": "murmur3" }, { "name": "token_count" }, { "name": "percolator" }, { "name": "integer" }, { "name": "long" }, { "name": "short" }, { "name": "byte" }, { "name": "float" }, { "name": "half_float" }, { "name": "scaled_float" }, { "name": "double" }, { "name": "integer_range" }, { "name": "float_range" }, { "name": "long_range" }, { "name": "double_range" }, { "name": "date_range" }, { "name": "ip_range" }, { "name": "alias" }, { "name": "join" }, { "name": "rank_feature" }, { "name": "rank_features" }, { "name": "flattened" }, { "name": "shape" }, { "name": "histogram" }, { "name": "constant_keyword" }, { "name": "aggregate_metric_double" }, { "name": "dense_vector" }, { "name": "sparse_vector" }, { "name": "match_only_text" } ], "name": { "name": "FieldType", "namespace": "_types.mapping" }, "specLocation": "_types/mapping/Property.ts#L160-L204" }, { "inherits": { "type": { "name": "PropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "FlattenedProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "boost", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "depth_limit", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "doc_values", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "eager_global_ordinals", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index_options", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexOptions", "namespace": "_types.mapping" } } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "similarity", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "split_queries_on_whitespace", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "flattened" } } ], "specLocation": "_types/mapping/complex.ts#L26-L37" }, { "inherits": { "type": { "name": "NumberPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "FloatNumberProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "float" } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } ], "specLocation": "_types/mapping/core.ts#L134-L137" }, { "inherits": { "type": { "name": "RangePropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "FloatRangeProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "float_range" } } ], "specLocation": "_types/mapping/range.ts#L38-L40" }, { "kind": "enum", "members": [ { "aliases": [ "RIGHT", "counterclockwise", "ccw" ], "name": "right" }, { "aliases": [ "LEFT", "clockwise", "cw" ], "name": "left" } ], "name": { "name": "GeoOrientation", "namespace": "_types.mapping" }, "specLocation": "_types/mapping/geo.ts#L34-L39" }, { "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "GeoPointProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "ignore_malformed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "ignore_z_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoLocation", "namespace": "_types" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "on_script_error", "required": false, "type": { "kind": "instance_of", "type": { "name": "OnScriptError", "namespace": "_types.mapping" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "geo_point" } } ], "specLocation": "_types/mapping/geo.ts#L24-L32" }, { "description": "The `geo_shape` data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles\nand polygons.", "docId": "geo-shape", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/geo-shape.html", "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "GeoShapeProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "coerce", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "ignore_malformed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "ignore_z_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "orientation", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoOrientation", "namespace": "_types.mapping" } } }, { "name": "strategy", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoStrategy", "namespace": "_types.mapping" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "geo_shape" } } ], "specLocation": "_types/mapping/geo.ts#L41-L54" }, { "kind": "enum", "members": [ { "name": "recursive" }, { "name": "term" } ], "name": { "name": "GeoStrategy", "namespace": "_types.mapping" }, "specLocation": "_types/mapping/geo.ts#L56-L59" }, { "inherits": { "type": { "name": "NumberPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "HalfFloatNumberProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "half_float" } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } ], "specLocation": "_types/mapping/core.ts#L139-L142" }, { "inherits": { "type": { "name": "PropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "HistogramProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "ignore_malformed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "histogram" } } ], "specLocation": "_types/mapping/specialized.ts#L54-L57" }, { "kind": "interface", "name": { "name": "IndexField", "namespace": "_types.mapping" }, "properties": [ { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/mapping/meta-fields.ts#L46-L48" }, { "kind": "enum", "members": [ { "name": "docs" }, { "name": "freqs" }, { "name": "positions" }, { "name": "offsets" } ], "name": { "name": "IndexOptions", "namespace": "_types.mapping" }, "specLocation": "_types/mapping/core.ts#L243-L248" }, { "inherits": { "type": { "name": "NumberPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "IntegerNumberProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "integer" } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/mapping/core.ts#L149-L152" }, { "inherits": { "type": { "name": "RangePropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "IntegerRangeProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "integer_range" } } ], "specLocation": "_types/mapping/range.ts#L42-L44" }, { "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "IpProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "boost", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "ignore_malformed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "on_script_error", "required": false, "type": { "kind": "instance_of", "type": { "name": "OnScriptError", "namespace": "_types.mapping" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "availability": { "serverless": { "stability": "experimental" }, "stack": { "stability": "experimental" } }, "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", "name": "time_series_dimension", "required": false, "stability": "experimental", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "ip" } } ], "specLocation": "_types/mapping/specialized.ts#L59-L73" }, { "inherits": { "type": { "name": "RangePropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "IpRangeProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "ip_range" } } ], "specLocation": "_types/mapping/range.ts#L46-L48" }, { "inherits": { "type": { "name": "PropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "JoinProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "relations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "RelationName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "items": [ { "kind": "instance_of", "type": { "name": "RelationName", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RelationName", "namespace": "_types" } } } ], "kind": "union_of" } } }, { "name": "eager_global_ordinals", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "join" } } ], "specLocation": "_types/mapping/core.ts#L83-L87" }, { "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "KeywordProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "boost", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "eager_global_ordinals", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index_options", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexOptions", "namespace": "_types.mapping" } } }, { "name": "normalizer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "norms", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "split_queries_on_whitespace", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "availability": { "serverless": { "stability": "experimental" }, "stack": { "stability": "experimental" } }, "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", "name": "time_series_dimension", "required": false, "stability": "experimental", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "keyword" } } ], "specLocation": "_types/mapping/core.ts#L89-L105" }, { "inherits": { "type": { "name": "NumberPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "LongNumberProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "long" } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "_types/mapping/core.ts#L154-L157" }, { "inherits": { "type": { "name": "RangePropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "LongRangeProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "long_range" } } ], "specLocation": "_types/mapping/range.ts#L50-L52" }, { "description": "A variant of text that trades scoring and efficiency of positional queries for space efficiency. This field\neffectively stores data the same way as a text field that only indexes documents (index_options: docs) and\ndisables norms (norms: false). Term queries perform as fast if not faster as on text fields, however queries\nthat need positions such as the match_phrase query perform slower as they need to look at the _source document\nto verify whether a phrase matches. All queries return constant scores that are equal to 1.0.", "kind": "interface", "name": { "name": "MatchOnlyTextProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "match_only_text" } }, { "description": "Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one\nfield for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.", "docId": "multi-fields", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/multi-fields.html", "name": "fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "PropertyName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Property", "namespace": "_types.mapping" } } } }, { "description": "Metadata about the field.", "docId": "mapping-meta-field", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-meta-field.html", "name": "meta", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Allows you to copy the values of multiple fields into a group\nfield, which can then be queried as a single field.", "name": "copy_to", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } } ], "specLocation": "_types/mapping/core.ts#L216-L241" }, { "kind": "enum", "members": [ { "name": "simple" }, { "name": "regex" } ], "name": { "name": "MatchType", "namespace": "_types.mapping" }, "specLocation": "_types/mapping/dynamic-template.ts#L32-L35" }, { "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "Murmur3HashProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "murmur3" } } ], "specLocation": "_types/mapping/specialized.ts#L75-L77" }, { "inherits": { "type": { "name": "CorePropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "NestedProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "enabled", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "include_in_parent", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "include_in_root", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "nested" } } ], "specLocation": "_types/mapping/complex.ts#L39-L44" }, { "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "NumberPropertyBase", "namespace": "_types.mapping" }, "properties": [ { "name": "boost", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "coerce", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "ignore_malformed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "on_script_error", "required": false, "type": { "kind": "instance_of", "type": { "name": "OnScriptError", "namespace": "_types.mapping" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "availability": { "serverless": { "stability": "experimental" }, "stack": { "stability": "experimental" } }, "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", "name": "time_series_metric", "required": false, "stability": "experimental", "type": { "kind": "instance_of", "type": { "name": "TimeSeriesMetricType", "namespace": "_types.mapping" } } }, { "availability": { "serverless": { "stability": "experimental" }, "stack": { "stability": "experimental" } }, "description": "For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.", "name": "time_series_dimension", "required": false, "serverDefault": false, "stability": "experimental", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/mapping/core.ts#L107-L127" }, { "inherits": { "type": { "name": "CorePropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "ObjectProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "enabled", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "subobjects", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "type", "required": false, "type": { "kind": "literal_value", "value": "object" } } ], "specLocation": "_types/mapping/complex.ts#L46-L50" }, { "kind": "enum", "members": [ { "name": "fail" }, { "name": "continue" } ], "name": { "name": "OnScriptError", "namespace": "_types.mapping" }, "specLocation": "_types/mapping/core.ts#L129-L132" }, { "inherits": { "type": { "name": "PropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "PercolatorProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "percolator" } } ], "specLocation": "_types/mapping/core.ts#L180-L182" }, { "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "PointProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "ignore_malformed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "ignore_z_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "point" } } ], "specLocation": "_types/mapping/geo.ts#L66-L71" }, { "kind": "type_alias", "name": { "name": "Property", "namespace": "_types.mapping" }, "specLocation": "_types/mapping/Property.ts#L94-L158", "type": { "items": [ { "kind": "instance_of", "type": { "name": "BinaryProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "BooleanProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "DynamicProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "JoinProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "KeywordProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "MatchOnlyTextProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "PercolatorProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "RankFeatureProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "RankFeaturesProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "SearchAsYouTypeProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "TextProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "VersionProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "WildcardProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "DateNanosProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "DateProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "AggregateMetricDoubleProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "DenseVectorProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "SparseVectorProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "FlattenedProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "NestedProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "ObjectProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "CompletionProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "ConstantKeywordProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "FieldAliasProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "HistogramProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "IpProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "Murmur3HashProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "TokenCountProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "GeoPointProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "GeoShapeProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "PointProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "ShapeProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "ByteNumberProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "DoubleNumberProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "FloatNumberProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "HalfFloatNumberProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "IntegerNumberProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "LongNumberProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "ScaledFloatNumberProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "ShortNumberProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "UnsignedLongNumberProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "DateRangeProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "DoubleRangeProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "FloatRangeProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "IntegerRangeProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "IpRangeProperty", "namespace": "_types.mapping" } }, { "kind": "instance_of", "type": { "name": "LongRangeProperty", "namespace": "_types.mapping" } } ], "kind": "union_of" }, "variants": { "defaultTag": "object", "kind": "internal_tag", "nonExhaustive": true, "tag": "type" } }, { "kind": "interface", "name": { "name": "PropertyBase", "namespace": "_types.mapping" }, "properties": [ { "description": "Metadata about the field.", "docId": "mapping-meta-field", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-meta-field.html", "name": "meta", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "properties", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "PropertyName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Property", "namespace": "_types.mapping" } } } }, { "name": "ignore_above", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "dynamic", "required": false, "type": { "kind": "instance_of", "type": { "name": "DynamicMapping", "namespace": "_types.mapping" } } }, { "name": "fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "PropertyName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Property", "namespace": "_types.mapping" } } } } ], "specLocation": "_types/mapping/Property.ts#L82-L92" }, { "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "RangePropertyBase", "namespace": "_types.mapping" }, "properties": [ { "name": "boost", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "coerce", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/mapping/range.ts#L23-L27" }, { "inherits": { "type": { "name": "PropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "RankFeatureProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "positive_score_impact", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "rank_feature" } } ], "specLocation": "_types/mapping/core.ts#L184-L187" }, { "inherits": { "type": { "name": "PropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "RankFeaturesProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "positive_score_impact", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "rank_features" } } ], "specLocation": "_types/mapping/core.ts#L189-L192" }, { "kind": "interface", "name": { "name": "RoutingField", "namespace": "_types.mapping" }, "properties": [ { "name": "required", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/mapping/meta-fields.ts#L50-L52" }, { "kind": "interface", "name": { "name": "RuntimeField", "namespace": "_types.mapping" }, "properties": [ { "description": "For type `lookup`", "name": "fetch_fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RuntimeFieldFetchFields", "namespace": "_types.mapping" } } } }, { "description": "A custom format for `date` type runtime fields.", "docId": "mapping-date-format", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-date-format.html", "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "For type `lookup`", "name": "input_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "For type `lookup`", "name": "target_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "For type `lookup`", "name": "target_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Painless script executed at query time.", "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "description": "Field type, which can be: `boolean`, `composite`, `date`, `double`, `geo_point`, `ip`,`keyword`, `long`, or `lookup`.", "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "RuntimeFieldType", "namespace": "_types.mapping" } } } ], "specLocation": "_types/mapping/RuntimeFields.ts#L26-L48" }, { "kind": "interface", "name": { "name": "RuntimeFieldFetchFields", "namespace": "_types.mapping" }, "properties": [ { "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "shortcutProperty": "field", "specLocation": "_types/mapping/RuntimeFields.ts#L50-L54" }, { "kind": "enum", "members": [ { "name": "boolean" }, { "name": "composite" }, { "name": "date" }, { "name": "double" }, { "name": "geo_point" }, { "name": "ip" }, { "name": "keyword" }, { "name": "long" }, { "name": "lookup" } ], "name": { "name": "RuntimeFieldType", "namespace": "_types.mapping" }, "specLocation": "_types/mapping/RuntimeFields.ts#L56-L66" }, { "kind": "type_alias", "name": { "name": "RuntimeFields", "namespace": "_types.mapping" }, "specLocation": "_types/mapping/RuntimeFields.ts#L24-L24", "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "RuntimeField", "namespace": "_types.mapping" } } } }, { "inherits": { "type": { "name": "NumberPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "ScaledFloatNumberProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "scaled_float" } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "scaling_factor", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_types/mapping/core.ts#L174-L178" }, { "inherits": { "type": { "name": "CorePropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "SearchAsYouTypeProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index_options", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexOptions", "namespace": "_types.mapping" } } }, { "name": "max_shingle_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "norms", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "search_analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "search_quote_analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "term_vector", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermVectorOption", "namespace": "_types.mapping" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "search_as_you_type" } } ], "specLocation": "_types/mapping/core.ts#L198-L208" }, { "description": "The `shape` data type facilitates the indexing of and searching with arbitrary `x, y` cartesian shapes such as\nrectangles and polygons.", "docId": "shape", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/shape.html", "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "ShapeProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "coerce", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "ignore_malformed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "ignore_z_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "orientation", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoOrientation", "namespace": "_types.mapping" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "shape" } } ], "specLocation": "_types/mapping/geo.ts#L73-L85" }, { "inherits": { "type": { "name": "NumberPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "ShortNumberProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "short" } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "short", "namespace": "_types" } } } ], "specLocation": "_types/mapping/core.ts#L159-L162" }, { "kind": "interface", "name": { "name": "SizeField", "namespace": "_types.mapping" }, "properties": [ { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/mapping/meta-fields.ts#L54-L56" }, { "kind": "interface", "name": { "name": "SourceField", "namespace": "_types.mapping" }, "properties": [ { "name": "compress", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "compress_threshold", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "enabled", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "excludes", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "includes", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "mode", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceFieldMode", "namespace": "_types.mapping" } } } ], "specLocation": "_types/mapping/meta-fields.ts#L58-L65" }, { "kind": "enum", "members": [ { "name": "disabled" }, { "name": "stored" }, { "description": "Instead of storing source documents on disk exactly as you send them,\n Elasticsearch can reconstruct source content on the fly upon retrieval.", "name": "synthetic" } ], "name": { "name": "SourceFieldMode", "namespace": "_types.mapping" }, "specLocation": "_types/mapping/meta-fields.ts#L67-L75" }, { "inherits": { "type": { "name": "PropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "SparseVectorProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "sparse_vector" } } ], "specLocation": "_types/mapping/core.ts#L194-L196" }, { "kind": "interface", "name": { "name": "SuggestContext", "namespace": "_types.mapping" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "path", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "precision", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } } ], "specLocation": "_types/mapping/specialized.ts#L37-L42" }, { "kind": "enum", "members": [ { "name": "no" }, { "name": "yes" }, { "name": "with_offsets" }, { "name": "with_positions" }, { "name": "with_positions_offsets" }, { "name": "with_positions_offsets_payloads" }, { "name": "with_positions_payloads" } ], "name": { "name": "TermVectorOption", "namespace": "_types.mapping" }, "specLocation": "_types/mapping/TermVectorOption.ts#L20-L28" }, { "kind": "interface", "name": { "name": "TextIndexPrefixes", "namespace": "_types.mapping" }, "properties": [ { "name": "max_chars", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "min_chars", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/mapping/core.ts#L250-L253" }, { "inherits": { "type": { "name": "CorePropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "TextProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "boost", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "eager_global_ordinals", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "fielddata", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "fielddata_frequency_filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "FielddataFrequencyFilter", "namespace": "indices._types" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index_options", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexOptions", "namespace": "_types.mapping" } } }, { "name": "index_phrases", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index_prefixes", "required": false, "type": { "kind": "instance_of", "type": { "name": "TextIndexPrefixes", "namespace": "_types.mapping" } } }, { "name": "norms", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "position_increment_gap", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "search_analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "search_quote_analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "term_vector", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermVectorOption", "namespace": "_types.mapping" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "text" } } ], "specLocation": "_types/mapping/core.ts#L255-L271" }, { "kind": "enum", "members": [ { "name": "gauge" }, { "name": "counter" }, { "name": "summary" }, { "name": "histogram" }, { "name": "position" } ], "name": { "name": "TimeSeriesMetricType", "namespace": "_types.mapping" }, "specLocation": "_types/mapping/TimeSeriesMetricType.ts#L20-L26" }, { "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "TokenCountProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "boost", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "enable_position_increments", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "token_count" } } ], "specLocation": "_types/mapping/specialized.ts#L79-L86" }, { "kind": "interface", "name": { "name": "TypeMapping", "namespace": "_types.mapping" }, "properties": [ { "name": "all_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "AllField", "namespace": "_types.mapping" } } }, { "name": "date_detection", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "dynamic", "required": false, "type": { "kind": "instance_of", "type": { "name": "DynamicMapping", "namespace": "_types.mapping" } } }, { "name": "dynamic_date_formats", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "dynamic_templates", "required": false, "type": { "kind": "array_of", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "DynamicTemplate", "namespace": "_types.mapping" } } } } }, { "name": "_field_names", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldNamesField", "namespace": "_types.mapping" } } }, { "name": "index_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexField", "namespace": "_types.mapping" } } }, { "docId": "mapping-meta-field", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-meta-field.html", "name": "_meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "name": "numeric_detection", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "properties", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "PropertyName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Property", "namespace": "_types.mapping" } } } }, { "name": "_routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "RoutingField", "namespace": "_types.mapping" } } }, { "name": "_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "SizeField", "namespace": "_types.mapping" } } }, { "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceField", "namespace": "_types.mapping" } } }, { "name": "runtime", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "RuntimeField", "namespace": "_types.mapping" } } } }, { "name": "enabled", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "subobjects", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.16.0" } }, "name": "_data_stream_timestamp", "required": false, "since": "7.16.0", "type": { "kind": "instance_of", "type": { "name": "DataStreamTimestamp", "namespace": "_types.mapping" } } } ], "specLocation": "_types/mapping/TypeMapping.ts#L34-L57" }, { "inherits": { "type": { "name": "NumberPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "UnsignedLongNumberProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "unsigned_long" } }, { "name": "null_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "ulong", "namespace": "_types" } } } ], "specLocation": "_types/mapping/core.ts#L169-L172" }, { "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "VersionProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "version" } } ], "specLocation": "_types/mapping/core.ts#L273-L275" }, { "inherits": { "type": { "name": "DocValuesPropertyBase", "namespace": "_types.mapping" } }, "kind": "interface", "name": { "name": "WildcardProperty", "namespace": "_types.mapping" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "wildcard" } }, { "availability": { "serverless": {}, "stack": { "since": "7.15.0" } }, "name": "null_value", "required": false, "since": "7.15.0", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/mapping/core.ts#L277-L284" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "BoolQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "The clause (query) must appear in matching documents.\nHowever, unlike `must`, the score of the query will be ignored.", "name": "filter", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ], "kind": "union_of" } }, { "description": "Specifies the number or percentage of `should` clauses returned documents must match.", "docId": "query-dsl-minimum-should-match", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-minimum-should-match.html", "name": "minimum_should_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "MinimumShouldMatch", "namespace": "_types" } } }, { "description": "The clause (query) must appear in matching documents and will contribute to the score.", "name": "must", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ], "kind": "union_of" } }, { "description": "The clause (query) must not appear in the matching documents.\nBecause scoring is ignored, a score of `0` is returned for all documents.", "name": "must_not", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ], "kind": "union_of" } }, { "description": "The clause (query) should appear in the matching document.", "name": "should", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ], "kind": "union_of" } } ], "specLocation": "_types/query_dsl/compound.ts#L28-L52" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "BoostingQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Floating point number between 0 and 1.0 used to decrease the relevance scores of documents matching the `negative` query.", "name": "negative_boost", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Query used to decrease the relevance score of matching documents.", "name": "negative", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Any returned documents must match this query.", "name": "positive", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/compound.ts#L54-L67" }, { "kind": "enum", "members": [ { "name": "none" }, { "name": "avg" }, { "name": "sum" }, { "name": "max" }, { "name": "min" } ], "name": { "name": "ChildScoreMode", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/joining.ts#L25-L39" }, { "kind": "enum", "members": [ { "name": "or" }, { "name": "and" } ], "name": { "name": "CombinedFieldsOperator", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/abstractions.ts#L489-L492" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "CombinedFieldsQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "List of fields to search. Field wildcard patterns are allowed. Only `text` fields are supported, and they must all have the same search `analyzer`.", "name": "fields", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } }, { "description": "Text to search for in the provided `fields`.\nThe `combined_fields` query analyzes the provided text before performing a search.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If true, match phrase queries are automatically created for multi-term synonyms.", "name": "auto_generate_synonyms_phrase_query", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Boolean logic used to interpret text in the query value.", "name": "operator", "required": false, "serverDefault": "or", "type": { "kind": "instance_of", "type": { "name": "CombinedFieldsOperator", "namespace": "_types.query_dsl" } } }, { "description": "Minimum number of clauses that must match for a document to be returned.", "docId": "query-dsl-minimum-should-match", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-minimum-should-match.html", "name": "minimum_should_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "MinimumShouldMatch", "namespace": "_types" } } }, { "description": "Indicates whether no documents are returned if the analyzer removes all tokens, such as when using a `stop` filter.", "name": "zero_terms_query", "required": false, "serverDefault": "none", "type": { "kind": "instance_of", "type": { "name": "CombinedFieldsZeroTerms", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/abstractions.ts#L445-L479" }, { "kind": "enum", "members": [ { "description": "No documents are returned if the analyzer removes all tokens.", "name": "none" }, { "description": "Returns all documents, similar to a `match_all` query.", "name": "all" } ], "name": { "name": "CombinedFieldsZeroTerms", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/abstractions.ts#L494-L503" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "CommonTermsQuery", "namespace": "_types.query_dsl" }, "properties": [ { "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "cutoff_frequency", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "high_freq_operator", "required": false, "type": { "kind": "instance_of", "type": { "name": "Operator", "namespace": "_types.query_dsl" } } }, { "name": "low_freq_operator", "required": false, "type": { "kind": "instance_of", "type": { "name": "Operator", "namespace": "_types.query_dsl" } } }, { "name": "minimum_should_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "MinimumShouldMatch", "namespace": "_types" } } }, { "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "shortcutProperty": "query", "specLocation": "_types/query_dsl/fulltext.ts#L34-L44" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "ConstantScoreQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Filter query you wish to run. Any returned documents must match this query.\nFilter queries do not calculate relevance scores.\nTo speed up performance, Elasticsearch automatically caches frequently used filter queries.", "name": "filter", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/compound.ts#L69-L76" }, { "attachedBehaviors": [ "AdditionalProperty" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, { "generics": [ { "kind": "instance_of", "type": { "name": "DateMath", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DecayPlacement", "namespace": "_types.query_dsl" } } ], "type": { "name": "AdditionalProperty", "namespace": "_spec_utils" } } ], "inherits": { "type": { "name": "DecayFunctionBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "DateDecayFunction", "namespace": "_types.query_dsl" }, "properties": [], "specLocation": "_types/query_dsl/compound.ts#L186-L188" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "DateMath", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } ], "type": { "name": "DistanceFeatureQueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "DateDistanceFeatureQuery", "namespace": "_types.query_dsl" }, "properties": [], "specLocation": "_types/query_dsl/specialized.ts#L67-L70" }, { "inherits": { "type": { "name": "RangeQueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "DateRangeQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Greater than.", "name": "gt", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateMath", "namespace": "_types" } } }, { "description": "Greater than or equal to.", "name": "gte", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateMath", "namespace": "_types" } } }, { "description": "Less than.", "name": "lt", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateMath", "namespace": "_types" } } }, { "description": "Less than or equal to.", "name": "lte", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateMath", "namespace": "_types" } } }, { "name": "from", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "DateMath", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "to", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "DateMath", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "Date format used to convert `date` values in the query.", "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateFormat", "namespace": "_types" } } }, { "description": "Coordinated Universal Time (UTC) offset or IANA time zone used to convert `date` values in the query to UTC.", "name": "time_zone", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeZone", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/term.ts#L116-L143" }, { "codegenNames": [ "date", "numeric", "geo" ], "kind": "type_alias", "name": { "name": "DecayFunction", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/compound.ts#L194-L199", "type": { "items": [ { "kind": "instance_of", "type": { "name": "DateDecayFunction", "namespace": "_types.query_dsl" } }, { "kind": "instance_of", "type": { "name": "NumericDecayFunction", "namespace": "_types.query_dsl" } }, { "kind": "instance_of", "type": { "name": "GeoDecayFunction", "namespace": "_types.query_dsl" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "DecayFunctionBase", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Determines how the distance is calculated when a field used for computing the decay contains multiple values.", "name": "multi_value_mode", "required": false, "serverDefault": "min", "type": { "kind": "instance_of", "type": { "name": "MultiValueMode", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/compound.ts#L174-L180" }, { "generics": [ { "name": "TOrigin", "namespace": "_types.query_dsl" }, { "name": "TScale", "namespace": "_types.query_dsl" } ], "kind": "interface", "name": { "name": "DecayPlacement", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Defines how documents are scored at the distance given at scale.", "name": "decay", "required": false, "serverDefault": 0.5, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "If defined, the decay function will only compute the decay function for documents with a distance greater than the defined `offset`.", "name": "offset", "required": false, "serverDefault": "0", "type": { "kind": "instance_of", "type": { "name": "TScale", "namespace": "_types.query_dsl" } } }, { "description": "Defines the distance from origin + offset at which the computed score will equal `decay` parameter.", "name": "scale", "required": false, "type": { "kind": "instance_of", "type": { "name": "TScale", "namespace": "_types.query_dsl" } } }, { "description": "The point of origin used for calculating distance. Must be given as a number for numeric field, date for date fields and geo point for geo fields.", "name": "origin", "required": false, "type": { "kind": "instance_of", "type": { "name": "TOrigin", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/compound.ts#L153-L172" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "DisMaxQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "One or more query clauses.\nReturned documents must match one or more of these queries.\nIf a document matches multiple queries, Elasticsearch uses the highest relevance score.", "name": "queries", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } }, { "description": "Floating point number between 0 and 1.0 used to increase the relevance scores of documents matching multiple query clauses.", "name": "tie_breaker", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/compound.ts#L78-L90" }, { "codegenNames": [ "geo", "date" ], "kind": "type_alias", "name": { "name": "DistanceFeatureQuery", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/specialized.ts#L72-L76", "type": { "items": [ { "kind": "instance_of", "type": { "name": "GeoDistanceFeatureQuery", "namespace": "_types.query_dsl" } }, { "kind": "instance_of", "type": { "name": "DateDistanceFeatureQuery", "namespace": "_types.query_dsl" } } ], "kind": "union_of" } }, { "generics": [ { "name": "TOrigin", "namespace": "_types.query_dsl" }, { "name": "TDistance", "namespace": "_types.query_dsl" } ], "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "DistanceFeatureQueryBase", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Date or point of origin used to calculate distances.\nIf the `field` value is a `date` or `date_nanos` field, the `origin` value must be a date.\nDate Math, such as `now-1h`, is supported.\nIf the field value is a `geo_point` field, the `origin` value must be a geopoint.", "name": "origin", "required": true, "type": { "kind": "instance_of", "type": { "name": "TOrigin", "namespace": "_types.query_dsl" } } }, { "description": "Distance from the `origin` at which relevance scores receive half of the `boost` value.\nIf the `field` value is a `date` or `date_nanos` field, the `pivot` value must be a time unit, such as `1h` or `10d`. If the `field` value is a `geo_point` field, the `pivot` value must be a distance unit, such as `1km` or `12m`.", "name": "pivot", "required": true, "type": { "kind": "instance_of", "type": { "name": "TDistance", "namespace": "_types.query_dsl" } } }, { "description": "Name of the field used to calculate distances. This field must meet the following criteria:\nbe a `date`, `date_nanos` or `geo_point` field;\nhave an `index` mapping parameter value of `true`, which is the default;\nhave an `doc_values` mapping parameter value of `true`, which is the default.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/specialized.ts#L40-L60" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "ExistsQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Name of the field you wish to search.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/term.ts#L36-L41" }, { "description": "A reference to a field with formatting instructions on how to return the value", "kind": "interface", "name": { "name": "FieldAndFormat", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Wildcard pattern. The request returns values for field names matching this pattern.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Format in which the values are returned.", "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "include_unmapped", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "shortcutProperty": "field", "specLocation": "_types/query_dsl/abstractions.ts#L505-L519" }, { "kind": "interface", "name": { "name": "FieldLookup", "namespace": "_types.query_dsl" }, "properties": [ { "description": "`id` of the document.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Index from which to retrieve the document.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Name of the field.", "name": "path", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Custom routing value.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/abstractions.ts#L409-L426" }, { "kind": "enum", "members": [ { "description": "Do not apply any multiplier to the field value.", "name": "none" }, { "description": "Take the common logarithm of the field value.\nBecause this function will return a negative value and cause an error if used on values between 0 and 1, it is recommended to use `log1p` instead.", "name": "log" }, { "description": "Add 1 to the field value and take the common logarithm.", "name": "log1p" }, { "description": "Add 2 to the field value and take the common logarithm.", "name": "log2p" }, { "description": "Take the natural logarithm of the field value.\nBecause this function will return a negative value and cause an error if used on values between 0 and 1, it is recommended to use `ln1p` instead.", "name": "ln" }, { "description": "Add 1 to the field value and take the natural logarithm.", "name": "ln1p" }, { "description": "Add 2 to the field value and take the natural logarithm.", "name": "ln2p" }, { "description": "Square the field value (multiply it by itself).", "name": "square" }, { "description": "Take the square root of the field value.", "name": "sqrt" }, { "description": "Reciprocate the field value, same as `1/x` where `x` is the field’s value.", "name": "reciprocal" } ], "name": { "name": "FieldValueFactorModifier", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/compound.ts#L298-L341" }, { "kind": "interface", "name": { "name": "FieldValueFactorScoreFunction", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Field to be extracted from the document.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Optional factor to multiply the field value with.", "name": "factor", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Value used if the document doesn’t have that field.\nThe modifier and factor are still applied to it as though it were read from the document.", "name": "missing", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Modifier to apply to the field value.", "name": "modifier", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldValueFactorModifier", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/compound.ts#L132-L151" }, { "kind": "enum", "members": [ { "description": "Query score and function score are multiplied", "name": "multiply" }, { "description": "Only the function score is used.\nThe query score is ignored.", "name": "replace" }, { "description": "Query score and function score are added", "name": "sum" }, { "description": "Query score and function score are averaged", "name": "avg" }, { "description": "Max of query score and function score", "name": "max" }, { "description": "Min of query score and function score", "name": "min" } ], "name": { "name": "FunctionBoostMode", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/compound.ts#L270-L296" }, { "esQuirk": "this container is valid without a variant. Despite being documented as a function, 'weight'\nis actually a container property that can be combined with a function. Comment in the ES code\n(SearchModule#registerScoreFunctions) says: Weight doesn't have its own parser, so every function\nsupports it out of the box. Can be a single function too when not associated to any other function,\nwhich is why it needs to be registered manually here.", "kind": "interface", "name": { "name": "FunctionScoreContainer", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Function that scores a document with a exponential decay, depending on the distance of a numeric field value of the document from an origin.", "name": "exp", "required": false, "type": { "kind": "instance_of", "type": { "name": "DecayFunction", "namespace": "_types.query_dsl" } } }, { "description": "Function that scores a document with a normal decay, depending on the distance of a numeric field value of the document from an origin.", "name": "gauss", "required": false, "type": { "kind": "instance_of", "type": { "name": "DecayFunction", "namespace": "_types.query_dsl" } } }, { "description": "Function that scores a document with a linear decay, depending on the distance of a numeric field value of the document from an origin.", "name": "linear", "required": false, "type": { "kind": "instance_of", "type": { "name": "DecayFunction", "namespace": "_types.query_dsl" } } }, { "description": "Function allows you to use a field from a document to influence the score.\nIt’s similar to using the script_score function, however, it avoids the overhead of scripting.", "name": "field_value_factor", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldValueFactorScoreFunction", "namespace": "_types.query_dsl" } } }, { "description": "Generates scores that are uniformly distributed from 0 up to but not including 1.\nIn case you want scores to be reproducible, it is possible to provide a `seed` and `field`.", "name": "random_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "RandomScoreFunction", "namespace": "_types.query_dsl" } } }, { "description": "Enables you to wrap another query and customize the scoring of it optionally with a computation derived from other numeric field values in the doc using a script expression.", "name": "script_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScriptScoreFunction", "namespace": "_types.query_dsl" } } }, { "containerProperty": true, "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "containerProperty": true, "name": "weight", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/compound.ts#L201-L241", "variants": { "kind": "container" } }, { "kind": "enum", "members": [ { "description": "Scores are multiplied.", "name": "multiply" }, { "description": "Scores are summed.", "name": "sum" }, { "description": "Scores are averaged.", "name": "avg" }, { "description": "The first function that has a matching filter is applied.", "name": "first" }, { "description": "Maximum score is used.", "name": "max" }, { "description": "Minimum score is used.", "name": "min" } ], "name": { "name": "FunctionScoreMode", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/compound.ts#L243-L268" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "FunctionScoreQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Defines how he newly computed score is combined with the score of the query", "name": "boost_mode", "required": false, "serverDefault": "multiply", "type": { "kind": "instance_of", "type": { "name": "FunctionBoostMode", "namespace": "_types.query_dsl" } } }, { "description": "One or more functions that compute a new score for each document returned by the query.", "name": "functions", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FunctionScoreContainer", "namespace": "_types.query_dsl" } } } }, { "description": "Restricts the new score to not exceed the provided limit.", "name": "max_boost", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Excludes documents that do not meet the provided score threshold.", "name": "min_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "A query that determines the documents for which a new score is computed.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Specifies how the computed scores are combined", "name": "score_mode", "required": false, "serverDefault": "multiply", "type": { "kind": "instance_of", "type": { "name": "FunctionScoreMode", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/compound.ts#L92-L118" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "FuzzyQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Maximum number of variations created.", "name": "max_expansions", "required": false, "serverDefault": 50, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Number of beginning characters left unchanged when creating expansions.", "name": "prefix_length", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Number of beginning characters left unchanged when creating expansions.", "docId": "query-dsl-multi-term-rewrite", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-multi-term-rewrite.html", "name": "rewrite", "required": false, "serverDefault": "constant_score", "type": { "kind": "instance_of", "type": { "name": "MultiTermQueryRewrite", "namespace": "_types" } } }, { "description": "Indicates whether edits include transpositions of two adjacent characters (for example `ab` to `ba`).", "name": "transpositions", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Maximum edit distance allowed for matching.", "docId": "fuzziness", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/common-options.html#fuzziness", "name": "fuzziness", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fuzziness", "namespace": "_types" } } }, { "description": "Term you wish to find in the provided field.", "name": "value", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "union_of" } } ], "shortcutProperty": "value", "specLocation": "_types/query_dsl/term.ts#L43-L78" }, { "attachedBehaviors": [ "AdditionalProperty" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "GeoBounds", "namespace": "_types" } } ], "type": { "name": "AdditionalProperty", "namespace": "_spec_utils" } } ], "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "GeoBoundingBoxQuery", "namespace": "_types.query_dsl" }, "properties": [ { "deprecation": { "description": "", "version": "7.14.0" }, "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoExecution", "namespace": "_types.query_dsl" } } }, { "description": "Set to `IGNORE_MALFORMED` to accept geo points with invalid latitude or longitude.\nSet to `COERCE` to also try to infer correct latitude or longitude.", "name": "validation_method", "required": false, "serverDefault": "'strict'", "type": { "kind": "instance_of", "type": { "name": "GeoValidationMethod", "namespace": "_types.query_dsl" } } }, { "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", "name": "ignore_unmapped", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/query_dsl/geo.ts#L32-L50" }, { "attachedBehaviors": [ "AdditionalProperty" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, { "generics": [ { "kind": "instance_of", "type": { "name": "GeoLocation", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "Distance", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DecayPlacement", "namespace": "_types.query_dsl" } } ], "type": { "name": "AdditionalProperty", "namespace": "_spec_utils" } } ], "inherits": { "type": { "name": "DecayFunctionBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "GeoDecayFunction", "namespace": "_types.query_dsl" }, "properties": [], "specLocation": "_types/query_dsl/compound.ts#L190-L192" }, { "inherits": { "generics": [ { "kind": "instance_of", "type": { "name": "GeoLocation", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "Distance", "namespace": "_types" } } ], "type": { "name": "DistanceFeatureQueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "GeoDistanceFeatureQuery", "namespace": "_types.query_dsl" }, "properties": [], "specLocation": "_types/query_dsl/specialized.ts#L62-L65" }, { "attachedBehaviors": [ "AdditionalProperty" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "GeoLocation", "namespace": "_types" } } ], "type": { "name": "AdditionalProperty", "namespace": "_spec_utils" } } ], "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "GeoDistanceQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "The radius of the circle centred on the specified location.\nPoints which fall into this circle are considered to be matches.", "docId": "distance-units", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/api-conventions.html#distance-units", "name": "distance", "required": true, "type": { "kind": "instance_of", "type": { "name": "Distance", "namespace": "_types" } } }, { "description": "How to compute the distance.\nSet to `plane` for a faster calculation that's inaccurate on long distances and close to the poles.", "name": "distance_type", "required": false, "serverDefault": "'arc'", "type": { "kind": "instance_of", "type": { "name": "GeoDistanceType", "namespace": "_types" } } }, { "description": "Set to `IGNORE_MALFORMED` to accept geo points with invalid latitude or longitude.\nSet to `COERCE` to also try to infer correct latitude or longitude.", "name": "validation_method", "required": false, "serverDefault": "'strict'", "type": { "kind": "instance_of", "type": { "name": "GeoValidationMethod", "namespace": "_types.query_dsl" } } }, { "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", "name": "ignore_unmapped", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/query_dsl/geo.ts#L57-L85" }, { "kind": "enum", "members": [ { "name": "memory" }, { "name": "indexed" } ], "name": { "name": "GeoExecution", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/geo.ts#L52-L55" }, { "kind": "interface", "name": { "name": "GeoPolygonPoints", "namespace": "_types.query_dsl" }, "properties": [ { "name": "points", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "GeoLocation", "namespace": "_types" } } } } ], "specLocation": "_types/query_dsl/geo.ts#L87-L89" }, { "attachedBehaviors": [ "AdditionalProperty" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "GeoPolygonPoints", "namespace": "_types.query_dsl" } } ], "type": { "name": "AdditionalProperty", "namespace": "_spec_utils" } } ], "deprecation": { "description": "Use geo-shape instead.", "version": "7.12.0" }, "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "GeoPolygonQuery", "namespace": "_types.query_dsl" }, "properties": [ { "name": "validation_method", "required": false, "serverDefault": "'strict'", "type": { "kind": "instance_of", "type": { "name": "GeoValidationMethod", "namespace": "_types.query_dsl" } } }, { "name": "ignore_unmapped", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/query_dsl/geo.ts#L91-L99" }, { "kind": "interface", "name": { "name": "GeoShapeFieldQuery", "namespace": "_types.query_dsl" }, "properties": [ { "name": "shape", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoShape", "namespace": "_types" } } }, { "description": "Query using an indexed shape retrieved from the the specified document and path.", "name": "indexed_shape", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldLookup", "namespace": "_types.query_dsl" } } }, { "description": "Spatial relation operator used to search a geo field.", "name": "relation", "required": false, "serverDefault": "intersects", "type": { "kind": "instance_of", "type": { "name": "GeoShapeRelation", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/geo.ts#L106-L117" }, { "attachedBehaviors": [ "AdditionalProperty" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "GeoShapeFieldQuery", "namespace": "_types.query_dsl" } } ], "type": { "name": "AdditionalProperty", "namespace": "_spec_utils" } } ], "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "GeoShapeQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Set to `true` to ignore an unmapped field and not match any documents for this query.\nSet to `false` to throw an exception if the field is not mapped.", "name": "ignore_unmapped", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/query_dsl/geo.ts#L121-L131" }, { "kind": "enum", "members": [ { "description": "Accept geo points with invalid latitude or longitude and additionally try and infer correct coordinates.", "name": "coerce" }, { "description": "Accept geo points with invalid latitude or longitude.", "name": "ignore_malformed" }, { "name": "strict" } ], "name": { "name": "GeoValidationMethod", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/geo.ts#L147-L157" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "HasChildQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.", "name": "ignore_unmapped", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If defined, each search hit will contain inner hits.", "docId": "inner-hits", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/inner-hits.html", "name": "inner_hits", "required": false, "type": { "kind": "instance_of", "type": { "name": "InnerHits", "namespace": "_global.search._types" } } }, { "description": "Maximum number of child documents that match the query allowed for a returned parent document.\nIf the parent document exceeds this limit, it is excluded from the search results.", "name": "max_children", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Minimum number of child documents that match the query required to match the query for a returned parent document.\nIf the parent document does not meet this limit, it is excluded from the search results.", "name": "min_children", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Query you wish to run on child documents of the `type` field.\nIf a child document matches the search, the query returns the parent document.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Indicates how scores for matching child documents affect the root parent document’s relevance score.", "name": "score_mode", "required": false, "serverDefault": "'none'", "type": { "kind": "instance_of", "type": { "name": "ChildScoreMode", "namespace": "_types.query_dsl" } } }, { "description": "Name of the child relationship mapped for the `join` field.", "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "RelationName", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/joining.ts#L41-L76" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "HasParentQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Indicates whether to ignore an unmapped `parent_type` and not return any documents instead of an error.\nYou can use this parameter to query multiple indices that may not contain the `parent_type`.", "name": "ignore_unmapped", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If defined, each search hit will contain inner hits.", "docId": "inner-hits", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/inner-hits.html", "name": "inner_hits", "required": false, "type": { "kind": "instance_of", "type": { "name": "InnerHits", "namespace": "_global.search._types" } } }, { "description": "Name of the parent relationship mapped for the `join` field.", "name": "parent_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "RelationName", "namespace": "_types" } } }, { "description": "Query you wish to run on parent documents of the `parent_type` field.\nIf a parent document matches the search, the query returns its child documents.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Indicates whether the relevance score of a matching parent document is aggregated into its child documents.", "name": "score", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/query_dsl/joining.ts#L78-L104" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "IdsQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "An array of document IDs.", "name": "values", "required": false, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/term.ts#L80-L85" }, { "kind": "interface", "name": { "name": "IntervalsAllOf", "namespace": "_types.query_dsl" }, "properties": [ { "description": "An array of rules to combine. All rules must produce a match in a document for the overall source to match.", "name": "intervals", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IntervalsContainer", "namespace": "_types.query_dsl" } } } }, { "description": "Maximum number of positions between the matching terms.\nIntervals produced by the rules further apart than this are not considered matches.", "name": "max_gaps", "required": false, "serverDefault": -1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "If `true`, intervals produced by the rules should appear in the order in which they are specified.", "name": "ordered", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Rule used to filter returned intervals.", "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsFilter", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/fulltext.ts#L50-L70" }, { "kind": "interface", "name": { "name": "IntervalsAnyOf", "namespace": "_types.query_dsl" }, "properties": [ { "description": "An array of rules to match.", "name": "intervals", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IntervalsContainer", "namespace": "_types.query_dsl" } } } }, { "description": "Rule used to filter returned intervals.", "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsFilter", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/fulltext.ts#L72-L81" }, { "kind": "interface", "name": { "name": "IntervalsContainer", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Returns matches that span a combination of other rules.", "name": "all_of", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsAllOf", "namespace": "_types.query_dsl" } } }, { "description": "Returns intervals produced by any of its sub-rules.", "name": "any_of", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsAnyOf", "namespace": "_types.query_dsl" } } }, { "description": "Matches analyzed text.", "name": "fuzzy", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsFuzzy", "namespace": "_types.query_dsl" } } }, { "description": "Matches analyzed text.", "name": "match", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsMatch", "namespace": "_types.query_dsl" } } }, { "description": "Matches terms that start with a specified set of characters.", "name": "prefix", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsPrefix", "namespace": "_types.query_dsl" } } }, { "description": "Matches terms using a wildcard pattern.", "name": "wildcard", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsWildcard", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/fulltext.ts#L83-L110", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "IntervalsFilter", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Query used to return intervals that follow an interval from the `filter` rule.", "name": "after", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsContainer", "namespace": "_types.query_dsl" } } }, { "description": "Query used to return intervals that occur before an interval from the `filter` rule.", "name": "before", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsContainer", "namespace": "_types.query_dsl" } } }, { "description": "Query used to return intervals contained by an interval from the `filter` rule.", "name": "contained_by", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsContainer", "namespace": "_types.query_dsl" } } }, { "description": "Query used to return intervals that contain an interval from the `filter` rule.", "name": "containing", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsContainer", "namespace": "_types.query_dsl" } } }, { "description": "Query used to return intervals that are **not** contained by an interval from the `filter` rule.", "name": "not_contained_by", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsContainer", "namespace": "_types.query_dsl" } } }, { "description": "Query used to return intervals that do **not** contain an interval from the `filter` rule.", "name": "not_containing", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsContainer", "namespace": "_types.query_dsl" } } }, { "description": "Query used to return intervals that do **not** overlap with an interval from the `filter` rule.", "name": "not_overlapping", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsContainer", "namespace": "_types.query_dsl" } } }, { "description": "Query used to return intervals that overlap with an interval from the `filter` rule.", "name": "overlapping", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsContainer", "namespace": "_types.query_dsl" } } }, { "description": "Script used to return matching documents.\nThis script must return a boolean value: `true` or `false`.", "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/fulltext.ts#L112-L152", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "IntervalsFuzzy", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Analyzer used to normalize the term.", "docId": "analysis", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Maximum edit distance allowed for matching.", "name": "fuzziness", "required": false, "serverDefault": "auto", "type": { "kind": "instance_of", "type": { "name": "Fuzziness", "namespace": "_types" } } }, { "description": "Number of beginning characters left unchanged when creating expansions.", "name": "prefix_length", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The term to match.", "name": "term", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Indicates whether edits include transpositions of two adjacent characters (for example, `ab` to `ba`).", "name": "transpositions", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If specified, match intervals from this field rather than the top-level field.\nThe `term` is normalized using the search analyzer from this field, unless `analyzer` is specified separately.", "name": "use_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/fulltext.ts#L154-L184" }, { "kind": "interface", "name": { "name": "IntervalsMatch", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Analyzer used to analyze terms in the query.", "docId": "analysis", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Maximum number of positions between the matching terms.\nTerms further apart than this are not considered matches.", "name": "max_gaps", "required": false, "serverDefault": -1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "If `true`, matching terms must appear in their specified order.", "name": "ordered", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Text you wish to find in the provided field.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If specified, match intervals from this field rather than the top-level field.\nThe `term` is normalized using the search analyzer from this field, unless `analyzer` is specified separately.", "name": "use_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "An optional interval filter.", "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsFilter", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/fulltext.ts#L186-L216" }, { "kind": "interface", "name": { "name": "IntervalsPrefix", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Analyzer used to analyze the `prefix`.", "docId": "analysis", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Beginning characters of terms you wish to find in the top-level field.", "name": "prefix", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If specified, match intervals from this field rather than the top-level field.\nThe `prefix` is normalized using the search analyzer from this field, unless `analyzer` is specified separately.", "name": "use_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/fulltext.ts#L218-L233" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "IntervalsQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Returns matches that span a combination of other rules.", "name": "all_of", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsAllOf", "namespace": "_types.query_dsl" } } }, { "description": "Returns intervals produced by any of its sub-rules.", "name": "any_of", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsAnyOf", "namespace": "_types.query_dsl" } } }, { "description": "Matches terms that are similar to the provided term, within an edit distance defined by `fuzziness`.", "docId": "fuzziness", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/common-options.html#fuzziness", "name": "fuzzy", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsFuzzy", "namespace": "_types.query_dsl" } } }, { "description": "Matches analyzed text.", "name": "match", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsMatch", "namespace": "_types.query_dsl" } } }, { "description": "Matches terms that start with a specified set of characters.", "name": "prefix", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsPrefix", "namespace": "_types.query_dsl" } } }, { "description": "Matches terms using a wildcard pattern.", "name": "wildcard", "required": false, "type": { "kind": "instance_of", "type": { "name": "IntervalsWildcard", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/fulltext.ts#L235-L263", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "IntervalsWildcard", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Analyzer used to analyze the `pattern`.\nDefaults to the top-level field's analyzer.", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Wildcard pattern used to find matching terms.", "name": "pattern", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If specified, match intervals from this field rather than the top-level field.\nThe `pattern` is normalized using the search analyzer from this field, unless `analyzer` is specified separately.", "name": "use_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/fulltext.ts#L265-L280" }, { "codegenNames": [ "text", "document" ], "description": "Text that we want similar documents for or a lookup to a document's field for the text.", "docId": "document-input-parameters", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-mlt-query.html#_document_input_parameters", "kind": "type_alias", "name": { "name": "Like", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/specialized.ts#L186-L191", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "LikeDocument", "namespace": "_types.query_dsl" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "LikeDocument", "namespace": "_types.query_dsl" }, "properties": [ { "description": "A document not present in the index.", "name": "doc", "required": false, "type": { "kind": "user_defined_value" } }, { "name": "fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } }, { "description": "ID of a document.", "name": "_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Index of a document.", "name": "_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Overrides the default analyzer.", "name": "per_field_analyzer", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "version_type", "required": false, "serverDefault": "'internal'", "type": { "kind": "instance_of", "type": { "name": "VersionType", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/specialized.ts#L162-L184" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "MatchAllQuery", "namespace": "_types.query_dsl" }, "properties": [], "specLocation": "_types/query_dsl/MatchAllQuery.ts#L22-L22" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "MatchBoolPrefixQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Analyzer used to convert the text in the query value into tokens.", "docId": "analysis", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Maximum edit distance allowed for matching.\nCan be applied to the term subqueries constructed for all terms but the final term.", "docId": "fuzziness", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/common-options.html#fuzziness", "name": "fuzziness", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fuzziness", "namespace": "_types" } } }, { "description": "Method used to rewrite the query.\nCan be applied to the term subqueries constructed for all terms but the final term.", "docId": "query-dsl-multi-term-rewrite", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-multi-term-rewrite.html", "name": "fuzzy_rewrite", "required": false, "type": { "kind": "instance_of", "type": { "name": "MultiTermQueryRewrite", "namespace": "_types" } } }, { "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).\nCan be applied to the term subqueries constructed for all terms but the final term.", "name": "fuzzy_transpositions", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Maximum number of terms to which the query will expand.\nCan be applied to the term subqueries constructed for all terms but the final term.", "name": "max_expansions", "required": false, "serverDefault": 50, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Minimum number of clauses that must match for a document to be returned.\nApplied to the constructed bool query.", "docId": "query-dsl-minimum-should-match", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-minimum-should-match.html", "name": "minimum_should_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "MinimumShouldMatch", "namespace": "_types" } } }, { "description": "Boolean logic used to interpret text in the query value.\nApplied to the constructed bool query.", "name": "operator", "required": false, "serverDefault": "'or'", "type": { "kind": "instance_of", "type": { "name": "Operator", "namespace": "_types.query_dsl" } } }, { "description": "Number of beginning characters left unchanged for fuzzy matching.\nCan be applied to the term subqueries constructed for all terms but the final term.", "name": "prefix_length", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Terms you wish to find in the provided field.\nThe last term is used in a prefix query.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "shortcutProperty": "query", "specLocation": "_types/query_dsl/fulltext.ts#L349-L403" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "MatchNoneQuery", "namespace": "_types.query_dsl" }, "properties": [], "specLocation": "_types/query_dsl/MatchNoneQuery.ts#L22-L22" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "MatchPhrasePrefixQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Analyzer used to convert text in the query value into tokens.", "docId": "analysis", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Maximum number of terms to which the last provided term of the query value will expand.", "name": "max_expansions", "required": false, "serverDefault": 50, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Text you wish to find in the provided field.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Maximum number of positions allowed between matching tokens.", "name": "slop", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Indicates whether no documents are returned if the analyzer removes all tokens, such as when using a `stop` filter.", "name": "zero_terms_query", "required": false, "serverDefault": "none", "type": { "kind": "instance_of", "type": { "name": "ZeroTermsQuery", "namespace": "_types.query_dsl" } } } ], "shortcutProperty": "query", "specLocation": "_types/query_dsl/fulltext.ts#L428-L454" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "MatchPhraseQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Analyzer used to convert the text in the query value into tokens.", "docId": "analysis", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Query terms that are analyzed and turned into a phrase query.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Maximum number of positions allowed between matching tokens.", "name": "slop", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Indicates whether no documents are returned if the `analyzer` removes all tokens, such as when using a `stop` filter.", "name": "zero_terms_query", "required": false, "serverDefault": "'none'", "type": { "kind": "instance_of", "type": { "name": "ZeroTermsQuery", "namespace": "_types.query_dsl" } } } ], "shortcutProperty": "query", "specLocation": "_types/query_dsl/fulltext.ts#L405-L426" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "MatchQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Analyzer used to convert the text in the query value into tokens.", "docId": "analysis", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", "name": "auto_generate_synonyms_phrase_query", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "deprecation": { "description": "", "version": "7.3.0" }, "name": "cutoff_frequency", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Maximum edit distance allowed for matching.", "docId": "fuzziness", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/common-options.html#fuzziness", "name": "fuzziness", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fuzziness", "namespace": "_types" } } }, { "description": "Method used to rewrite the query.", "docId": "query-dsl-multi-term-rewrite", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-multi-term-rewrite.html", "name": "fuzzy_rewrite", "required": false, "type": { "kind": "instance_of", "type": { "name": "MultiTermQueryRewrite", "namespace": "_types" } } }, { "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", "name": "fuzzy_transpositions", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.", "name": "lenient", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Maximum number of terms to which the query will expand.", "name": "max_expansions", "required": false, "serverDefault": 50, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Minimum number of clauses that must match for a document to be returned.", "docId": "query-dsl-minimum-should-match", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-minimum-should-match.html", "name": "minimum_should_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "MinimumShouldMatch", "namespace": "_types" } } }, { "description": "Boolean logic used to interpret text in the query value.", "name": "operator", "required": false, "serverDefault": "'or'", "type": { "kind": "instance_of", "type": { "name": "Operator", "namespace": "_types.query_dsl" } } }, { "description": "Number of beginning characters left unchanged for fuzzy matching.", "name": "prefix_length", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Text, number, boolean value or date you wish to find in the provided field.", "name": "query", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "Indicates whether no documents are returned if the `analyzer` removes all tokens, such as when using a `stop` filter.", "name": "zero_terms_query", "required": false, "serverDefault": "'none'", "type": { "kind": "instance_of", "type": { "name": "ZeroTermsQuery", "namespace": "_types.query_dsl" } } } ], "shortcutProperty": "query", "specLocation": "_types/query_dsl/fulltext.ts#L282-L347" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "MoreLikeThisQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "The analyzer that is used to analyze the free form text.\nDefaults to the analyzer associated with the first field in fields.", "docId": "analysis", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Each term in the formed query could be further boosted by their tf-idf score.\nThis sets the boost factor to use when using this feature.\nDefaults to deactivated (0).", "name": "boost_terms", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Controls whether the query should fail (throw an exception) if any of the specified fields are not of the supported types (`text` or `keyword`).", "name": "fail_on_unsupported_field", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "A list of fields to fetch and analyze the text from.\nDefaults to the `index.query.default_field` index setting, which has a default value of `*`.", "name": "fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } }, { "description": "Specifies whether the input documents should also be included in the search results returned.", "name": "include", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies free form text and/or a single or multiple documents for which you want to find similar documents.", "name": "like", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "Like", "namespace": "_types.query_dsl" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Like", "namespace": "_types.query_dsl" } } } ], "kind": "union_of" } }, { "description": "The maximum document frequency above which the terms are ignored from the input document.", "name": "max_doc_freq", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum number of query terms that can be selected.", "name": "max_query_terms", "required": false, "serverDefault": 25, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum word length above which the terms are ignored.\nDefaults to unbounded (`0`).", "name": "max_word_length", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The minimum document frequency below which the terms are ignored from the input document.", "name": "min_doc_freq", "required": false, "serverDefault": 5, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "After the disjunctive query has been formed, this parameter controls the number of terms that must match.", "docId": "query-dsl-minimum-should-match", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-minimum-should-match.html", "name": "minimum_should_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "MinimumShouldMatch", "namespace": "_types" } } }, { "description": "The minimum term frequency below which the terms are ignored from the input document.", "name": "min_term_freq", "required": false, "serverDefault": 2, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The minimum word length below which the terms are ignored.", "name": "min_word_length", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "An array of stop words.\nAny word in this set is ignored.", "name": "stop_words", "required": false, "type": { "kind": "instance_of", "type": { "name": "StopWords", "namespace": "_types.analysis" } } }, { "description": "Used in combination with `like` to exclude documents that match a set of terms.", "name": "unlike", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "Like", "namespace": "_types.query_dsl" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Like", "namespace": "_types.query_dsl" } } } ], "kind": "union_of" } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "version_type", "required": false, "serverDefault": "'internal'", "type": { "kind": "instance_of", "type": { "name": "VersionType", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/specialized.ts#L78-L160" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "MultiMatchQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Analyzer used to convert the text in the query value into tokens.", "docId": "analysis", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", "name": "auto_generate_synonyms_phrase_query", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "deprecation": { "description": "", "version": "7.3.0" }, "name": "cutoff_frequency", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "The fields to be queried.\nDefaults to the `index.query.default_field` index settings, which in turn defaults to `*`.", "name": "fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Maximum edit distance allowed for matching.", "docId": "fuzziness", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/common-options.html#fuzziness", "name": "fuzziness", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fuzziness", "namespace": "_types" } } }, { "description": "Method used to rewrite the query.", "docId": "query-dsl-multi-term-rewrite", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-multi-term-rewrite.html", "name": "fuzzy_rewrite", "required": false, "type": { "kind": "instance_of", "type": { "name": "MultiTermQueryRewrite", "namespace": "_types" } } }, { "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).\nCan be applied to the term subqueries constructed for all terms but the final term.", "name": "fuzzy_transpositions", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.", "name": "lenient", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Maximum number of terms to which the query will expand.", "name": "max_expansions", "required": false, "serverDefault": 50, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Minimum number of clauses that must match for a document to be returned.", "docId": "query-dsl-minimum-should-match", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-minimum-should-match.html", "name": "minimum_should_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "MinimumShouldMatch", "namespace": "_types" } } }, { "description": "Boolean logic used to interpret text in the query value.", "name": "operator", "required": false, "serverDefault": "'or'", "type": { "kind": "instance_of", "type": { "name": "Operator", "namespace": "_types.query_dsl" } } }, { "description": "Number of beginning characters left unchanged for fuzzy matching.", "name": "prefix_length", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Text, number, boolean value or date you wish to find in the provided field.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Maximum number of positions allowed between matching tokens.", "name": "slop", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Determines how scores for each per-term blended query and scores across groups are combined.", "name": "tie_breaker", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "How `the` multi_match query is executed internally.", "name": "type", "required": false, "serverDefault": "'best_fields'", "type": { "kind": "instance_of", "type": { "name": "TextQueryType", "namespace": "_types.query_dsl" } } }, { "description": "Indicates whether no documents are returned if the `analyzer` removes all tokens, such as when using a `stop` filter.", "name": "zero_terms_query", "required": false, "serverDefault": "'none'", "type": { "kind": "instance_of", "type": { "name": "ZeroTermsQuery", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/fulltext.ts#L456-L539" }, { "kind": "enum", "members": [ { "description": "Distance is the minimum distance.", "name": "min" }, { "description": "Distance is the maximum distance.", "name": "max" }, { "description": "Distance is the average distance.", "name": "avg" }, { "description": "Distance is the sum of all distances.", "name": "sum" } ], "name": { "name": "MultiValueMode", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/compound.ts#L343-L360" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "NestedQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Indicates whether to ignore an unmapped path and not return any documents instead of an error.", "name": "ignore_unmapped", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If defined, each search hit will contain inner hits.", "docId": "inner-hits", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/inner-hits.html", "name": "inner_hits", "required": false, "type": { "kind": "instance_of", "type": { "name": "InnerHits", "namespace": "_global.search._types" } } }, { "description": "Path to the nested object you wish to search.", "name": "path", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Query you wish to run on nested objects in the path.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "How scores for matching child objects affect the root parent document’s relevance score.", "name": "score_mode", "required": false, "serverDefault": "'avg'", "type": { "kind": "instance_of", "type": { "name": "ChildScoreMode", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/joining.ts#L106-L130" }, { "inherits": { "type": { "name": "RangeQueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "NumberRangeQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Greater than.", "name": "gt", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Greater than or equal to.", "name": "gte", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Less than.", "name": "lt", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Less than or equal to.", "name": "lte", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "from", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "to", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } } ], "specLocation": "_types/query_dsl/term.ts#L145-L164" }, { "attachedBehaviors": [ "AdditionalProperty" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, { "generics": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DecayPlacement", "namespace": "_types.query_dsl" } } ], "type": { "name": "AdditionalProperty", "namespace": "_spec_utils" } } ], "inherits": { "type": { "name": "DecayFunctionBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "NumericDecayFunction", "namespace": "_types.query_dsl" }, "properties": [], "specLocation": "_types/query_dsl/compound.ts#L182-L184" }, { "kind": "enum", "members": [ { "aliases": [ "AND" ], "name": "and" }, { "aliases": [ "OR" ], "name": "or" } ], "name": { "name": "Operator", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/Operator.ts#L22-L27" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "ParentIdQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "ID of the parent document.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.", "name": "ignore_unmapped", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Name of the child relationship mapped for the `join` field.", "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "RelationName", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/joining.ts#L132-L146" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "PercolateQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "The source of the document being percolated.", "name": "document", "required": false, "type": { "kind": "user_defined_value" } }, { "description": "An array of sources of the documents being percolated.", "name": "documents", "required": false, "type": { "kind": "array_of", "value": { "kind": "user_defined_value" } } }, { "description": "Field that holds the indexed queries. The field must use the `percolator` mapping type.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The ID of a stored document to percolate.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The index of a stored document to percolate.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "The suffix used for the `_percolator_document_slot` field when multiple `percolate` queries are specified.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Preference used to fetch document to percolate.", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Routing used to fetch document to percolate.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "The expected version of a stored document to percolate.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/specialized.ts#L193-L230" }, { "kind": "interface", "name": { "name": "PinnedDoc", "namespace": "_types.query_dsl" }, "properties": [ { "description": "The unique document ID.", "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The index that contains the document.", "name": "_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/specialized.ts#L253-L262" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "PinnedQuery", "namespace": "_types.query_dsl" }, "properties": [ { "containerProperty": true, "description": "Any choice of query used to rank documents which will be ranked below the \"pinned\" documents.", "name": "organic", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Document IDs listed in the order they are to appear in results.\nRequired if `docs` is not specified.", "name": "ids", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } }, { "description": "Documents listed in the order they are to appear in results.\nRequired if `ids` is not specified.", "name": "docs", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "PinnedDoc", "namespace": "_types.query_dsl" } } } } ], "specLocation": "_types/query_dsl/specialized.ts#L232-L251", "variants": { "kind": "container" } }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "PrefixQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Method used to rewrite the query.", "docId": "query-dsl-multi-term-rewrite", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-multi-term-rewrite.html", "name": "rewrite", "required": false, "type": { "kind": "instance_of", "type": { "name": "MultiTermQueryRewrite", "namespace": "_types" } } }, { "description": "Beginning characters of terms you wish to find in the provided field.", "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.10.0" } }, "description": "Allows ASCII case insensitive matching of the value with the indexed field values when set to `true`.\nDefault is `false` which means the case sensitivity of matching depends on the underlying field’s mapping.", "name": "case_insensitive", "required": false, "serverDefault": false, "since": "7.10.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "shortcutProperty": "value", "specLocation": "_types/query_dsl/term.ts#L87-L106" }, { "kind": "interface", "name": { "name": "QueryBase", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Floating point number used to decrease or increase the relevance scores of the query.\nBoost values are relative to the default value of 1.0.\nA boost value between 0 and 1.0 decreases the relevance score.\nA value greater than 1.0 increases the relevance score.", "name": "boost", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "codegenName": "query_name", "name": "_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/query_dsl/abstractions.ts#L432-L443" }, { "docId": "query-dsl", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl.html", "kind": "interface", "name": { "name": "QueryContainer", "namespace": "_types.query_dsl" }, "properties": [ { "description": "matches documents matching boolean combinations of other queries.", "docId": "query-dsl-bool-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-bool-query.html", "name": "bool", "required": false, "type": { "kind": "instance_of", "type": { "name": "BoolQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents matching a `positive` query while reducing the relevance score of documents that also match a `negative` query.", "docId": "query-dsl-boosting-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-boosting-query.html", "name": "boosting", "required": false, "type": { "kind": "instance_of", "type": { "name": "BoostingQuery", "namespace": "_types.query_dsl" } } }, { "deprecation": { "description": "", "version": "7.3.0" }, "name": "common", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "CommonTermsQuery", "namespace": "_types.query_dsl" } } } }, { "availability": { "serverless": {}, "stack": { "since": "7.13.0" } }, "description": "The `combined_fields` query supports searching multiple text fields as if their contents had been indexed into one combined field.", "docId": "query-dsl-combined-fields-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-combined-fields-query.html", "name": "combined_fields", "required": false, "since": "7.13.0", "type": { "kind": "instance_of", "type": { "name": "CombinedFieldsQuery", "namespace": "_types.query_dsl" } } }, { "description": "Wraps a filter query and returns every matching document with a relevance score equal to the `boost` parameter value.", "docId": "query-dsl-constant-score-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-constant-score-query.html", "name": "constant_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "ConstantScoreQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents matching one or more wrapped queries, called query clauses or clauses.\nIf a returned document matches multiple query clauses, the `dis_max` query assigns the document the highest relevance score from any matching clause, plus a tie breaking increment for any additional matching subqueries.", "docId": "query-dsl-dis-max-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-dis-max-query.html", "name": "dis_max", "required": false, "type": { "kind": "instance_of", "type": { "name": "DisMaxQuery", "namespace": "_types.query_dsl" } } }, { "description": "Boosts the relevance score of documents closer to a provided origin date or point.\nFor example, you can use this query to give more weight to documents closer to a certain date or location.", "docId": "query-dsl-distance-feature-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-distance-feature-query.html", "name": "distance_feature", "required": false, "type": { "kind": "instance_of", "type": { "name": "DistanceFeatureQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents that contain an indexed value for a field.", "docId": "query-dsl-exists-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-exists-query.html", "name": "exists", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExistsQuery", "namespace": "_types.query_dsl" } } }, { "description": "The `function_score` enables you to modify the score of documents that are retrieved by a query.", "docId": "query-dsl-function-score-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-function-score-query.html", "name": "function_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "FunctionScoreQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents that contain terms similar to the search term, as measured by a Levenshtein edit distance.", "docId": "query-dsl-fuzzy-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-fuzzy-query.html", "name": "fuzzy", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "FuzzyQuery", "namespace": "_types.query_dsl" } } } }, { "description": "Matches geo_point and geo_shape values that intersect a bounding box.", "docId": "query-dsl-geo-bounding-box-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-geo-bounding-box-query.html", "name": "geo_bounding_box", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoBoundingBoxQuery", "namespace": "_types.query_dsl" } } }, { "description": "Matches `geo_point` and `geo_shape` values within a given distance of a geopoint.", "docId": "query-dsl-geo-distance-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-geo-distance-query.html", "name": "geo_distance", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoDistanceQuery", "namespace": "_types.query_dsl" } } }, { "name": "geo_polygon", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoPolygonQuery", "namespace": "_types.query_dsl" } } }, { "description": "Filter documents indexed using either the `geo_shape` or the `geo_point` type.", "docId": "query-dsl-geo-shape-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-geo-shape-query.html", "name": "geo_shape", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoShapeQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns parent documents whose joined child documents match a provided query.", "docId": "query-dsl-has-child-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-has-child-query.html", "name": "has_child", "required": false, "type": { "kind": "instance_of", "type": { "name": "HasChildQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns child documents whose joined parent document matches a provided query.", "docId": "query-dsl-has-parent-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-has-parent-query.html", "name": "has_parent", "required": false, "type": { "kind": "instance_of", "type": { "name": "HasParentQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents based on their IDs.\nThis query uses document IDs stored in the `_id` field.", "docId": "query-dsl-ids-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-ids-query.html", "name": "ids", "required": false, "type": { "kind": "instance_of", "type": { "name": "IdsQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents based on the order and proximity of matching terms.", "docId": "query-dsl-intervals-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-intervals-query.html", "name": "intervals", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "IntervalsQuery", "namespace": "_types.query_dsl" } } } }, { "description": "Finds the k nearest vectors to a query vector, as measured by a similarity\nmetric. knn query finds nearest vectors through approximate search on indexed\ndense_vectors.", "docId": "query-dsl-knn-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-knn-query.html", "name": "knn", "required": false, "type": { "kind": "instance_of", "type": { "name": "KnnQuery", "namespace": "_types" } } }, { "description": "Returns documents that match a provided text, number, date or boolean value.\nThe provided text is analyzed before matching.", "docId": "query-dsl-match-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-match-query.html", "name": "match", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "MatchQuery", "namespace": "_types.query_dsl" } } } }, { "description": "Matches all documents, giving them all a `_score` of 1.0.", "docId": "query-dsl-match-all-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-match-all-query.html", "name": "match_all", "required": false, "type": { "kind": "instance_of", "type": { "name": "MatchAllQuery", "namespace": "_types.query_dsl" } } }, { "description": "Analyzes its input and constructs a `bool` query from the terms.\nEach term except the last is used in a `term` query.\nThe last term is used in a prefix query.", "docId": "query-dsl-match-bool-prefix-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-match-bool-prefix-query.html", "name": "match_bool_prefix", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "MatchBoolPrefixQuery", "namespace": "_types.query_dsl" } } } }, { "description": "Matches no documents.", "docId": "query-dsl-match-none-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-match-all-query.html#query-dsl-match-none-query", "name": "match_none", "required": false, "type": { "kind": "instance_of", "type": { "name": "MatchNoneQuery", "namespace": "_types.query_dsl" } } }, { "description": "Analyzes the text and creates a phrase query out of the analyzed text.", "docId": "query-dsl-match-query-phrase", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-match-query-phrase.html", "name": "match_phrase", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "MatchPhraseQuery", "namespace": "_types.query_dsl" } } } }, { "description": "Returns documents that contain the words of a provided text, in the same order as provided.\nThe last term of the provided text is treated as a prefix, matching any words that begin with that term.", "docId": "query-dsl-match-query-phrase-prefix", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-match-query-phrase-prefix.html", "name": "match_phrase_prefix", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "MatchPhrasePrefixQuery", "namespace": "_types.query_dsl" } } } }, { "description": "Returns documents that are \"like\" a given set of documents.", "docId": "query-dsl-mlt-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-mlt-query.html", "name": "more_like_this", "required": false, "type": { "kind": "instance_of", "type": { "name": "MoreLikeThisQuery", "namespace": "_types.query_dsl" } } }, { "description": "Enables you to search for a provided text, number, date or boolean value across multiple fields.\nThe provided text is analyzed before matching.", "docId": "query-dsl-multi-match-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-multi-match-query.html", "name": "multi_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "MultiMatchQuery", "namespace": "_types.query_dsl" } } }, { "description": "Wraps another query to search nested fields.\nIf an object matches the search, the nested query returns the root parent document.", "docId": "query-dsl-nested-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-nested-query.html", "name": "nested", "required": false, "type": { "kind": "instance_of", "type": { "name": "NestedQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns child documents joined to a specific parent document.", "docId": "query-dsl-parent-id-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-parent-id-query.html", "name": "parent_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "ParentIdQuery", "namespace": "_types.query_dsl" } } }, { "description": "Matches queries stored in an index.", "docId": "query-dsl-percolate-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-percolate-query.html", "name": "percolate", "required": false, "type": { "kind": "instance_of", "type": { "name": "PercolateQuery", "namespace": "_types.query_dsl" } } }, { "description": "Promotes selected documents to rank higher than those matching a given query.", "docId": "query-dsl-pinned-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-pinned-query.html", "name": "pinned", "required": false, "type": { "kind": "instance_of", "type": { "name": "PinnedQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents that contain a specific prefix in a provided field.", "docId": "query-dsl-prefix-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-prefix-query.html", "name": "prefix", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "PrefixQuery", "namespace": "_types.query_dsl" } } } }, { "description": "Returns documents based on a provided query string, using a parser with a strict syntax.", "docId": "query-dsl-query-string-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-query-string-query.html", "name": "query_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryStringQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents that contain terms within a provided range.", "docId": "query-dsl-range-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-range-query.html", "name": "range", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "RangeQuery", "namespace": "_types.query_dsl" } } } }, { "description": "Boosts the relevance score of documents based on the numeric value of a `rank_feature` or `rank_features` field.", "docId": "query-dsl-rank-feature-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-rank-feature-query.html", "name": "rank_feature", "required": false, "type": { "kind": "instance_of", "type": { "name": "RankFeatureQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents that contain terms matching a regular expression.", "docId": "query-dsl-regexp-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-regexp-query.html", "name": "regexp", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "RegexpQuery", "namespace": "_types.query_dsl" } } } }, { "name": "rule_query", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuleQuery", "namespace": "_types.query_dsl" } } }, { "description": "Filters documents based on a provided script.\nThe script query is typically used in a filter context.", "docId": "query-dsl-script-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-script-query.html", "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScriptQuery", "namespace": "_types.query_dsl" } } }, { "description": "Uses a script to provide a custom score for returned documents.", "docId": "query-dsl-script-score-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-script-score-query.html", "name": "script_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScriptScoreQuery", "namespace": "_types.query_dsl" } } }, { "description": "Queries documents that contain fields indexed using the `shape` type.", "docId": "query-dsl-shape-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-shape-query.html", "name": "shape", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShapeQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents based on a provided query string, using a parser with a limited but fault-tolerant syntax.", "docId": "query-dsl-simple-query-string-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-simple-query-string-query.html", "name": "simple_query_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "SimpleQueryStringQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns matches which enclose another span query.", "docId": "query-dsl-span-containing-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-span-containing-query.html", "name": "span_containing", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanContainingQuery", "namespace": "_types.query_dsl" } } }, { "description": "Wrapper to allow span queries to participate in composite single-field span queries by _lying_ about their search field.", "docId": "query-dsl-span-field-masking-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-span-field-masking-query.html", "name": "field_masking_span", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanFieldMaskingQuery", "namespace": "_types.query_dsl" } } }, { "description": "Matches spans near the beginning of a field.", "docId": "query-dsl-span-first-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-span-first-query.html", "name": "span_first", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanFirstQuery", "namespace": "_types.query_dsl" } } }, { "description": "Allows you to wrap a multi term query (one of `wildcard`, `fuzzy`, `prefix`, `range`, or `regexp` query) as a `span` query, so it can be nested.", "docId": "query-dsl-span-multi-term-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-span-multi-term-query.html", "name": "span_multi", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanMultiTermQuery", "namespace": "_types.query_dsl" } } }, { "description": "Matches spans which are near one another.\nYou can specify `slop`, the maximum number of intervening unmatched positions, as well as whether matches are required to be in-order.", "docId": "query-dsl-span-near-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-span-near-query.html", "name": "span_near", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanNearQuery", "namespace": "_types.query_dsl" } } }, { "description": "Removes matches which overlap with another span query or which are within x tokens before (controlled by the parameter `pre`) or y tokens after (controlled by the parameter `post`) another span query.", "docId": "query-dsl-span-not-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-span-not-query.html", "name": "span_not", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanNotQuery", "namespace": "_types.query_dsl" } } }, { "description": "Matches the union of its span clauses.", "docId": "query-dsl-span-or-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-span-or-query.html", "name": "span_or", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanOrQuery", "namespace": "_types.query_dsl" } } }, { "description": "Matches spans containing a term.", "docId": "query-dsl-span-term-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-span-term-query.html", "name": "span_term", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "SpanTermQuery", "namespace": "_types.query_dsl" } } } }, { "description": "Returns matches which are enclosed inside another span query.", "docId": "query-dsl-span-within-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-span-within-query.html", "name": "span_within", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanWithinQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents that contain an exact term in a provided field.\nTo return a document, the query term must exactly match the queried field's value, including whitespace and capitalization.", "docId": "query-dsl-term-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-term-query.html", "name": "term", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "TermQuery", "namespace": "_types.query_dsl" } } } }, { "description": "Returns documents that contain one or more exact terms in a provided field.\nTo return a document, one or more terms must exactly match a field value, including whitespace and capitalization.", "docId": "query-dsl-terms-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-terms-query.html", "name": "terms", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents that contain a minimum number of exact terms in a provided field.\nTo return a document, a required number of terms must exactly match the field values, including whitespace and capitalization.", "docId": "query-dsl-terms-set-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-terms-set-query.html", "name": "terms_set", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "TermsSetQuery", "namespace": "_types.query_dsl" } } } }, { "availability": { "serverless": {}, "stack": { "since": "8.8.0" } }, "description": "Uses a natural language processing model to convert the query text into a list of token-weight pairs which are then used in a query against a sparse vector or rank features field.", "docId": "query-dsl-text-expansion-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-text-expansion-query.html", "name": "text_expansion", "required": false, "since": "8.8.0", "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "TextExpansionQuery", "namespace": "_types.query_dsl" } } } }, { "availability": { "serverless": {}, "stack": { "since": "8.13.0" } }, "description": "Supports returning text_expansion query results by sending in precomputed tokens with the query.", "docId": "query-dsl-weighted-tokens-query", "name": "weighted_tokens", "required": false, "since": "8.13.0", "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "WeightedTokensQuery", "namespace": "_types.query_dsl" } } } }, { "description": "Returns documents that contain terms matching a wildcard pattern.", "docId": "query-dsl-wildcard-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-wildcard-query.html", "name": "wildcard", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "WildcardQuery", "namespace": "_types.query_dsl" } } } }, { "description": "A query that accepts any other query as base64 encoded string.", "docId": "query-dsl-wrapper-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-wrapper-query.html", "name": "wrapper", "required": false, "type": { "kind": "instance_of", "type": { "name": "WrapperQuery", "namespace": "_types.query_dsl" } } }, { "deprecation": { "description": "https://www.elastic.co/guide/en/elasticsearch/reference/7.x/removal-of-types.html", "version": "7.0.0" }, "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "TypeQuery", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/abstractions.ts#L100-L407", "variants": { "kind": "container", "nonExhaustive": true } }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "QueryStringQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "If `true`, the wildcard characters `*` and `?` are allowed as the first character of the query string.", "name": "allow_leading_wildcard", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Analyzer used to convert text in the query string into tokens.", "docId": "analysis", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, the query attempts to analyze wildcard terms in the query string.", "name": "analyze_wildcard", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, match phrase queries are automatically created for multi-term synonyms.", "name": "auto_generate_synonyms_phrase_query", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Default field to search if no field is provided in the query string.\nSupports wildcards (`*`).\nDefaults to the `index.query.default_field` index setting, which has a default value of `*`.", "name": "default_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Default boolean logic used to interpret text in the query string if no operators are specified.", "name": "default_operator", "required": false, "serverDefault": "'or'", "type": { "kind": "instance_of", "type": { "name": "Operator", "namespace": "_types.query_dsl" } } }, { "description": "If `true`, enable position increments in queries constructed from a `query_string` search.", "name": "enable_position_increments", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "escape", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Array of fields to search. Supports wildcards (`*`).", "name": "fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } }, { "description": "Maximum edit distance allowed for fuzzy matching.", "docId": "fuzziness", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/common-options.html#fuzziness", "name": "fuzziness", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fuzziness", "namespace": "_types" } } }, { "description": "Maximum number of terms to which the query expands for fuzzy matching.", "name": "fuzzy_max_expansions", "required": false, "serverDefault": 50, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Number of beginning characters left unchanged for fuzzy matching.", "name": "fuzzy_prefix_length", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Method used to rewrite the query.", "docId": "query-dsl-multi-term-rewrite", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-multi-term-rewrite.html", "name": "fuzzy_rewrite", "required": false, "type": { "kind": "instance_of", "type": { "name": "MultiTermQueryRewrite", "namespace": "_types" } } }, { "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", "name": "fuzzy_transpositions", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, format-based errors, such as providing a text value for a numeric field, are ignored.", "name": "lenient", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Maximum number of automaton states required for the query.", "name": "max_determinized_states", "required": false, "serverDefault": 10000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Minimum number of clauses that must match for a document to be returned.", "docId": "query-dsl-minimum-should-match", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-minimum-should-match.html", "name": "minimum_should_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "MinimumShouldMatch", "namespace": "_types" } } }, { "description": "Maximum number of positions allowed between matching tokens for phrases.", "name": "phrase_slop", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Query string you wish to parse and use for search.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Analyzer used to convert quoted text in the query string into tokens.\nFor quoted text, this parameter overrides the analyzer specified in the `analyzer` parameter.", "name": "quote_analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Suffix appended to quoted text in the query string.\nYou can use this suffix to use a different analysis method for exact matches.", "name": "quote_field_suffix", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Method used to rewrite the query.", "docId": "query-dsl-multi-term-rewrite", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-multi-term-rewrite.html", "name": "rewrite", "required": false, "type": { "kind": "instance_of", "type": { "name": "MultiTermQueryRewrite", "namespace": "_types" } } }, { "description": "How to combine the queries generated from the individual search terms in the resulting `dis_max` query.", "name": "tie_breaker", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Coordinated Universal Time (UTC) offset or IANA time zone used to convert date values in the query string to UTC.", "name": "time_zone", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeZone", "namespace": "_types" } } }, { "description": "Determines how the query matches and scores documents.", "name": "type", "required": false, "serverDefault": "'best_fields'", "type": { "kind": "instance_of", "type": { "name": "TextQueryType", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/fulltext.ts#L580-L700" }, { "kind": "interface", "name": { "name": "RandomScoreFunction", "namespace": "_types.query_dsl" }, "properties": [ { "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "seed", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } } ], "specLocation": "_types/query_dsl/compound.ts#L127-L130" }, { "codegenNames": [ "date", "number", "terms" ], "kind": "type_alias", "name": { "name": "RangeQuery", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/term.ts#L187-L189", "type": { "items": [ { "kind": "instance_of", "type": { "name": "DateRangeQuery", "namespace": "_types.query_dsl" } }, { "kind": "instance_of", "type": { "name": "NumberRangeQuery", "namespace": "_types.query_dsl" } }, { "kind": "instance_of", "type": { "name": "TermsRangeQuery", "namespace": "_types.query_dsl" } } ], "kind": "union_of" } }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "RangeQueryBase", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Indicates how the range query matches values for `range` fields.", "name": "relation", "required": false, "serverDefault": "intersects", "type": { "kind": "instance_of", "type": { "name": "RangeRelation", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/term.ts#L108-L114" }, { "kind": "enum", "members": [ { "description": "Matches documents with a range field value entirely within the query’s range.", "name": "within" }, { "description": "Matches documents with a range field value that entirely contains the query’s range.", "name": "contains" }, { "description": "Matches documents with a range field value that intersects the query’s range.", "name": "intersects" } ], "name": { "name": "RangeRelation", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/term.ts#L191-L204" }, { "kind": "interface", "name": { "name": "RankFeatureFunction", "namespace": "_types.query_dsl" }, "properties": [], "specLocation": "_types/query_dsl/specialized.ts#L264-L264" }, { "inherits": { "type": { "name": "RankFeatureFunction", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "RankFeatureFunctionLinear", "namespace": "_types.query_dsl" }, "properties": [], "specLocation": "_types/query_dsl/specialized.ts#L266-L266" }, { "inherits": { "type": { "name": "RankFeatureFunction", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "RankFeatureFunctionLogarithm", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Configurable scaling factor.", "name": "scaling_factor", "required": true, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/specialized.ts#L268-L273" }, { "inherits": { "type": { "name": "RankFeatureFunction", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "RankFeatureFunctionSaturation", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Configurable pivot value so that the result will be less than 0.5.", "name": "pivot", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/specialized.ts#L275-L280" }, { "inherits": { "type": { "name": "RankFeatureFunction", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "RankFeatureFunctionSigmoid", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Configurable pivot value so that the result will be less than 0.5.", "name": "pivot", "required": true, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "Configurable Exponent.", "name": "exponent", "required": true, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/specialized.ts#L282-L291" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "RankFeatureQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "`rank_feature` or `rank_features` field used to boost relevance scores.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Saturation function used to boost relevance scores based on the value of the rank feature `field`.", "name": "saturation", "required": false, "type": { "kind": "instance_of", "type": { "name": "RankFeatureFunctionSaturation", "namespace": "_types.query_dsl" } } }, { "description": "Logarithmic function used to boost relevance scores based on the value of the rank feature `field`.", "name": "log", "required": false, "type": { "kind": "instance_of", "type": { "name": "RankFeatureFunctionLogarithm", "namespace": "_types.query_dsl" } } }, { "description": "Linear function used to boost relevance scores based on the value of the rank feature `field`.", "name": "linear", "required": false, "type": { "kind": "instance_of", "type": { "name": "RankFeatureFunctionLinear", "namespace": "_types.query_dsl" } } }, { "description": "Sigmoid function used to boost relevance scores based on the value of the rank feature `field`.", "name": "sigmoid", "required": false, "type": { "kind": "instance_of", "type": { "name": "RankFeatureFunctionSigmoid", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/specialized.ts#L293-L316" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "RegexpQuery", "namespace": "_types.query_dsl" }, "properties": [ { "availability": { "serverless": {}, "stack": { "since": "7.10.0" } }, "description": "Allows case insensitive matching of the regular expression value with the indexed field values when set to `true`.\nWhen `false`, case sensitivity of matching depends on the underlying field’s mapping.", "name": "case_insensitive", "required": false, "serverDefault": false, "since": "7.10.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Enables optional operators for the regular expression.", "docId": "regexp-syntax", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/regexp-syntax.html", "name": "flags", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Maximum number of automaton states required for the query.", "name": "max_determinized_states", "required": false, "serverDefault": 10000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Method used to rewrite the query.", "docId": "query-dsl-multi-term-rewrite", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-multi-term-rewrite.html", "name": "rewrite", "required": false, "type": { "kind": "instance_of", "type": { "name": "MultiTermQueryRewrite", "namespace": "_types" } } }, { "description": "Regular expression for terms you wish to find in the provided field.", "docId": "regexp-syntax", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/regexp-syntax.html", "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "shortcutProperty": "value", "specLocation": "_types/query_dsl/term.ts#L206-L236" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "RuleQuery", "namespace": "_types.query_dsl" }, "properties": [ { "name": "organic", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "name": "ruleset_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "match_criteria", "required": true, "type": { "kind": "user_defined_value" } } ], "specLocation": "_types/query_dsl/specialized.ts#L369-L373" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "ScriptQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Contains a script to run as a query.\nThis script must return a boolean value, `true` or `false`.", "name": "script", "required": true, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/specialized.ts#L318-L324" }, { "kind": "interface", "name": { "name": "ScriptScoreFunction", "namespace": "_types.query_dsl" }, "properties": [ { "description": "A script that computes a score.", "name": "script", "required": true, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/compound.ts#L120-L125" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "ScriptScoreQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Documents with a score lower than this floating point number are excluded from the search results.", "name": "min_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "Query used to return documents.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Script used to compute the score of documents returned by the query.\nImportant: final relevance scores from the `script_score` query cannot be negative.", "name": "script", "required": true, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/specialized.ts#L326-L340" }, { "kind": "interface", "name": { "name": "ShapeFieldQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Queries using a pre-indexed shape.", "name": "indexed_shape", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldLookup", "namespace": "_types.query_dsl" } } }, { "description": "Spatial relation between the query shape and the document shape.", "name": "relation", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoShapeRelation", "namespace": "_types" } } }, { "description": "Queries using an inline shape definition in GeoJSON or Well Known Text (WKT) format.", "name": "shape", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoShape", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/specialized.ts#L354-L367" }, { "attachedBehaviors": [ "AdditionalProperty" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "ShapeFieldQuery", "namespace": "_types.query_dsl" } } ], "type": { "name": "AdditionalProperty", "namespace": "_spec_utils" } } ], "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "ShapeQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "When set to `true` the query ignores an unmapped field and will not match any documents.", "name": "ignore_unmapped", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/query_dsl/specialized.ts#L344-L352" }, { "kind": "enum", "members": [ { "description": "Disables all operators.", "name": "NONE" }, { "description": "Enables the `+` AND operator.", "name": "AND" }, { "description": "Enables the `-` NOT operator.", "name": "NOT" }, { "description": "Enables the `\\|` OR operator.", "name": "OR" }, { "description": "Enables the `*` prefix operator.", "name": "PREFIX" }, { "description": "Enables the `\"` quotes operator used to search for phrases.", "name": "PHRASE" }, { "description": "Enables the `(` and `)` operators to control operator precedence.", "name": "PRECEDENCE" }, { "description": "Enables `\\` as an escape character.", "name": "ESCAPE" }, { "description": "Enables whitespace as split characters.", "name": "WHITESPACE" }, { "description": "Enables the `~N` operator after a word, where `N` is an integer denoting the allowed edit distance for matching.", "name": "FUZZY" }, { "description": "Enables the `~N` operator, after a phrase where `N` is the maximum number of positions allowed between matching tokens.\nSynonymous to `SLOP`.", "name": "NEAR" }, { "description": "Enables the `~N` operator, after a phrase where `N` is maximum number of positions allowed between matching tokens.\nSynonymous to `NEAR`.", "name": "SLOP" }, { "description": "Enables all optional operators.", "name": "ALL" } ], "name": { "name": "SimpleQueryStringFlag", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/fulltext.ts#L708-L763" }, { "description": "Query flags can be either a single flag or a combination of flags, e.g. `OR|AND|PREFIX`", "docId": "supported-flags", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-simple-query-string-query.html#supported-flags", "kind": "type_alias", "name": { "name": "SimpleQueryStringFlags", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/fulltext.ts#L702-L706", "type": { "generics": [ { "kind": "instance_of", "type": { "name": "SimpleQueryStringFlag", "namespace": "_types.query_dsl" } } ], "kind": "instance_of", "type": { "name": "PipeSeparatedFlags", "namespace": "_spec_utils" } } }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "SimpleQueryStringQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Analyzer used to convert text in the query string into tokens.", "docId": "analysis", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis.html", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, the query attempts to analyze wildcard terms in the query string.", "name": "analyze_wildcard", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the parser creates a match_phrase query for each multi-position token.", "name": "auto_generate_synonyms_phrase_query", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Default boolean logic used to interpret text in the query string if no operators are specified.", "name": "default_operator", "required": false, "serverDefault": "'or'", "type": { "kind": "instance_of", "type": { "name": "Operator", "namespace": "_types.query_dsl" } } }, { "description": "Array of fields you wish to search.\nAccepts wildcard expressions.\nYou also can boost relevance scores for matches to particular fields using a caret (`^`) notation.\nDefaults to the `index.query.default_field index` setting, which has a default value of `*`.", "name": "fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } }, { "description": "List of enabled operators for the simple query string syntax.", "name": "flags", "required": false, "serverDefault": "ALL", "type": { "kind": "instance_of", "type": { "name": "SimpleQueryStringFlags", "namespace": "_types.query_dsl" } } }, { "description": "Maximum number of terms to which the query expands for fuzzy matching.", "name": "fuzzy_max_expansions", "required": false, "serverDefault": 50, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Number of beginning characters left unchanged for fuzzy matching.", "name": "fuzzy_prefix_length", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).", "name": "fuzzy_transpositions", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, format-based errors, such as providing a text value for a numeric field, are ignored.", "name": "lenient", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Minimum number of clauses that must match for a document to be returned.", "docId": "query-dsl-minimum-should-match", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-minimum-should-match.html", "name": "minimum_should_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "MinimumShouldMatch", "namespace": "_types" } } }, { "description": "Query string in the simple query string syntax you wish to parse and use for search.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Suffix appended to quoted text in the query string.", "name": "quote_field_suffix", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/query_dsl/fulltext.ts#L765-L830" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "SpanContainingQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Can be any span query.\nMatching spans from `big` that contain matches from `little` are returned.", "name": "big", "required": true, "type": { "kind": "instance_of", "type": { "name": "SpanQuery", "namespace": "_types.query_dsl" } } }, { "description": "Can be any span query.\nMatching spans from `big` that contain matches from `little` are returned.", "name": "little", "required": true, "type": { "kind": "instance_of", "type": { "name": "SpanQuery", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/span.ts#L25-L36" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "SpanFieldMaskingQuery", "namespace": "_types.query_dsl" }, "properties": [ { "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "SpanQuery", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/span.ts#L38-L41" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "SpanFirstQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Controls the maximum end position permitted in a match.", "name": "end", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Can be any other span type query.", "name": "match", "required": true, "type": { "kind": "instance_of", "type": { "name": "SpanQuery", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/span.ts#L43-L52" }, { "description": "Can only be used as a clause in a span_near query.", "kind": "type_alias", "name": { "name": "SpanGapQuery", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/span.ts#L54-L56", "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "SpanMultiTermQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Should be a multi term query (one of `wildcard`, `fuzzy`, `prefix`, `range`, or `regexp` query).", "name": "match", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/span.ts#L58-L63" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "SpanNearQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Array of one or more other span type queries.", "name": "clauses", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SpanQuery", "namespace": "_types.query_dsl" } } } }, { "description": "Controls whether matches are required to be in-order.", "name": "in_order", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Controls the maximum number of intervening unmatched positions permitted.", "name": "slop", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/span.ts#L65-L78" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "SpanNotQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "The number of tokens from within the include span that can’t have overlap with the exclude span.\nEquivalent to setting both `pre` and `post`.", "name": "dist", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Span query whose matches must not overlap those returned.", "name": "exclude", "required": true, "type": { "kind": "instance_of", "type": { "name": "SpanQuery", "namespace": "_types.query_dsl" } } }, { "description": "Span query whose matches are filtered.", "name": "include", "required": true, "type": { "kind": "instance_of", "type": { "name": "SpanQuery", "namespace": "_types.query_dsl" } } }, { "description": "The number of tokens after the include span that can’t have overlap with the exclude span.", "name": "post", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of tokens before the include span that can’t have overlap with the exclude span.", "name": "pre", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/span.ts#L80-L104" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "SpanOrQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Array of one or more other span type queries.", "name": "clauses", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SpanQuery", "namespace": "_types.query_dsl" } } } } ], "specLocation": "_types/query_dsl/span.ts#L106-L111" }, { "kind": "interface", "name": { "name": "SpanQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Accepts a list of span queries, but only returns those spans which also match a second span query.", "name": "span_containing", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanContainingQuery", "namespace": "_types.query_dsl" } } }, { "description": "Allows queries like `span_near` or `span_or` across different fields.", "name": "field_masking_span", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanFieldMaskingQuery", "namespace": "_types.query_dsl" } } }, { "description": "Accepts another span query whose matches must appear within the first N positions of the field.", "name": "span_first", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanFirstQuery", "namespace": "_types.query_dsl" } } }, { "name": "span_gap", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanGapQuery", "namespace": "_types.query_dsl" } } }, { "description": "Wraps a `term`, `range`, `prefix`, `wildcard`, `regexp`, or `fuzzy` query.", "name": "span_multi", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanMultiTermQuery", "namespace": "_types.query_dsl" } } }, { "description": "Accepts multiple span queries whose matches must be within the specified distance of each other, and possibly in the same order.", "name": "span_near", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanNearQuery", "namespace": "_types.query_dsl" } } }, { "description": "Wraps another span query, and excludes any documents which match that query.", "name": "span_not", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanNotQuery", "namespace": "_types.query_dsl" } } }, { "description": "Combines multiple span queries and returns documents which match any of the specified queries.", "name": "span_or", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanOrQuery", "namespace": "_types.query_dsl" } } }, { "description": "The equivalent of the `term` query but for use with other span queries.", "name": "span_term", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "SpanTermQuery", "namespace": "_types.query_dsl" } } } }, { "description": "The result from a single span query is returned as long is its span falls within the spans returned by a list of other span queries.", "name": "span_within", "required": false, "type": { "kind": "instance_of", "type": { "name": "SpanWithinQuery", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/span.ts#L131-L173", "variants": { "kind": "container", "nonExhaustive": true } }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "SpanTermQuery", "namespace": "_types.query_dsl" }, "properties": [ { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "shortcutProperty": "value", "specLocation": "_types/query_dsl/span.ts#L113-L116" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "SpanWithinQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Can be any span query.\nMatching spans from `little` that are enclosed within `big` are returned.", "name": "big", "required": true, "type": { "kind": "instance_of", "type": { "name": "SpanQuery", "namespace": "_types.query_dsl" } } }, { "description": "Can be any span query.\nMatching spans from `little` that are enclosed within `big` are returned.", "name": "little", "required": true, "type": { "kind": "instance_of", "type": { "name": "SpanQuery", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/span.ts#L118-L129" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "TermQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Term you wish to find in the provided field.", "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "FieldValue", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.10.0" } }, "description": "Allows ASCII case insensitive matching of the value with the indexed field values when set to `true`.\nWhen `false`, the case sensitivity of matching depends on the underlying field’s mapping.", "name": "case_insensitive", "required": false, "serverDefault": false, "since": "7.10.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "shortcutProperty": "value", "specLocation": "_types/query_dsl/term.ts#L238-L252" }, { "kind": "interface", "name": { "name": "TermsLookup", "namespace": "_types.query_dsl" }, "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "path", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } } ], "specLocation": "_types/query_dsl/term.ts#L263-L268" }, { "attachedBehaviors": [ "AdditionalProperty" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "TermsQueryField", "namespace": "_types.query_dsl" } } ], "type": { "name": "AdditionalProperty", "namespace": "_spec_utils" } } ], "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "TermsQuery", "namespace": "_types.query_dsl" }, "properties": [], "specLocation": "_types/query_dsl/term.ts#L254-L256" }, { "codegenNames": [ "value", "lookup" ], "kind": "type_alias", "name": { "name": "TermsQueryField", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/term.ts#L258-L261", "type": { "items": [ { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldValue", "namespace": "_types" } } }, { "kind": "instance_of", "type": { "name": "TermsLookup", "namespace": "_types.query_dsl" } } ], "kind": "union_of" } }, { "inherits": { "type": { "name": "RangeQueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "TermsRangeQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Greater than.", "name": "gt", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Greater than or equal to.", "name": "gte", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Less than.", "name": "lt", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Less than or equal to.", "name": "lte", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "from", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "to", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } } ], "specLocation": "_types/query_dsl/term.ts#L166-L185" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "TermsSetQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Numeric field containing the number of matching terms required to return a document.", "name": "minimum_should_match_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Custom script containing the number of matching terms required to return a document.", "name": "minimum_should_match_script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "description": "Array of terms you wish to find in the provided field.", "name": "terms", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "_types/query_dsl/term.ts#L270-L283" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "TextExpansionQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "The text expansion NLP model to use", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The query text", "name": "model_text", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "availability": { "serverless": { "stability": "experimental" }, "stack": { "since": "8.13.0", "stability": "experimental" } }, "description": "Token pruning configurations", "name": "pruning_config", "required": false, "since": "8.13.0", "stability": "experimental", "type": { "kind": "instance_of", "type": { "name": "TokenPruningConfig", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/TextExpansionQuery.ts#L23-L33" }, { "kind": "enum", "members": [ { "description": "Finds documents that match any field, but uses the `_score` from the best field.", "name": "best_fields" }, { "description": "Finds documents that match any field and combines the `_score` from each field.", "name": "most_fields" }, { "description": "Treats fields with the same analyzer as though they were one big field.\nLooks for each word in any field.", "name": "cross_fields" }, { "description": "Runs a `match_phrase` query on each field and uses the `_score` from the best field.", "name": "phrase" }, { "description": "Runs a `match_phrase_prefix` query on each field and uses the `_score` from the best field.", "name": "phrase_prefix" }, { "description": "Creates a `match_bool_prefix` query on each field and combines the `_score` from each field.", "name": "bool_prefix" } ], "name": { "name": "TextQueryType", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/fulltext.ts#L541-L567" }, { "kind": "interface", "name": { "name": "TokenPruningConfig", "namespace": "_types.query_dsl" }, "properties": [ { "description": "Tokens whose frequency is more than this threshold times the average frequency of all tokens in the specified field are considered outliers and pruned.", "name": "tokens_freq_ratio_threshold", "required": false, "serverDefault": 5, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Tokens whose weight is less than this threshold are considered nonsignificant and pruned.", "name": "tokens_weight_threshold", "required": false, "serverDefault": 0.4, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "Whether to only score pruned tokens, vs only scoring kept tokens.", "name": "only_score_pruned_tokens", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_types/query_dsl/TokenPruningConfig.ts#L22-L35" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "TypeQuery", "namespace": "_types.query_dsl" }, "properties": [ { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/query_dsl/term.ts#L285-L287" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "WeightedTokensQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "The tokens representing this query", "name": "tokens", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } }, { "description": "Token pruning configurations", "name": "pruning_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "TokenPruningConfig", "namespace": "_types.query_dsl" } } } ], "specLocation": "_types/query_dsl/WeightedTokensQuery.ts#L27-L32" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "WildcardQuery", "namespace": "_types.query_dsl" }, "properties": [ { "availability": { "serverless": {}, "stack": { "since": "7.10.0" } }, "description": "Allows case insensitive matching of the pattern with the indexed field values when set to true. Default is false which means the case sensitivity of matching depends on the underlying field’s mapping.", "name": "case_insensitive", "required": false, "since": "7.10.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Method used to rewrite the query.", "docId": "query-dsl-multi-term-rewrite", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-multi-term-rewrite.html", "name": "rewrite", "required": false, "type": { "kind": "instance_of", "type": { "name": "MultiTermQueryRewrite", "namespace": "_types" } } }, { "description": "Wildcard pattern for terms you wish to find in the provided field. Required, when wildcard is not set.", "name": "value", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Wildcard pattern for terms you wish to find in the provided field. Required, when value is not set.", "name": "wildcard", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "shortcutProperty": "value", "specLocation": "_types/query_dsl/term.ts#L289-L306" }, { "inherits": { "type": { "name": "QueryBase", "namespace": "_types.query_dsl" } }, "kind": "interface", "name": { "name": "WrapperQuery", "namespace": "_types.query_dsl" }, "properties": [ { "description": "A base64 encoded query.\nThe binary data format can be any of JSON, YAML, CBOR or SMILE encodings", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "_types/query_dsl/abstractions.ts#L481-L487" }, { "kind": "enum", "members": [ { "description": "Returns all documents, similar to a `match_all` query.", "name": "all" }, { "description": "No documents are returned if the `analyzer` removes all tokens.", "name": "none" } ], "name": { "name": "ZeroTermsQuery", "namespace": "_types.query_dsl" }, "specLocation": "_types/query_dsl/fulltext.ts#L569-L578" }, { "generics": [ { "name": "TDocument", "namespace": "async_search._types" } ], "kind": "interface", "name": { "name": "AsyncSearch", "namespace": "async_search._types" }, "properties": [ { "description": "Partial aggregations results, coming from the shards that have already completed the execution of the query.", "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "AggregateName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Aggregate", "namespace": "_types.aggregations" } } } }, { "name": "_clusters", "required": false, "type": { "kind": "instance_of", "type": { "name": "ClusterStatistics", "namespace": "_types" } } }, { "name": "fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "hits", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "async_search._types" } } ], "kind": "instance_of", "type": { "name": "HitsMetadata", "namespace": "_global.search._types" } } }, { "name": "max_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Indicates how many reductions of the results have been performed.\nIf this number increases compared to the last retrieved results for a get asynch search request, you can expect additional results included in the search response.", "name": "num_reduce_phases", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "profile", "required": false, "type": { "kind": "instance_of", "type": { "name": "Profile", "namespace": "_global.search._types" } } }, { "name": "pit_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "_scroll_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScrollId", "namespace": "_types" } } }, { "description": "Indicates how many shards have run the query.\nNote that in order for shard results to be included in the search response, they need to be reduced first.", "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } }, { "name": "suggest", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "SuggestionName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "array_of", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "async_search._types" } } ], "kind": "instance_of", "type": { "name": "Suggest", "namespace": "_global.search._types" } } } } }, { "name": "terminated_early", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "timed_out", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "took", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "async_search/_types/AsyncSearch.ts#L30-L56" }, { "generics": [ { "name": "TDocument", "namespace": "async_search._types" } ], "inherits": { "type": { "name": "AsyncSearchResponseBase", "namespace": "async_search._types" } }, "kind": "interface", "name": { "name": "AsyncSearchDocumentResponseBase", "namespace": "async_search._types" }, "properties": [ { "name": "response", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "async_search._types" } } ], "kind": "instance_of", "type": { "name": "AsyncSearch", "namespace": "async_search._types" } } } ], "specLocation": "async_search/_types/AsyncSearchResponseBase.ts#L50-L54" }, { "kind": "interface", "name": { "name": "AsyncSearchResponseBase", "namespace": "async_search._types" }, "properties": [ { "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "When the query is no longer running, this property indicates whether the search failed or was successfully completed on all shards.\nWhile the query is running, `is_partial` is always set to `true`.", "name": "is_partial", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Indicates whether the search is still running or has completed.\nNOTE: If the search failed after some shards returned their results or the node that is coordinating the async search dies, results may be partial even though `is_running` is `false`.", "name": "is_running", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Indicates when the async search will expire.", "name": "expiration_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "expiration_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "start_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "start_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "Indicates when the async search completed. Only present\nwhen the search has completed.", "name": "completion_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "completion_time_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } } ], "specLocation": "async_search/_types/AsyncSearchResponseBase.ts#L24-L49" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes an async search by identifier.\nIf the search is still running, the search request will be cancelled.\nOtherwise, the saved search results are deleted.\nIf the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the `cancel_task` cluster privilege.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "async_search.delete" }, "path": [ { "description": "A unique identifier for the async search.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "async_search/delete/AsyncSearchDeleteRequest.ts#L23-L38" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "async_search.delete" }, "specLocation": "async_search/delete/AsyncSearchDeleteResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves the results of a previously submitted async search request given its identifier.\nIf the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "async_search.get" }, "path": [ { "description": "A unique identifier for the async search.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies how long the async search should be available in the cluster.\nWhen not specified, the `keep_alive` set with the corresponding submit async request will be used.\nOtherwise, it is possible to override the value and extend the validity of the request.\nWhen this period expires, the search, if still running, is cancelled.\nIf the search is completed, its saved results are deleted.", "name": "keep_alive", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", "name": "typed_keys", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies to wait for the search to be completed up until the provided timeout.\nFinal results will be returned if available before the timeout expires, otherwise the currently available results will be returned once the timeout expires.\nBy default no timeout is set meaning that the currently available results will be returned without any additional wait.", "name": "wait_for_completion_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "async_search/get/AsyncSearchGetRequest.ts#L24-L54" }, { "body": { "kind": "value", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "async_search.get" } } ], "kind": "instance_of", "type": { "name": "AsyncSearchDocumentResponseBase", "namespace": "async_search._types" } } }, "generics": [ { "name": "TDocument", "namespace": "async_search.get" } ], "kind": "response", "name": { "name": "Response", "namespace": "async_search.get" }, "specLocation": "async_search/get/AsyncSearchGetResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retreives the status of a previously submitted async search request given its identifier, without retrieving search results.\nIf the Elasticsearch security features are enabled, use of this API is restricted to the `monitoring_user` role.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "async_search.status" }, "path": [ { "description": "A unique identifier for the async search.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "async_search/status/AsyncSearchStatusRequest.ts#L23-L36" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "StatusResponseBase", "namespace": "async_search.status" } } }, "kind": "response", "name": { "name": "Response", "namespace": "async_search.status" }, "specLocation": "async_search/status/AsyncSearchStatusResponse.ts#L39-L41" }, { "inherits": { "type": { "name": "AsyncSearchResponseBase", "namespace": "async_search._types" } }, "kind": "interface", "name": { "name": "StatusResponseBase", "namespace": "async_search.status" }, "properties": [ { "description": "Indicates how many shards have run the query so far.", "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } }, { "description": "Metadata about clusters involved in the cross-cluster search.\nNot shown for local-only searches.", "name": "_clusters", "required": false, "type": { "kind": "instance_of", "type": { "name": "ClusterStatistics", "namespace": "_types" } } }, { "description": "If the async search completed, this field shows the status code of the search.\nFor example, 200 indicates that the async search was successfully completed.\n503 indicates that the async search was completed with an error.", "name": "completion_status", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "async_search/status/AsyncSearchStatusResponse.ts#L24-L38" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "aliases": [ "aggs" ], "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AggregationContainer", "namespace": "_types.aggregations" } } } }, { "name": "collapse", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldCollapse", "namespace": "_global.search._types" } } }, { "description": "If true, returns detailed information about score computation as part of a hit.", "name": "explain", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Configuration of search extensions defined by Elasticsearch plugins.", "name": "ext", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "highlight", "required": false, "type": { "kind": "instance_of", "type": { "name": "Highlight", "namespace": "_global.search._types" } } }, { "description": "Number of hits matching the query to count accurately. If true, the exact\nnumber of hits is returned at the cost of some performance. If false, the\nresponse does not include the total number of hits matching the query.\nDefaults to 10,000 hits.", "name": "track_total_hits", "required": false, "type": { "kind": "instance_of", "type": { "name": "TrackHits", "namespace": "_global.search._types" } } }, { "description": "Boosts the _score of documents from specified indices.", "name": "indices_boost", "required": false, "type": { "kind": "array_of", "value": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } } }, { "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", "name": "docvalue_fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldAndFormat", "namespace": "_types.query_dsl" } } } }, { "availability": { "serverless": {}, "stack": { "since": "8.4.0" } }, "description": "Defines the approximate kNN search to run.", "name": "knn", "required": false, "since": "8.4.0", "type": { "items": [ { "kind": "instance_of", "type": { "name": "KnnSearch", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "KnnSearch", "namespace": "_types" } } } ], "kind": "union_of" } }, { "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", "name": "min_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "post_filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "name": "profile", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Defines the search definition using the Query DSL.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "name": "rescore", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "Rescore", "namespace": "_global.search._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Rescore", "namespace": "_global.search._types" } } } ], "kind": "union_of" } }, { "description": "Retrieve a script evaluation (based on different fields) for each hit.", "name": "script_fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ScriptField", "namespace": "_types" } } } }, { "name": "search_after", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortResults", "namespace": "_types" } } }, { "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", "name": "size", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "slice", "required": false, "type": { "kind": "instance_of", "type": { "name": "SlicedScroll", "namespace": "_types" } } }, { "docId": "sort-search-results", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/sort-search-results.html", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "Sort", "namespace": "_types" } } }, { "description": "Indicates which source fields are returned for matching documents. These\nfields are returned in the hits._source property of the search response.", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfig", "namespace": "_global.search._types" } } }, { "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", "name": "fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldAndFormat", "namespace": "_types.query_dsl" } } } }, { "name": "suggest", "required": false, "type": { "kind": "instance_of", "type": { "name": "Suggester", "namespace": "_global.search._types" } } }, { "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", "name": "terminate_after", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Specifies the period of time to wait for a response from each shard. If no response\nis received before the timeout expires, the request fails and returns an error.\nDefaults to no timeout.", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If true, calculate and return document scores, even if the scores are not used for sorting.", "name": "track_scores", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, returns document version as part of a hit.", "name": "version", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", "name": "seq_no_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "List of stored fields to return as part of a hit. If no fields are specified,\nno stored fields are included in the response. If this field is specified, the _source\nparameter defaults to false. You can pass _source: true to return both source fields\nand stored fields in the search response.", "name": "stored_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Limits the search to a point in time (PIT). If you provide a PIT, you\ncannot specify an in the request path.", "name": "pit", "required": false, "type": { "kind": "instance_of", "type": { "name": "PointInTimeReference", "namespace": "_global.search._types" } } }, { "description": "Defines one or more runtime fields in the search request. These fields take\nprecedence over mapped fields with the same name.", "name": "runtime_mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } }, { "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", "name": "stats", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "description": "Runs a search request asynchronously.\nWhen the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested.\nWarning: Async search does not support scroll nor search requests that only include the suggest section.\nBy default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.\nThe maximum allowed size for a stored async search response can be set by changing the `search.max_async_search_response_size` cluster level setting.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "async_search.submit" }, "path": [ { "description": "A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "Blocks and waits until the search is completed up to a certain timeout.\nWhen the async search completes within the timeout, the response won’t include the ID as the results are not stored in the cluster.", "name": "wait_for_completion_timeout", "required": false, "serverDefault": "1s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If `true`, results are stored for later retrieval when the search completes within the `wait_for_completion_timeout`.", "name": "keep_on_completion", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies how long the async search needs to be available.\nOngoing async searches and any saved search results are deleted after this period.", "name": "keep_alive", "required": false, "serverDefault": "5d", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", "name": "allow_no_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Indicate if an error should be returned if there is a partial search failure or timeout", "name": "allow_partial_search_results", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The analyzer to use for the query string", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Specify whether wildcard and prefix queries should be analyzed (default: false)", "name": "analyze_wildcard", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Affects how often partial results become available, which happens whenever shard results are reduced.\nA partial reduction is performed every time the coordinating node has received a certain number of new shard responses (5 by default).", "name": "batched_reduce_size", "required": false, "serverDefault": 5, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The default value is the only supported value.", "name": "ccs_minimize_roundtrips", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The default operator for query string query (AND or OR)", "name": "default_operator", "required": false, "type": { "kind": "instance_of", "type": { "name": "Operator", "namespace": "_types.query_dsl" } } }, { "description": "The field to use as default where no field prefix is given in the query string", "name": "df", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A comma-separated list of fields to return as the docvalue representation of a field for each hit", "name": "docvalue_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "Specify whether to return detailed information about score computation as part of a hit", "name": "explain", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled", "name": "ignore_throttled", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", "name": "ignore_unavailable", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored", "name": "lenient", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests", "name": "max_concurrent_shard_requests", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "min_compatible_shard_node", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "description": "Specify the node or shard the operation should be performed on (default: random)", "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The default value cannot be changed, which enforces the execution of a pre-filter roundtrip to retrieve statistics from each shard so that the ones that surely don’t hold any document matching the query get skipped.", "name": "pre_filter_shard_size", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Specify if request cache should be used for this request or not, defaults to true", "name": "request_cache", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "A comma-separated list of specific routing values", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "name": "scroll", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Search operation type", "name": "search_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchType", "namespace": "_types" } } }, { "description": "Specific 'tag' of the request for logging and statistical purposes", "name": "stats", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "A comma-separated list of stored fields to return as part of a hit", "name": "stored_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Specifies which field to use for suggestions.", "name": "suggest_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Specify suggest mode", "name": "suggest_mode", "required": false, "type": { "kind": "instance_of", "type": { "name": "SuggestMode", "namespace": "_types" } } }, { "description": "How many suggestions to return in response", "name": "suggest_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The source text for which the suggestions should be returned.", "name": "suggest_text", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.", "name": "terminate_after", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Explicit operation timeout", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Indicate if the number of documents that match the query should be tracked. A number can also be specified, to accurately track the total hit count up to the number.", "name": "track_total_hits", "required": false, "type": { "kind": "instance_of", "type": { "name": "TrackHits", "namespace": "_global.search._types" } } }, { "description": "Whether to calculate and return scores even if they are not used for sorting", "name": "track_scores", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", "name": "typed_keys", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "rest_total_hits_as_int", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specify whether to return document version as part of a hit", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "True or false to return the _source field or not, or a list of fields to return", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfigParam", "namespace": "_global.search._types" } } }, { "description": "A list of fields to exclude from the returned _source field", "name": "_source_excludes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "A list of fields to extract and return from the _source field", "name": "_source_includes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Specify whether to return sequence number and primary term of the last modification of each hit", "name": "seq_no_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Query in the Lucene query string syntax", "name": "q", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Number of hits to return (default: 10)", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Starting offset (default: 0)", "name": "from", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "A comma-separated list of : pairs", "name": "sort", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } } ], "specLocation": "async_search/submit/AsyncSearchSubmitRequest.ts#L55-L286" }, { "body": { "kind": "value", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "async_search.submit" } } ], "kind": "instance_of", "type": { "name": "AsyncSearchDocumentResponseBase", "namespace": "async_search._types" } } }, "generics": [ { "name": "TDocument", "namespace": "async_search.submit" } ], "kind": "response", "name": { "name": "Response", "namespace": "async_search.submit" }, "specLocation": "async_search/submit/AsyncSearchSubmitResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "AutoscalingPolicy", "namespace": "autoscaling._types" }, "properties": [ { "name": "roles", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Decider settings", "name": "deciders", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ], "specLocation": "autoscaling/_types/AutoscalingPolicy.ts#L23-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "autoscaling.delete_autoscaling_policy" }, "path": [ { "description": "the name of the autoscaling policy", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "autoscaling/delete_autoscaling_policy/DeleteAutoscalingPolicyRequest.ts#L23-L32" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "autoscaling.delete_autoscaling_policy" }, "specLocation": "autoscaling/delete_autoscaling_policy/DeleteAutoscalingPolicyResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "AutoscalingCapacity", "namespace": "autoscaling.get_autoscaling_capacity" }, "properties": [ { "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "AutoscalingResources", "namespace": "autoscaling.get_autoscaling_capacity" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "AutoscalingResources", "namespace": "autoscaling.get_autoscaling_capacity" } } } ], "specLocation": "autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityResponse.ts#L38-L41" }, { "kind": "interface", "name": { "name": "AutoscalingDecider", "namespace": "autoscaling.get_autoscaling_capacity" }, "properties": [ { "name": "required_capacity", "required": true, "type": { "kind": "instance_of", "type": { "name": "AutoscalingCapacity", "namespace": "autoscaling.get_autoscaling_capacity" } } }, { "name": "reason_summary", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "reason_details", "required": false, "type": { "kind": "user_defined_value" } } ], "specLocation": "autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityResponse.ts#L52-L56" }, { "kind": "interface", "name": { "name": "AutoscalingDeciders", "namespace": "autoscaling.get_autoscaling_capacity" }, "properties": [ { "name": "required_capacity", "required": true, "type": { "kind": "instance_of", "type": { "name": "AutoscalingCapacity", "namespace": "autoscaling.get_autoscaling_capacity" } } }, { "name": "current_capacity", "required": true, "type": { "kind": "instance_of", "type": { "name": "AutoscalingCapacity", "namespace": "autoscaling.get_autoscaling_capacity" } } }, { "name": "current_nodes", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "AutoscalingNode", "namespace": "autoscaling.get_autoscaling_capacity" } } } }, { "name": "deciders", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AutoscalingDecider", "namespace": "autoscaling.get_autoscaling_capacity" } } } } ], "specLocation": "autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityResponse.ts#L31-L36" }, { "kind": "interface", "name": { "name": "AutoscalingNode", "namespace": "autoscaling.get_autoscaling_capacity" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeName", "namespace": "_types" } } } ], "specLocation": "autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityResponse.ts#L48-L50" }, { "kind": "interface", "name": { "name": "AutoscalingResources", "namespace": "autoscaling.get_autoscaling_capacity" }, "properties": [ { "name": "storage", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "memory", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityResponse.ts#L43-L46" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Gets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "autoscaling.get_autoscaling_capacity" }, "path": [], "query": [], "specLocation": "autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityRequest.ts#L22-L27" }, { "body": { "kind": "properties", "properties": [ { "name": "policies", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AutoscalingDeciders", "namespace": "autoscaling.get_autoscaling_capacity" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "autoscaling.get_autoscaling_capacity" }, "specLocation": "autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityResponse.ts#L25-L29" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "autoscaling.get_autoscaling_policy" }, "path": [ { "description": "the name of the autoscaling policy", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "autoscaling/get_autoscaling_policy/GetAutoscalingPolicyRequest.ts#L23-L32" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AutoscalingPolicy", "namespace": "autoscaling._types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "autoscaling.get_autoscaling_policy" }, "specLocation": "autoscaling/get_autoscaling_policy/GetAutoscalingPolicyResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "policy", "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AutoscalingPolicy", "namespace": "autoscaling._types" } } }, "description": "Creates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "autoscaling.put_autoscaling_policy" }, "path": [ { "description": "the name of the autoscaling policy", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "autoscaling/put_autoscaling_policy/PutAutoscalingPolicyRequest.ts#L24-L35" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "autoscaling.put_autoscaling_policy" }, "specLocation": "autoscaling/put_autoscaling_policy/PutAutoscalingPolicyResponse.ts#L22-L24" }, { "kind": "enum", "members": [ { "aliases": [ "ae" ], "description": "For open anomaly detection jobs only, contains messages relating to the\nselection of a node to run the job.", "name": "assignment_explanation" }, { "aliases": [ "bc", "bucketsCount" ], "description": "The number of bucket results produced by the job.", "name": "buckets.count" }, { "aliases": [ "btea", "bucketsTimeExpAvg" ], "description": "Exponential moving average of all bucket processing times, in milliseconds.", "name": "buckets.time.exp_avg" }, { "aliases": [ "bteah", "bucketsTimeExpAvgHour" ], "description": "Exponentially-weighted moving average of bucket processing times calculated\nin a 1 hour time window, in milliseconds.", "name": "buckets.time.exp_avg_hour" }, { "aliases": [ "btmax", "bucketsTimeMax" ], "description": "Maximum among all bucket processing times, in milliseconds.", "name": "buckets.time.max" }, { "aliases": [ "btmin", "bucketsTimeMin" ], "description": "Minimum among all bucket processing times, in milliseconds.", "name": "buckets.time.min" }, { "aliases": [ "btt", "bucketsTimeTotal" ], "description": "Sum of all bucket processing times, in milliseconds.", "name": "buckets.time.total" }, { "aliases": [ "db", "dataBuckets" ], "description": "The number of buckets processed.", "name": "data.buckets" }, { "aliases": [ "der", "dataEarliestRecord" ], "description": "The timestamp of the earliest chronologically input document.", "name": "data.earliest_record" }, { "aliases": [ "deb", "dataEmptyBuckets" ], "description": "The number of buckets which did not contain any data.", "name": "data.empty_buckets" }, { "aliases": [ "dib", "dataInputBytes" ], "description": "The number of bytes of input data posted to the anomaly detection job.", "name": "data.input_bytes" }, { "aliases": [ "dif", "dataInputFields" ], "description": "The total number of fields in input documents posted to the anomaly\ndetection job. This count includes fields that are not used in the analysis.\nHowever, be aware that if you are using a datafeed, it extracts only the\nrequired fields from the documents it retrieves before posting them to the job.", "name": "data.input_fields" }, { "aliases": [ "dir", "dataInputRecords" ], "description": "The number of input documents posted to the anomaly detection job.", "name": "data.input_records" }, { "aliases": [ "did", "dataInvalidDates" ], "description": "The number of input documents with either a missing date field or a date\nthat could not be parsed.", "name": "data.invalid_dates" }, { "aliases": [ "dl", "dataLast" ], "description": "The timestamp at which data was last analyzed, according to server time.", "name": "data.last" }, { "aliases": [ "dleb", "dataLastEmptyBucket" ], "description": "The timestamp of the last bucket that did not contain any data.", "name": "data.last_empty_bucket" }, { "aliases": [ "dlsb", "dataLastSparseBucket" ], "description": "The timestamp of the last bucket that was considered sparse.", "name": "data.last_sparse_bucket" }, { "aliases": [ "dlr", "dataLatestRecord" ], "description": "The timestamp of the latest chronologically input document.", "name": "data.latest_record" }, { "aliases": [ "dmf", "dataMissingFields" ], "description": "The number of input documents that are missing a field that the anomaly\ndetection job is configured to analyze. Input documents with missing fields\nare still processed because it is possible that not all fields are missing.", "name": "data.missing_fields" }, { "aliases": [ "doot", "dataOutOfOrderTimestamps" ], "description": "The number of input documents that have a timestamp chronologically\npreceding the start of the current anomaly detection bucket offset by the\nlatency window. This information is applicable only when you provide data\nto the anomaly detection job by using the post data API. These out of order\ndocuments are discarded, since jobs require time series data to be in\nascending chronological order.", "name": "data.out_of_order_timestamps" }, { "aliases": [ "dpf", "dataProcessedFields" ], "description": "The total number of fields in all the documents that have been processed by\nthe anomaly detection job. Only fields that are specified in the detector\nconfiguration object contribute to this count. The timestamp is not\nincluded in this count.", "name": "data.processed_fields" }, { "aliases": [ "dpr", "dataProcessedRecords" ], "description": "The number of input documents that have been processed by the anomaly\ndetection job. This value includes documents with missing fields, since\nthey are nonetheless analyzed. If you use datafeeds and have aggregations\nin your search query, the processed record count is the number of\naggregation results processed, not the number of Elasticsearch documents.", "name": "data.processed_records" }, { "aliases": [ "dsb", "dataSparseBuckets" ], "description": "The number of buckets that contained few data points compared to the\nexpected number of data points.", "name": "data.sparse_buckets" }, { "aliases": [ "fmavg", "forecastsMemoryAvg" ], "description": "The average memory usage in bytes for forecasts related to the anomaly\ndetection job.", "name": "forecasts.memory.avg" }, { "aliases": [ "fmmax", "forecastsMemoryMax" ], "description": "The maximum memory usage in bytes for forecasts related to the anomaly\ndetection job.", "name": "forecasts.memory.max" }, { "aliases": [ "fmmin", "forecastsMemoryMin" ], "description": "The minimum memory usage in bytes for forecasts related to the anomaly\ndetection job.", "name": "forecasts.memory.min" }, { "aliases": [ "fmt", "forecastsMemoryTotal" ], "description": "The total memory usage in bytes for forecasts related to the anomaly\ndetection job.", "name": "forecasts.memory.total" }, { "aliases": [ "fravg", "forecastsRecordsAvg" ], "description": "The average number of `m`odel_forecast` documents written for forecasts\nrelated to the anomaly detection job.", "name": "forecasts.records.avg" }, { "aliases": [ "frmax", "forecastsRecordsMax" ], "description": "The maximum number of `model_forecast` documents written for forecasts\nrelated to the anomaly detection job.", "name": "forecasts.records.max" }, { "aliases": [ "frmin", "forecastsRecordsMin" ], "description": "The minimum number of `model_forecast` documents written for forecasts\nrelated to the anomaly detection job.", "name": "forecasts.records.min" }, { "aliases": [ "frt", "forecastsRecordsTotal" ], "description": "The total number of `model_forecast` documents written for forecasts\nrelated to the anomaly detection job.", "name": "forecasts.records.total" }, { "aliases": [ "ftavg", "forecastsTimeAvg" ], "description": "The average runtime in milliseconds for forecasts related to the anomaly\ndetection job.", "name": "forecasts.time.avg" }, { "aliases": [ "ftmax", "forecastsTimeMax" ], "description": "The maximum runtime in milliseconds for forecasts related to the anomaly\ndetection job.", "name": "forecasts.time.max" }, { "aliases": [ "ftmin", "forecastsTimeMin" ], "description": "The minimum runtime in milliseconds for forecasts related to the anomaly\ndetection job.", "name": "forecasts.time.min" }, { "aliases": [ "ftt", "forecastsTimeTotal" ], "description": "The total runtime in milliseconds for forecasts related to the anomaly\ndetection job.", "name": "forecasts.time.total" }, { "aliases": [ "ft", "forecastsTotal" ], "description": "The number of individual forecasts currently available for the job.", "name": "forecasts.total" }, { "description": "Identifier for the anomaly detection job.", "name": "id" }, { "aliases": [ "mbaf", "modelBucketAllocationFailures" ], "description": "The number of buckets for which new entities in incoming data were not\nprocessed due to insufficient model memory.", "name": "model.bucket_allocation_failures" }, { "aliases": [ "mbf", "modelByFields" ], "description": "The number of by field values that were analyzed by the models. This value\nis cumulative for all detectors in the job.", "name": "model.by_fields" }, { "aliases": [ "mb", "modelBytes" ], "description": "The number of bytes of memory used by the models. This is the maximum value\nsince the last time the model was persisted. If the job is closed, this\nvalue indicates the latest size.", "name": "model.bytes" }, { "aliases": [ "mbe", "modelBytesExceeded" ], "description": "The number of bytes over the high limit for memory usage at the last\nallocation failure.", "name": "model.bytes_exceeded" }, { "aliases": [ "mcs", "modelCategorizationStatus" ], "description": "The status of categorization for the job: `ok` or `warn`. If `ok`,\ncategorization is performing acceptably well (or not being used at all). If\n`warn`, categorization is detecting a distribution of categories that\nsuggests the input data is inappropriate for categorization. Problems could\nbe that there is only one category, more than 90% of categories are rare,\nthe number of categories is greater than 50% of the number of categorized\ndocuments, there are no frequently matched categories, or more than 50% of\ncategories are dead.", "name": "model.categorization_status" }, { "aliases": [ "mcdc", "modelCategorizedDocCount" ], "description": "The number of documents that have had a field categorized.", "name": "model.categorized_doc_count" }, { "aliases": [ "mdcc", "modelDeadCategoryCount" ], "description": "The number of categories created by categorization that will never be\nassigned again because another category’s definition makes it a superset of\nthe dead category. Dead categories are a side effect of the way\ncategorization has no prior training.", "name": "model.dead_category_count" }, { "aliases": [ "mdcc", "modelFailedCategoryCount" ], "description": "The number of times that categorization wanted to create a new category but\ncouldn’t because the job had hit its model memory limit. This count does\nnot track which specific categories failed to be created. Therefore, you\ncannot use this value to determine the number of unique categories that\nwere missed.", "name": "model.failed_category_count" }, { "aliases": [ "mfcc", "modelFrequentCategoryCount" ], "description": "The number of categories that match more than 1% of categorized documents.", "name": "model.frequent_category_count" }, { "aliases": [ "mlt", "modelLogTime" ], "description": "The timestamp when the model stats were gathered, according to server time.", "name": "model.log_time" }, { "aliases": [ "mml", "modelMemoryLimit" ], "description": "The timestamp when the model stats were gathered, according to server time.", "name": "model.memory_limit" }, { "aliases": [ "mms", "modelMemoryStatus" ], "description": "The status of the mathematical models: `ok`, `soft_limit`, or `hard_limit`.\nIf `ok`, the models stayed below the configured value. If `soft_limit`, the\nmodels used more than 60% of the configured memory limit and older unused\nmodels will be pruned to free up space. Additionally, in categorization jobs\nno further category examples will be stored. If `hard_limit`, the models\nused more space than the configured memory limit. As a result, not all\nincoming data was processed.", "name": "model.memory_status" }, { "aliases": [ "mof", "modelOverFields" ], "description": "The number of over field values that were analyzed by the models. This\nvalue is cumulative for all detectors in the job.", "name": "model.over_fields" }, { "aliases": [ "mpf", "modelPartitionFields" ], "description": "The number of partition field values that were analyzed by the models. This\nvalue is cumulative for all detectors in the job.", "name": "model.partition_fields" }, { "aliases": [ "mrcc", "modelRareCategoryCount" ], "description": "The number of categories that match just one categorized document.", "name": "model.rare_category_count" }, { "aliases": [ "mt", "modelTimestamp" ], "description": "The timestamp of the last record when the model stats were gathered.", "name": "model.timestamp" }, { "aliases": [ "mtcc", "modelTotalCategoryCount" ], "description": "The number of categories created by categorization.", "name": "model.total_category_count" }, { "aliases": [ "na", "nodeAddress" ], "description": "The network address of the node that runs the job. This information is\navailable only for open jobs.", "name": "node.address" }, { "aliases": [ "ne", "nodeEphemeralId" ], "description": "The ephemeral ID of the node that runs the job. This information is\navailable only for open jobs.", "name": "node.ephemeral_id" }, { "aliases": [ "ni", "nodeId" ], "description": "The unique identifier of the node that runs the job. This information is\navailable only for open jobs.", "name": "node.id" }, { "aliases": [ "nn", "nodeName" ], "description": "The name of the node that runs the job. This information is available only\nfor open jobs.", "name": "node.name" }, { "aliases": [ "ot" ], "description": "For open jobs only, the elapsed time for which the job has been open.", "name": "opened_time" }, { "aliases": [ "s" ], "description": "The status of the anomaly detection job: `closed`, `closing`, `failed`,\n`opened`, or `opening`. If `closed`, the job finished successfully with its\nmodel state persisted. The job must be opened before it can accept further\ndata. If `closing`, the job close action is in progress and has not yet\ncompleted. A closing job cannot accept further data. If `failed`, the job\ndid not finish successfully due to an error. This situation can occur due\nto invalid input data, a fatal error occurring during the analysis, or an\nexternal interaction such as the process being killed by the Linux out of\nmemory (OOM) killer. If the job had irrevocably failed, it must be force\nclosed and then deleted. If the datafeed can be corrected, the job can be\nclosed and then re-opened. If `opened`, the job is available to receive and\nprocess data. If `opening`, the job open action is in progress and has not\nyet completed.", "name": "state" } ], "name": { "name": "CatAnomalyDetectorColumn", "namespace": "cat._types" }, "specLocation": "cat/_types/CatBase.ts#L32-L401" }, { "kind": "type_alias", "name": { "name": "CatAnonalyDetectorColumns", "namespace": "cat._types" }, "specLocation": "cat/_types/CatBase.ts#L402-L404", "type": { "items": [ { "kind": "instance_of", "type": { "name": "CatAnomalyDetectorColumn", "namespace": "cat._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CatAnomalyDetectorColumn", "namespace": "cat._types" } } } ], "kind": "union_of" } }, { "kind": "enum", "members": [ { "aliases": [ "assignment_explanation" ], "description": "For started datafeeds only, contains messages relating to the selection of\na node.", "name": "ae" }, { "aliases": [ "buckets.count", "bucketsCount" ], "description": "The number of buckets processed.", "name": "bc" }, { "description": "A numerical character string that uniquely identifies the datafeed.", "name": "id" }, { "aliases": [ "node.address", "nodeAddress" ], "description": "For started datafeeds only, the network address of the node where the\ndatafeed is started.", "name": "na" }, { "aliases": [ "node.ephemeral_id", "nodeEphemeralId" ], "description": "For started datafeeds only, the ephemeral ID of the node where the\ndatafeed is started.", "name": "ne" }, { "aliases": [ "node.id", "nodeId" ], "description": "For started datafeeds only, the unique identifier of the node where the\ndatafeed is started.", "name": "ni" }, { "aliases": [ "node.name", "nodeName" ], "description": "For started datafeeds only, the name of the node where the datafeed is\nstarted.", "name": "nn" }, { "aliases": [ "search.bucket_avg", "searchBucketAvg" ], "description": "The average search time per bucket, in milliseconds.", "name": "sba" }, { "aliases": [ "search.count", "searchCount" ], "description": "The number of searches run by the datafeed.", "name": "sc" }, { "aliases": [ "search.exp_avg_hour", "searchExpAvgHour" ], "description": "The exponential average search time per hour, in milliseconds.", "name": "seah" }, { "aliases": [ "search.time", "searchTime" ], "description": "The total time the datafeed spent searching, in milliseconds.", "name": "st" }, { "aliases": [ "state" ], "description": "The status of the datafeed: `starting`, `started`, `stopping`, or `stopped`.\nIf `starting`, the datafeed has been requested to start but has not yet\nstarted. If `started`, the datafeed is actively receiving data. If\n`stopping`, the datafeed has been requested to stop gracefully and is\ncompleting its final action. If `stopped`, the datafeed is stopped and will\nnot receive data until it is re-started.", "name": "s" } ], "name": { "name": "CatDatafeedColumn", "namespace": "cat._types" }, "specLocation": "cat/_types/CatBase.ts#L405-L471" }, { "kind": "type_alias", "name": { "name": "CatDatafeedColumns", "namespace": "cat._types" }, "specLocation": "cat/_types/CatBase.ts#L559-L559", "type": { "items": [ { "kind": "instance_of", "type": { "name": "CatDatafeedColumn", "namespace": "cat._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CatDatafeedColumn", "namespace": "cat._types" } } } ], "kind": "union_of" } }, { "kind": "enum", "members": [ { "aliases": [ "ae" ], "description": "Contains messages relating to the selection of a node.", "name": "assignment_explanation" }, { "aliases": [ "ct", "createTime" ], "description": "The time when the data frame analytics job was created.", "name": "create_time" }, { "aliases": [ "d" ], "description": "A description of a job.", "name": "description" }, { "aliases": [ "di", "destIndex" ], "description": "Name of the destination index.", "name": "dest_index" }, { "aliases": [ "fr", "failureReason" ], "description": "Contains messages about the reason why a data frame analytics job failed.", "name": "failure_reason" }, { "description": "Identifier for the data frame analytics job.", "name": "id" }, { "aliases": [ "mml", "modelMemoryLimit" ], "description": "The approximate maximum amount of memory resources that are permitted for\nthe data frame analytics job.", "name": "model_memory_limit" }, { "aliases": [ "na", "nodeAddress" ], "description": "The network address of the node that the data frame analytics job is\nassigned to.", "name": "node.address" }, { "aliases": [ "ne", "nodeEphemeralId" ], "description": "The ephemeral ID of the node that the data frame analytics job is assigned\nto.", "name": "node.ephemeral_id" }, { "aliases": [ "ni", "nodeId" ], "description": "The unique identifier of the node that the data frame analytics job is\nassigned to.", "name": "node.id" }, { "aliases": [ "nn", "nodeName" ], "description": "The name of the node that the data frame analytics job is assigned to.", "name": "node.name" }, { "aliases": [ "p" ], "description": "The progress report of the data frame analytics job by phase.", "name": "progress" }, { "aliases": [ "si", "sourceIndex" ], "description": "Name of the source index.", "name": "source_index" }, { "aliases": [ "s" ], "description": "Current state of the data frame analytics job.", "name": "state" }, { "aliases": [ "t" ], "description": "The type of analysis that the data frame analytics job performs.", "name": "type" }, { "aliases": [ "v" ], "description": "The Elasticsearch version number in which the data frame analytics job was\ncreated.", "name": "version" } ], "name": { "name": "CatDfaColumn", "namespace": "cat._types" }, "specLocation": "cat/_types/CatBase.ts#L472-L557" }, { "kind": "type_alias", "name": { "name": "CatDfaColumns", "namespace": "cat._types" }, "specLocation": "cat/_types/CatBase.ts#L558-L558", "type": { "items": [ { "kind": "instance_of", "type": { "name": "CatDfaColumn", "namespace": "cat._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CatDfaColumn", "namespace": "cat._types" } } } ], "kind": "union_of" } }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "behaviors": [ { "type": { "name": "CommonCatQueryParameters", "namespace": "_spec_utils" } } ], "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "interface", "name": { "name": "CatRequestBase", "namespace": "cat._types" }, "properties": [], "specLocation": "cat/_types/CatBase.ts#L28-L30" }, { "kind": "enum", "members": [ { "aliases": [ "ct" ], "description": "The time when the trained model was created.", "name": "create_time" }, { "aliases": [ "c", "createdBy" ], "description": "Information on the creator of the trained model.", "name": "created_by" }, { "aliases": [ "df", "dataFrameAnalytics", "dfid" ], "description": "Identifier for the data frame analytics job that created the model. Only\ndisplayed if it is still available.", "name": "data_frame_analytics_id" }, { "aliases": [ "d" ], "description": "The description of the trained model.", "name": "description" }, { "aliases": [ "hs", "modelHeapSize" ], "description": "The estimated heap size to keep the trained model in memory.", "name": "heap_size" }, { "description": "Identifier for the trained model.", "name": "id" }, { "aliases": [ "ic", "ingestCount" ], "description": "The total number of documents that are processed by the model.", "name": "ingest.count" }, { "aliases": [ "icurr", "ingestCurrent" ], "description": "The total number of document that are currently being handled by the\ntrained model.", "name": "ingest.current" }, { "aliases": [ "if", "ingestFailed" ], "description": "The total number of failed ingest attempts with the trained model.", "name": "ingest.failed" }, { "aliases": [ "ip", "ingestPipelines" ], "description": "The total number of ingest pipelines that are referencing the trained\nmodel.", "name": "ingest.pipelines" }, { "aliases": [ "it", "ingestTime" ], "description": "The total time that is spent processing documents with the trained model.", "name": "ingest.time" }, { "aliases": [ "l" ], "description": "The license level of the trained model.", "name": "license" }, { "aliases": [ "o", "modelOperations" ], "description": "The estimated number of operations to use the trained model. This number\nhelps measuring the computational complexity of the model.", "name": "operations" }, { "aliases": [ "v" ], "description": "The Elasticsearch version number in which the trained model was created.", "name": "version" } ], "name": { "name": "CatTrainedModelsColumn", "namespace": "cat._types" }, "specLocation": "cat/_types/CatBase.ts#L561-L635" }, { "kind": "type_alias", "name": { "name": "CatTrainedModelsColumns", "namespace": "cat._types" }, "specLocation": "cat/_types/CatBase.ts#L636-L638", "type": { "items": [ { "kind": "instance_of", "type": { "name": "CatTrainedModelsColumn", "namespace": "cat._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CatTrainedModelsColumn", "namespace": "cat._types" } } } ], "kind": "union_of" } }, { "kind": "enum", "members": [ { "aliases": [ "cldt" ], "description": "The timestamp when changes were last detected in the source indices.", "name": "changes_last_detection_time" }, { "aliases": [ "cp" ], "description": "The sequence number for the checkpoint.", "name": "checkpoint" }, { "aliases": [ "cdtea", "checkpointTimeExpAvg" ], "description": "Exponential moving average of the duration of the checkpoint, in\nmilliseconds.", "name": "checkpoint_duration_time_exp_avg" }, { "aliases": [ "c", "checkpointProgress" ], "description": "The progress of the next checkpoint that is currently in progress.", "name": "checkpoint_progress" }, { "aliases": [ "ct", "createTime" ], "description": "The time the transform was created.", "name": "create_time" }, { "aliases": [ "dtime" ], "description": "The amount of time spent deleting, in milliseconds.", "name": "delete_time" }, { "aliases": [ "d" ], "description": "The description of the transform.", "name": "description" }, { "aliases": [ "di", "destIndex" ], "description": "The destination index for the transform. The mappings of the destination\nindex are deduced based on the source fields when possible. If alternate\nmappings are required, use the Create index API prior to starting the\ntransform.", "name": "dest_index" }, { "aliases": [ "docd" ], "description": "The number of documents that have been deleted from the destination index\ndue to the retention policy for this transform.", "name": "documents_deleted" }, { "aliases": [ "doci" ], "description": "The number of documents that have been indexed into the destination index\nfor the transform.", "name": "documents_indexed" }, { "aliases": [ "dps" ], "description": "Specifies a limit on the number of input documents per second. This setting\nthrottles the transform by adding a wait time between search requests. The\ndefault value is `null`, which disables throttling.", "name": "docs_per_second" }, { "aliases": [ "docp" ], "description": "The number of documents that have been processed from the source index of\nthe transform.", "name": "documents_processed" }, { "aliases": [ "f" ], "description": "The interval between checks for changes in the source indices when the\ntransform is running continuously. Also determines the retry interval in\nthe event of transient failures while the transform is searching or\nindexing. The minimum value is `1s` and the maximum is `1h`. The default\nvalue is `1m`.", "name": "frequency" }, { "description": "Identifier for the transform.", "name": "id" }, { "aliases": [ "if" ], "description": "The number of indexing failures.", "name": "index_failure" }, { "aliases": [ "itime" ], "description": "The amount of time spent indexing, in milliseconds.", "name": "index_time" }, { "aliases": [ "it" ], "description": "The number of index operations.", "name": "index_total" }, { "aliases": [ "idea" ], "description": "Exponential moving average of the number of new documents that have been\nindexed.", "name": "indexed_documents_exp_avg" }, { "aliases": [ "lst", "lastSearchTime" ], "description": "The timestamp of the last search in the source indices. This field is only\nshown if the transform is running.", "name": "last_search_time" }, { "aliases": [ "mpsz" ], "description": "Defines the initial page size to use for the composite aggregation for each\ncheckpoint. If circuit breaker exceptions occur, the page size is\ndynamically adjusted to a lower value. The minimum value is `10` and the\nmaximum is `65,536`. The default value is `500`.", "name": "max_page_search_size" }, { "aliases": [ "pp" ], "description": "The number of search or bulk index operations processed. Documents are\nprocessed in batches instead of individually.", "name": "pages_processed" }, { "aliases": [ "p" ], "description": "The unique identifier for an ingest pipeline.", "name": "pipeline" }, { "aliases": [ "pdea" ], "description": "Exponential moving average of the number of documents that have been\nprocessed.", "name": "processed_documents_exp_avg" }, { "aliases": [ "pt" ], "description": "The amount of time spent processing results, in milliseconds.", "name": "processing_time" }, { "aliases": [ "r" ], "description": "If a transform has a `failed` state, this property provides details about\nthe reason for the failure.", "name": "reason" }, { "aliases": [ "sf" ], "description": "The number of search failures.", "name": "search_failure" }, { "aliases": [ "stime" ], "description": "The amount of time spent searching, in milliseconds.", "name": "search_time" }, { "aliases": [ "st" ], "description": "The number of search operations on the source index for the transform.", "name": "search_total" }, { "aliases": [ "si", "sourceIndex" ], "description": "The source indices for the transform. It can be a single index, an index\npattern (for example, `\"my-index-*\"`), an array of indices (for example,\n`[\"my-index-000001\", \"my-index-000002\"]`), or an array of index patterns\n(for example, `[\"my-index-*\", \"my-other-index-*\"]`. For remote indices use\nthe syntax `\"remote_name:index_name\"`. If any indices are in remote\nclusters then the master node and at least one transform node must have the\n`remote_cluster_client` node role.", "name": "source_index" }, { "aliases": [ "s" ], "description": "The status of the transform, which can be one of the following values:\n\n* `aborting`: The transform is aborting.\n* `failed`: The transform failed. For more information about the failure,\ncheck the reason field.\n* `indexing`: The transform is actively processing data and creating new\ndocuments.\n* `started`: The transform is running but not actively indexing data.\n* `stopped`: The transform is stopped.\n* `stopping`: The transform is stopping.", "name": "state" }, { "aliases": [ "tt" ], "description": "Indicates the type of transform: `batch` or `continuous`.", "name": "transform_type" }, { "aliases": [ "tc" ], "description": "The number of times the transform has been triggered by the scheduler. For\nexample, the scheduler triggers the transform indexer to check for updates\nor ingest new data at an interval specified in the `frequency` property.", "name": "trigger_count" }, { "aliases": [ "v" ], "description": "The version of Elasticsearch that existed on the node when the transform\nwas created.", "name": "version" } ], "name": { "name": "CatTransformColumn", "namespace": "cat._types" }, "specLocation": "cat/_types/CatBase.ts#L640-L844" }, { "kind": "type_alias", "name": { "name": "CatTransformColumns", "namespace": "cat._types" }, "specLocation": "cat/_types/CatBase.ts#L845-L845", "type": { "items": [ { "kind": "instance_of", "type": { "name": "CatTransformColumn", "namespace": "cat._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CatTransformColumn", "namespace": "cat._types" } } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "AliasesRecord", "namespace": "cat.aliases" }, "properties": [ { "aliases": [ "a" ], "description": "alias name", "name": "alias", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "i", "idx" ], "description": "index alias points to", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "aliases": [ "f", "fi" ], "description": "filter", "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ri", "routingIndex" ], "description": "index routing", "name": "routing.index", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rs", "routingSearch" ], "description": "search routing", "name": "routing.search", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "w", "isWriteIndex" ], "description": "write index", "name": "is_write_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/aliases/types.ts#L22-L53" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves the cluster’s index aliases, including filter and routing information.\nThe API does not return data stream aliases.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or the Kibana console. They are not intended for use by applications. For application consumption, use the aliases API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.aliases" }, "path": [ { "description": "A comma-separated list of aliases to retrieve. Supports wildcards (`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } } ], "specLocation": "cat/aliases/CatAliasesRequest.ts#L23-L41" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "AliasesRecord", "namespace": "cat.aliases" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.aliases" }, "specLocation": "cat/aliases/CatAliasesResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "AllocationRecord", "namespace": "cat.allocation" }, "properties": [ { "aliases": [ "s" ], "description": "Number of primary and replica shards assigned to the node.", "name": "shards", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "di", "diskIndices" ], "description": "Disk space used by the node’s shards. Does not include disk space for the translog or unassigned shards.\nIMPORTANT: This metric double-counts disk space for hard-linked files, such as those created when shrinking, splitting, or cloning an index.", "name": "disk.indices", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "du", "diskUsed" ], "description": "Total disk space in use.\nElasticsearch retrieves this metric from the node’s operating system (OS).\nThe metric includes disk space for: Elasticsearch, including the translog and unassigned shards; the node’s operating system; any other applications or files on the node.\nUnlike `disk.indices`, this metric does not double-count disk space for hard-linked files.", "name": "disk.used", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "da", "diskAvail" ], "description": "Free disk space available to Elasticsearch.\nElasticsearch retrieves this metric from the node’s operating system.\nDisk-based shard allocation uses this metric to assign shards to nodes based on available disk space.", "name": "disk.avail", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "dt", "diskTotal" ], "description": "Total disk space for the node, including in-use and available space.", "name": "disk.total", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "dp", "diskPercent" ], "description": "Total percentage of disk space in use. Calculated as `disk.used / disk.total`.", "name": "disk.percent", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "Percentage", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "h" ], "description": "Network host for the node. Set using the `network.host` setting.", "name": "host", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "Host", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "IP address and port for the node.", "name": "ip", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "Ip", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "n" ], "description": "Name for the node. Set using the `node.name` setting.", "name": "node", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/allocation/types.ts#L24-L75" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Provides a snapshot of the number of shards allocated to each data node and their disk space.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.allocation" }, "path": [ { "description": "Comma-separated list of node identifiers or names used to limit the returned information.", "name": "node_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeIds", "namespace": "_types" } } } ], "query": [ { "description": "The unit used to display byte values.", "name": "bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Bytes", "namespace": "_types" } } } ], "specLocation": "cat/allocation/CatAllocationRequest.ts#L23-L41" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "AllocationRecord", "namespace": "cat.allocation" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.allocation" }, "specLocation": "cat/allocation/CatAllocationResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "ComponentTemplate", "namespace": "cat.component_templates" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "alias_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "mapping_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "settings_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "metadata_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "included_in", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/component_templates/types.ts#L20-L28" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about component templates in a cluster.\nComponent templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console.\nThey are not intended for use by applications. For application consumption, use the get component template API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.component_templates" }, "path": [ { "description": "The name of the component template. Accepts wildcard expressions. If omitted, all component templates are returned.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "query": [], "specLocation": "cat/component_templates/CatComponentTemplatesRequest.ts#L22-L37" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ComponentTemplate", "namespace": "cat.component_templates" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.component_templates" }, "specLocation": "cat/component_templates/CatComponentTemplatesResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "CountRecord", "namespace": "cat.count" }, "properties": [ { "aliases": [ "t", "time" ], "description": "seconds since 1970-01-01 00:00:00", "name": "epoch", "required": false, "type": { "generics": [ { "generics": [ { "kind": "instance_of", "type": { "name": "UnitSeconds", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "aliases": [ "ts", "hms", "hhmmss" ], "description": "time in HH:MM:SS", "name": "timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeOfDay", "namespace": "_types" } } }, { "aliases": [ "dc", "docs.count", "docsCount" ], "description": "the document count", "name": "count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/count/types.ts#L23-L39" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Provides quick access to a document count for a data stream, an index, or an entire cluster.\nNOTE: The document count only includes live documents, not deleted documents which have not yet been removed by the merge process.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console.\nThey are not intended for use by applications. For application consumption, use the count API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.count" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [], "specLocation": "cat/count/CatCountRequest.ts#L23-L42" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CountRecord", "namespace": "cat.count" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.count" }, "specLocation": "cat/count/CatCountResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "FielddataRecord", "namespace": "cat.fielddata" }, "properties": [ { "description": "node id", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "h" ], "description": "host name", "name": "host", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "ip address", "name": "ip", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "n" ], "description": "node name", "name": "node", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "f" ], "description": "field name", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "field data usage", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/fielddata/types.ts#L20-L48" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns the amount of heap memory currently used by the field data cache on every data node in the cluster.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console.\nThey are not intended for use by applications. For application consumption, use the nodes stats API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.fielddata" }, "path": [ { "description": "Comma-separated list of fields used to limit returned information.\nTo retrieve all fields, omit this parameter.", "name": "fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } } ], "query": [ { "description": "The unit used to display byte values.", "name": "bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Bytes", "namespace": "_types" } } }, { "description": "Comma-separated list of fields used to limit returned information.", "name": "fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } } ], "specLocation": "cat/fielddata/CatFielddataRequest.ts#L23-L47" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FielddataRecord", "namespace": "cat.fielddata" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.fielddata" }, "specLocation": "cat/fielddata/CatFielddataResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "HealthRecord", "namespace": "cat.health" }, "properties": [ { "aliases": [ "time" ], "description": "seconds since 1970-01-01 00:00:00", "name": "epoch", "required": false, "type": { "generics": [ { "generics": [ { "kind": "instance_of", "type": { "name": "UnitSeconds", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "aliases": [ "ts", "hms", "hhmmss" ], "description": "time in HH:MM:SS", "name": "timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeOfDay", "namespace": "_types" } } }, { "aliases": [ "cl" ], "description": "cluster name", "name": "cluster", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "st" ], "description": "health status", "name": "status", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "nt", "nodeTotal" ], "description": "total number of nodes", "name": "node.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "nd", "nodeData" ], "description": "number of nodes that can store data", "name": "node.data", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "t", "sh", "shards.total", "shardsTotal" ], "description": "total number of shards", "name": "shards", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "p", "shards.primary", "shardsPrimary" ], "description": "number of primary shards", "name": "pri", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "r", "shards.relocating", "shardsRelocating" ], "description": "number of relocating nodes", "name": "relo", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "i", "shards.initializing", "shardsInitializing" ], "description": "number of initializing nodes", "name": "init", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "u", "shards.unassigned", "shardsUnassigned" ], "description": "number of unassigned shards", "name": "unassign", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "pt", "pendingTasks" ], "description": "number of pending tasks", "name": "pending_tasks", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mtwt", "maxTaskWaitTime" ], "description": "wait time of longest task pending", "name": "max_task_wait_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "asp", "activeShardsPercent" ], "description": "active number of shards in percent", "name": "active_shards_percent", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/health/types.ts#L23-L94" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns the health status of a cluster, similar to the cluster health API.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console.\nThey are not intended for use by applications. For application consumption, use the cluster health API.\nThis API is often used to check malfunctioning clusters.\nTo help you track cluster health alongside log files and alerting systems, the API returns timestamps in two formats:\n`HH:MM:SS`, which is human-readable but includes no date information;\n`Unix epoch time`, which is machine-sortable and includes date information.\nThe latter format is useful for cluster recoveries that take multiple days.\nYou can use the cat health API to verify cluster health across multiple nodes.\nYou also can use the API to track the recovery of a large cluster over a longer period of time.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.health" }, "path": [], "query": [ { "description": "The unit used to display time values.", "name": "time", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeUnit", "namespace": "_types" } } }, { "description": "If true, returns `HH:MM:SS` and Unix epoch timestamps.", "name": "ts", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "cat/health/CatHealthRequest.ts#L23-L52" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "HealthRecord", "namespace": "cat.health" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.health" }, "specLocation": "cat/health/CatHealthResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "HelpRecord", "namespace": "cat.help" }, "properties": [ { "name": "endpoint", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/help/types.ts#L20-L22" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns help for the Cat APIs.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.help" }, "path": [], "query": [], "specLocation": "cat/help/CatHelpRequest.ts#L22-L28" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "HelpRecord", "namespace": "cat.help" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.help" }, "specLocation": "cat/help/CatHelpResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "IndicesRecord", "namespace": "cat.indices" }, "properties": [ { "aliases": [ "h" ], "description": "current health status", "name": "health", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "s" ], "description": "open/close status", "name": "status", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "i", "idx" ], "description": "index name", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "id" ], "description": "index uuid", "name": "uuid", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "p", "shards.primary", "shardsPrimary" ], "description": "number of primary shards", "name": "pri", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "r", "shards.replica", "shardsReplica" ], "description": "number of replica shards", "name": "rep", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dc", "docsCount" ], "description": "available docs", "name": "docs.count", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "dd", "docsDeleted" ], "description": "deleted docs", "name": "docs.deleted", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "cd" ], "description": "index creation date (millisecond value)", "name": "creation.date", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "cds" ], "description": "index creation date (as string)", "name": "creation.date.string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ss", "storeSize" ], "description": "store size of primaries & replicas", "name": "store.size", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "store size of primaries", "name": "pri.store.size", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "cs", "completionSize" ], "description": "size of completion", "name": "completion.size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "size of completion", "name": "pri.completion.size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fm", "fielddataMemory" ], "description": "used fielddata cache", "name": "fielddata.memory_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "used fielddata cache", "name": "pri.fielddata.memory_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fe", "fielddataEvictions" ], "description": "fielddata evictions", "name": "fielddata.evictions", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "fielddata evictions", "name": "pri.fielddata.evictions", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "qcm", "queryCacheMemory" ], "description": "used query cache", "name": "query_cache.memory_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "used query cache", "name": "pri.query_cache.memory_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "qce", "queryCacheEvictions" ], "description": "query cache evictions", "name": "query_cache.evictions", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "query cache evictions", "name": "pri.query_cache.evictions", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rcm", "requestCacheMemory" ], "description": "used request cache", "name": "request_cache.memory_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "used request cache", "name": "pri.request_cache.memory_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rce", "requestCacheEvictions" ], "description": "request cache evictions", "name": "request_cache.evictions", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "request cache evictions", "name": "pri.request_cache.evictions", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rchc", "requestCacheHitCount" ], "description": "request cache hit count", "name": "request_cache.hit_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "request cache hit count", "name": "pri.request_cache.hit_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rcmc", "requestCacheMissCount" ], "description": "request cache miss count", "name": "request_cache.miss_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "request cache miss count", "name": "pri.request_cache.miss_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ft", "flushTotal" ], "description": "number of flushes", "name": "flush.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of flushes", "name": "pri.flush.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ftt", "flushTotalTime" ], "description": "time spent in flush", "name": "flush.total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "time spent in flush", "name": "pri.flush.total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "gc", "getCurrent" ], "description": "number of current get ops", "name": "get.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of current get ops", "name": "pri.get.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "gti", "getTime" ], "description": "time spent in get", "name": "get.time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "time spent in get", "name": "pri.get.time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "gto", "getTotal" ], "description": "number of get ops", "name": "get.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of get ops", "name": "pri.get.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "geti", "getExistsTime" ], "description": "time spent in successful gets", "name": "get.exists_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "time spent in successful gets", "name": "pri.get.exists_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "geto", "getExistsTotal" ], "description": "number of successful gets", "name": "get.exists_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of successful gets", "name": "pri.get.exists_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "gmti", "getMissingTime" ], "description": "time spent in failed gets", "name": "get.missing_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "time spent in failed gets", "name": "pri.get.missing_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "gmto", "getMissingTotal" ], "description": "number of failed gets", "name": "get.missing_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of failed gets", "name": "pri.get.missing_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "idc", "indexingDeleteCurrent" ], "description": "number of current deletions", "name": "indexing.delete_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of current deletions", "name": "pri.indexing.delete_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "idti", "indexingDeleteTime" ], "description": "time spent in deletions", "name": "indexing.delete_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "time spent in deletions", "name": "pri.indexing.delete_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "idto", "indexingDeleteTotal" ], "description": "number of delete ops", "name": "indexing.delete_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of delete ops", "name": "pri.indexing.delete_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "iic", "indexingIndexCurrent" ], "description": "number of current indexing ops", "name": "indexing.index_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of current indexing ops", "name": "pri.indexing.index_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "iiti", "indexingIndexTime" ], "description": "time spent in indexing", "name": "indexing.index_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "time spent in indexing", "name": "pri.indexing.index_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "iito", "indexingIndexTotal" ], "description": "number of indexing ops", "name": "indexing.index_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of indexing ops", "name": "pri.indexing.index_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "iif", "indexingIndexFailed" ], "description": "number of failed indexing ops", "name": "indexing.index_failed", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of failed indexing ops", "name": "pri.indexing.index_failed", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mc", "mergesCurrent" ], "description": "number of current merges", "name": "merges.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of current merges", "name": "pri.merges.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mcd", "mergesCurrentDocs" ], "description": "number of current merging docs", "name": "merges.current_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of current merging docs", "name": "pri.merges.current_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mcs", "mergesCurrentSize" ], "description": "size of current merges", "name": "merges.current_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "size of current merges", "name": "pri.merges.current_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mt", "mergesTotal" ], "description": "number of completed merge ops", "name": "merges.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of completed merge ops", "name": "pri.merges.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mtd", "mergesTotalDocs" ], "description": "docs merged", "name": "merges.total_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "docs merged", "name": "pri.merges.total_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mts", "mergesTotalSize" ], "description": "size merged", "name": "merges.total_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "size merged", "name": "pri.merges.total_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mtt", "mergesTotalTime" ], "description": "time spent in merges", "name": "merges.total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "time spent in merges", "name": "pri.merges.total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rto", "refreshTotal" ], "description": "total refreshes", "name": "refresh.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "total refreshes", "name": "pri.refresh.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rti", "refreshTime" ], "description": "time spent in refreshes", "name": "refresh.time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "time spent in refreshes", "name": "pri.refresh.time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "reto" ], "description": "total external refreshes", "name": "refresh.external_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "total external refreshes", "name": "pri.refresh.external_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "reti" ], "description": "time spent in external refreshes", "name": "refresh.external_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "time spent in external refreshes", "name": "pri.refresh.external_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rli", "refreshListeners" ], "description": "number of pending refresh listeners", "name": "refresh.listeners", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of pending refresh listeners", "name": "pri.refresh.listeners", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sfc", "searchFetchCurrent" ], "description": "current fetch phase ops", "name": "search.fetch_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "current fetch phase ops", "name": "pri.search.fetch_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sfti", "searchFetchTime" ], "description": "time spent in fetch phase", "name": "search.fetch_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "time spent in fetch phase", "name": "pri.search.fetch_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sfto", "searchFetchTotal" ], "description": "total fetch ops", "name": "search.fetch_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "total fetch ops", "name": "pri.search.fetch_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "so", "searchOpenContexts" ], "description": "open search contexts", "name": "search.open_contexts", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "open search contexts", "name": "pri.search.open_contexts", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sqc", "searchQueryCurrent" ], "description": "current query phase ops", "name": "search.query_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "current query phase ops", "name": "pri.search.query_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sqti", "searchQueryTime" ], "description": "time spent in query phase", "name": "search.query_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "time spent in query phase", "name": "pri.search.query_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sqto", "searchQueryTotal" ], "description": "total query phase ops", "name": "search.query_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "total query phase ops", "name": "pri.search.query_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "scc", "searchScrollCurrent" ], "description": "open scroll contexts", "name": "search.scroll_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "open scroll contexts", "name": "pri.search.scroll_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "scti", "searchScrollTime" ], "description": "time scroll contexts held open", "name": "search.scroll_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "time scroll contexts held open", "name": "pri.search.scroll_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "scto", "searchScrollTotal" ], "description": "completed scroll contexts", "name": "search.scroll_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "completed scroll contexts", "name": "pri.search.scroll_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sc", "segmentsCount" ], "description": "number of segments", "name": "segments.count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of segments", "name": "pri.segments.count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sm", "segmentsMemory" ], "description": "memory used by segments", "name": "segments.memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "memory used by segments", "name": "pri.segments.memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "siwm", "segmentsIndexWriterMemory" ], "description": "memory used by index writer", "name": "segments.index_writer_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "memory used by index writer", "name": "pri.segments.index_writer_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "svmm", "segmentsVersionMapMemory" ], "description": "memory used by version map", "name": "segments.version_map_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "memory used by version map", "name": "pri.segments.version_map_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sfbm", "fixedBitsetMemory" ], "description": "memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields", "name": "segments.fixed_bitset_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields", "name": "pri.segments.fixed_bitset_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "wc", "warmerCurrent" ], "description": "current warmer ops", "name": "warmer.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "current warmer ops", "name": "pri.warmer.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "wto", "warmerTotal" ], "description": "total warmer ops", "name": "warmer.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "total warmer ops", "name": "pri.warmer.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "wtt", "warmerTotalTime" ], "description": "time spent in warmers", "name": "warmer.total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "time spent in warmers", "name": "pri.warmer.total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "suc", "suggestCurrent" ], "description": "number of current suggest ops", "name": "suggest.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of current suggest ops", "name": "pri.suggest.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "suti", "suggestTime" ], "description": "time spend in suggest", "name": "suggest.time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "time spend in suggest", "name": "pri.suggest.time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "suto", "suggestTotal" ], "description": "number of suggest ops", "name": "suggest.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of suggest ops", "name": "pri.suggest.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "tm", "memoryTotal" ], "description": "total used memory", "name": "memory.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "total user memory", "name": "pri.memory.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sth" ], "description": "indicates if the index is search throttled", "name": "search.throttled", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "bto", "bulkTotalOperation" ], "description": "number of bulk shard ops", "name": "bulk.total_operations", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "number of bulk shard ops", "name": "pri.bulk.total_operations", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "btti", "bulkTotalTime" ], "description": "time spend in shard bulk", "name": "bulk.total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "time spend in shard bulk", "name": "pri.bulk.total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "btsi", "bulkTotalSizeInBytes" ], "description": "total size in bytes of shard bulk", "name": "bulk.total_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "total size in bytes of shard bulk", "name": "pri.bulk.total_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "bati", "bulkAvgTime" ], "description": "average time spend in shard bulk", "name": "bulk.avg_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "average time spend in shard bulk", "name": "pri.bulk.avg_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "basi", "bulkAvgSizeInBytes" ], "description": "average size in bytes of shard bulk", "name": "bulk.avg_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "average size in bytes of shard bulk", "name": "pri.bulk.avg_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/indices/types.ts#L20-L801" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns high-level information about indices in a cluster, including backing indices for data streams.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console.\nThey are not intended for use by applications. For application consumption, use the get index API.\nUse the cat indices API to get the following information for each index in a cluster: shard count; document count; deleted document count; primary store size; total store size of all shards, including shard replicas.\nThese metrics are retrieved directly from Lucene, which Elasticsearch uses internally to power indexing and search. As a result, all document counts include hidden nested documents.\nTo get an accurate count of Elasticsearch documents, use the cat count or count APIs.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.indices" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "The unit used to display byte values.", "name": "bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Bytes", "namespace": "_types" } } }, { "description": "The type of index that wildcard patterns can match.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "The health status used to limit returned indices. By default, the response includes indices of any health status.", "name": "health", "required": false, "type": { "kind": "instance_of", "type": { "name": "HealthStatus", "namespace": "_types" } } }, { "description": "If true, the response includes information from segments that are not loaded into memory.", "name": "include_unloaded_segments", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, the response only includes information from primary shards.", "name": "pri", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The unit used to display time values.", "name": "time", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeUnit", "namespace": "_types" } } } ], "specLocation": "cat/indices/CatIndicesRequest.ts#L24-L68" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndicesRecord", "namespace": "cat.indices" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.indices" }, "specLocation": "cat/indices/CatIndicesResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "MasterRecord", "namespace": "cat.master" }, "properties": [ { "description": "node id", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "h" ], "description": "host name", "name": "host", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "ip address", "name": "ip", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "n" ], "description": "node name", "name": "node", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/master/types.ts#L20-L39" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about the master node, including the ID, bound IP address, and name.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.master" }, "path": [], "query": [], "specLocation": "cat/master/CatMasterRequest.ts#L22-L31" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "MasterRecord", "namespace": "cat.master" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.master" }, "specLocation": "cat/master/CatMasterResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "DataFrameAnalyticsRecord", "namespace": "cat.ml_data_frame_analytics" }, "properties": [ { "description": "The identifier for the job.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "aliases": [ "t" ], "description": "The type of analysis that the job performs.", "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ct", "createTime" ], "description": "The time when the job was created.", "name": "create_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "v" ], "description": "The version of Elasticsearch when the job was created.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "aliases": [ "si", "sourceIndex" ], "description": "The name of the source index.", "name": "source_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "aliases": [ "di", "destIndex" ], "description": "The name of the destination index.", "name": "dest_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "aliases": [ "d" ], "description": "A description of the job.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mml", "modelMemoryLimit" ], "description": "The approximate maximum amount of memory resources that are permitted for the job.", "name": "model_memory_limit", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "s" ], "description": "The current status of the job.", "name": "state", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fr", "failureReason" ], "description": "Messages about the reason why the job failed.", "name": "failure_reason", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "p" ], "description": "The progress report for the job by phase.", "name": "progress", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ae", "assignmentExplanation" ], "description": "Messages related to the selection of a node.", "name": "assignment_explanation", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ni", "nodeId" ], "description": "The unique identifier of the assigned node.", "name": "node.id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "aliases": [ "nn", "nodeName" ], "description": "The name of the assigned node.", "name": "node.name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "aliases": [ "ne", "nodeEphemeralId" ], "description": "The ephemeral identifier of the assigned node.", "name": "node.ephemeral_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "aliases": [ "na", "nodeAddress" ], "description": "The network address of the assigned node.", "name": "node.address", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/ml_data_frame_analytics/types.ts#L22-L102" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns configuration and usage information about data frame analytics jobs.\n\nIMPORTANT: cat APIs are only intended for human consumption using the Kibana\nconsole or command line. They are not intended for use by applications. For\napplication consumption, use the get data frame analytics jobs statistics API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.ml_data_frame_analytics" }, "path": [ { "description": "The ID of the data frame analytics to fetch", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Whether to ignore if a wildcard expression matches no configs. (This includes `_all` string or when no configs have been specified)", "name": "allow_no_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The unit in which to display byte values", "name": "bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Bytes", "namespace": "_types" } } }, { "description": "Comma-separated list of column names to display.", "name": "h", "required": false, "serverDefault": "create_time,id,state,type", "type": { "kind": "instance_of", "type": { "name": "CatDfaColumns", "namespace": "cat._types" } } }, { "description": "Comma-separated list of column names or column aliases used to sort the\nresponse.", "name": "s", "required": false, "type": { "kind": "instance_of", "type": { "name": "CatDfaColumns", "namespace": "cat._types" } } }, { "description": "Unit used to display time values.", "name": "time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "cat/ml_data_frame_analytics/CatDataFrameAnalyticsRequest.ts#L24-L58" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DataFrameAnalyticsRecord", "namespace": "cat.ml_data_frame_analytics" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.ml_data_frame_analytics" }, "specLocation": "cat/ml_data_frame_analytics/CatDataFrameAnalyticsResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "DatafeedsRecord", "namespace": "cat.ml_datafeeds" }, "properties": [ { "description": "The datafeed identifier.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "s" ], "description": "The status of the datafeed.", "name": "state", "required": false, "type": { "kind": "instance_of", "type": { "name": "DatafeedState", "namespace": "ml._types" } } }, { "aliases": [ "ae" ], "description": "For started datafeeds only, contains messages relating to the selection of a node.", "name": "assignment_explanation", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "bc", "bucketsCount" ], "description": "The number of buckets processed.", "name": "buckets.count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sc", "searchCount" ], "description": "The number of searches run by the datafeed.", "name": "search.count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "st", "searchTime" ], "description": "The total time the datafeed spent searching, in milliseconds.", "name": "search.time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sba", "searchBucketAvg" ], "description": "The average search time per bucket, in milliseconds.", "name": "search.bucket_avg", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "seah", "searchExpAvgHour" ], "description": "The exponential average search time per hour, in milliseconds.", "name": "search.exp_avg_hour", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ni", "nodeId" ], "description": "The unique identifier of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", "name": "node.id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "nn", "nodeName" ], "description": "The name of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", "name": "node.name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ne", "nodeEphemeralId" ], "description": "The ephemeral identifier of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", "name": "node.ephemeral_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "na", "nodeAddress" ], "description": "The network address of the assigned node.\nFor started datafeeds only, this information pertains to the node upon which the datafeed is started.", "name": "node.address", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/ml_datafeeds/types.ts#L22-L87" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns configuration and usage information about datafeeds.\nThis API returns a maximum of 10,000 datafeeds.\nIf the Elasticsearch security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage`\ncluster privileges to use this API.\n\nIMPORTANT: cat APIs are only intended for human consumption using the Kibana\nconsole or command line. They are not intended for use by applications. For\napplication consumption, use the get datafeed statistics API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.ml_datafeeds" }, "path": [ { "description": "A numerical character string that uniquely identifies the datafeed.", "name": "datafeed_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request:\n\n* Contains wildcard expressions and there are no datafeeds that match.\n* Contains the `_all` string or no identifiers and there are no matches.\n* Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty datafeeds array when there are no matches and the subset of results when\nthere are partial matches. If `false`, the API returns a 404 status code when there are no matches or only\npartial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Comma-separated list of column names to display.", "name": "h", "required": false, "serverDefault": "['bc', 'id', 'sc', 's']", "type": { "kind": "instance_of", "type": { "name": "CatDatafeedColumns", "namespace": "cat._types" } } }, { "description": "Comma-separated list of column names or column aliases used to sort the response.", "name": "s", "required": false, "type": { "kind": "instance_of", "type": { "name": "CatDatafeedColumns", "namespace": "cat._types" } } }, { "description": "The unit used to display time values.", "name": "time", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeUnit", "namespace": "_types" } } } ], "specLocation": "cat/ml_datafeeds/CatDatafeedsRequest.ts#L24-L73" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DatafeedsRecord", "namespace": "cat.ml_datafeeds" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.ml_datafeeds" }, "specLocation": "cat/ml_datafeeds/CatDatafeedsResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "JobsRecord", "namespace": "cat.ml_jobs" }, "properties": [ { "description": "The anomaly detection job identifier.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "aliases": [ "s" ], "description": "The status of the anomaly detection job.", "name": "state", "required": false, "type": { "kind": "instance_of", "type": { "name": "JobState", "namespace": "ml._types" } } }, { "aliases": [ "ot" ], "description": "For open jobs only, the amount of time the job has been opened.", "name": "opened_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ae" ], "description": "For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.", "name": "assignment_explanation", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dpr", "dataProcessedRecords" ], "description": "The number of input documents that have been processed by the anomaly detection job.\nThis value includes documents with missing fields, since they are nonetheless analyzed.\nIf you use datafeeds and have aggregations in your search query, the `processed_record_count` is the number of aggregation results processed, not the number of Elasticsearch documents.", "name": "data.processed_records", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dpf", "dataProcessedFields" ], "description": "The total number of fields in all the documents that have been processed by the anomaly detection job.\nOnly fields that are specified in the detector configuration object contribute to this count.\nThe timestamp is not included in this count.", "name": "data.processed_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dib", "dataInputBytes" ], "description": "The number of bytes of input data posted to the anomaly detection job.", "name": "data.input_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "aliases": [ "dir", "dataInputRecords" ], "description": "The number of input documents posted to the anomaly detection job.", "name": "data.input_records", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dif", "dataInputFields" ], "description": "The total number of fields in input documents posted to the anomaly detection job.\nThis count includes fields that are not used in the analysis.\nHowever, be aware that if you are using a datafeed, it extracts only the required fields from the documents it retrieves before posting them to the job.", "name": "data.input_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "did", "dataInvalidDates" ], "description": "The number of input documents with either a missing date field or a date that could not be parsed.", "name": "data.invalid_dates", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dmf", "dataMissingFields" ], "description": "The number of input documents that are missing a field that the anomaly detection job is configured to analyze.\nInput documents with missing fields are still processed because it is possible that not all fields are missing.\nIf you are using datafeeds or posting data to the job in JSON format, a high `missing_field_count` is often not an indication of data issues.\nIt is not necessarily a cause for concern.", "name": "data.missing_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "doot", "dataOutOfOrderTimestamps" ], "description": "The number of input documents that have a timestamp chronologically preceding the start of the current anomaly detection bucket offset by the latency window.\nThis information is applicable only when you provide data to the anomaly detection job by using the post data API.\nThese out of order documents are discarded, since jobs require time series data to be in ascending chronological order.", "name": "data.out_of_order_timestamps", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "deb", "dataEmptyBuckets" ], "description": "The number of buckets which did not contain any data.\nIf your data contains many empty buckets, consider increasing your `bucket_span` or using functions that are tolerant to gaps in data such as mean, `non_null_sum` or `non_zero_count`.", "name": "data.empty_buckets", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dsb", "dataSparseBuckets" ], "description": "The number of buckets that contained few data points compared to the expected number of data points.\nIf your data contains many sparse buckets, consider using a longer `bucket_span`.", "name": "data.sparse_buckets", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "db", "dataBuckets" ], "description": "The total number of buckets processed.", "name": "data.buckets", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "der", "dataEarliestRecord" ], "description": "The timestamp of the earliest chronologically input document.", "name": "data.earliest_record", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dlr", "dataLatestRecord" ], "description": "The timestamp of the latest chronologically input document.", "name": "data.latest_record", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dl", "dataLast" ], "description": "The timestamp at which data was last analyzed, according to server time.", "name": "data.last", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dleb", "dataLastEmptyBucket" ], "description": "The timestamp of the last bucket that did not contain any data.", "name": "data.last_empty_bucket", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dlsb", "dataLastSparseBucket" ], "description": "The timestamp of the last bucket that was considered sparse.", "name": "data.last_sparse_bucket", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mb", "modelBytes" ], "description": "The number of bytes of memory used by the models.\nThis is the maximum value since the last time the model was persisted.\nIf the job is closed, this value indicates the latest size.", "name": "model.bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "aliases": [ "mms", "modelMemoryStatus" ], "description": "The status of the mathematical models.", "name": "model.memory_status", "required": false, "type": { "kind": "instance_of", "type": { "name": "MemoryStatus", "namespace": "ml._types" } } }, { "aliases": [ "mbe", "modelBytesExceeded" ], "description": "The number of bytes over the high limit for memory usage at the last allocation failure.", "name": "model.bytes_exceeded", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "aliases": [ "mml", "modelMemoryLimit" ], "description": "The upper limit for model memory usage, checked on increasing values.", "name": "model.memory_limit", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mbf", "modelByFields" ], "description": "The number of `by` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", "name": "model.by_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mof", "modelOverFields" ], "description": "The number of `over` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", "name": "model.over_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mpf", "modelPartitionFields" ], "description": "The number of `partition` field values that were analyzed by the models.\nThis value is cumulative for all detectors in the job.", "name": "model.partition_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mbaf", "modelBucketAllocationFailures" ], "description": "The number of buckets for which new entities in incoming data were not processed due to insufficient model memory.\nThis situation is also signified by a `hard_limit: memory_status` property value.", "name": "model.bucket_allocation_failures", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mcs", "modelCategorizationStatus" ], "description": "The status of categorization for the job.", "name": "model.categorization_status", "required": false, "type": { "kind": "instance_of", "type": { "name": "CategorizationStatus", "namespace": "ml._types" } } }, { "aliases": [ "mcdc", "modelCategorizedDocCount" ], "description": "The number of documents that have had a field categorized.", "name": "model.categorized_doc_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mtcc", "modelTotalCategoryCount" ], "description": "The number of categories created by categorization.", "name": "model.total_category_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "modelFrequentCategoryCount" ], "description": "The number of categories that match more than 1% of categorized documents.", "name": "model.frequent_category_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mrcc", "modelRareCategoryCount" ], "description": "The number of categories that match just one categorized document.", "name": "model.rare_category_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mdcc", "modelDeadCategoryCount" ], "description": "The number of categories created by categorization that will never be assigned again because another category’s definition makes it a superset of the dead category.\nDead categories are a side effect of the way categorization has no prior training.", "name": "model.dead_category_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mfcc", "modelFailedCategoryCount" ], "description": "The number of times that categorization wanted to create a new category but couldn’t because the job had hit its `model_memory_limit`.\nThis count does not track which specific categories failed to be created.\nTherefore you cannot use this value to determine the number of unique categories that were missed.", "name": "model.failed_category_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mlt", "modelLogTime" ], "description": "The timestamp when the model stats were gathered, according to server time.", "name": "model.log_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mt", "modelTimestamp" ], "description": "The timestamp of the last record when the model stats were gathered.", "name": "model.timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ft", "forecastsTotal" ], "description": "The number of individual forecasts currently available for the job.\nA value of one or more indicates that forecasts exist.", "name": "forecasts.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fmmin", "forecastsMemoryMin" ], "description": "The minimum memory usage in bytes for forecasts related to the anomaly detection job.", "name": "forecasts.memory.min", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fmmax", "forecastsMemoryMax" ], "description": "The maximum memory usage in bytes for forecasts related to the anomaly detection job.", "name": "forecasts.memory.max", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fmavg", "forecastsMemoryAvg" ], "description": "The average memory usage in bytes for forecasts related to the anomaly detection job.", "name": "forecasts.memory.avg", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fmt", "forecastsMemoryTotal" ], "description": "The total memory usage in bytes for forecasts related to the anomaly detection job.", "name": "forecasts.memory.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "frmin", "forecastsRecordsMin" ], "description": "The minimum number of `model_forecast` documents written for forecasts related to the anomaly detection job.", "name": "forecasts.records.min", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "frmax", "forecastsRecordsMax" ], "description": "The maximum number of `model_forecast` documents written for forecasts related to the anomaly detection job.", "name": "forecasts.records.max", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fravg", "forecastsRecordsAvg" ], "description": "The average number of `model_forecast` documents written for forecasts related to the anomaly detection job.", "name": "forecasts.records.avg", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "frt", "forecastsRecordsTotal" ], "description": "The total number of `model_forecast` documents written for forecasts related to the anomaly detection job.", "name": "forecasts.records.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ftmin", "forecastsTimeMin" ], "description": "The minimum runtime in milliseconds for forecasts related to the anomaly detection job.", "name": "forecasts.time.min", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ftmax", "forecastsTimeMax" ], "description": "The maximum runtime in milliseconds for forecasts related to the anomaly detection job.", "name": "forecasts.time.max", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ftavg", "forecastsTimeAvg" ], "description": "The average runtime in milliseconds for forecasts related to the anomaly detection job.", "name": "forecasts.time.avg", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ftt", "forecastsTimeTotal" ], "description": "The total runtime in milliseconds for forecasts related to the anomaly detection job.", "name": "forecasts.time.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ni", "nodeId" ], "description": "The uniqe identifier of the assigned node.", "name": "node.id", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } }, { "aliases": [ "nn", "nodeName" ], "description": "The name of the assigned node.", "name": "node.name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ne", "nodeEphemeralId" ], "description": "The ephemeral identifier of the assigned node.", "name": "node.ephemeral_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } }, { "aliases": [ "na", "nodeAddress" ], "description": "The network address of the assigned node.", "name": "node.address", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "bc", "bucketsCount" ], "description": "The number of bucket results produced by the job.", "name": "buckets.count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "btt", "bucketsTimeTotal" ], "description": "The sum of all bucket processing times, in milliseconds.", "name": "buckets.time.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "btmin", "bucketsTimeMin" ], "description": "The minimum of all bucket processing times, in milliseconds.", "name": "buckets.time.min", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "btmax", "bucketsTimeMax" ], "description": "The maximum of all bucket processing times, in milliseconds.", "name": "buckets.time.max", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "btea", "bucketsTimeExpAvg" ], "description": "The exponential moving average of all bucket processing times, in milliseconds.", "name": "buckets.time.exp_avg", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "bteah", "bucketsTimeExpAvgHour" ], "description": "The exponential moving average of bucket processing times calculated in a one hour time window, in milliseconds.", "name": "buckets.time.exp_avg_hour", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/ml_jobs/types.ts#L24-L347" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns configuration and usage information for anomaly detection jobs.\nThis API returns a maximum of 10,000 jobs.\nIf the Elasticsearch security features are enabled, you must have `monitor_ml`,\n`monitor`, `manage_ml`, or `manage` cluster privileges to use this API.\n\nIMPORTANT: cat APIs are only intended for human consumption using the Kibana\nconsole or command line. They are not intended for use by applications. For\napplication consumption, use the get anomaly detection job statistics API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.ml_jobs" }, "path": [ { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request:\n\n* Contains wildcard expressions and there are no jobs that match.\n* Contains the `_all` string or no identifiers and there are no matches.\n* Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty jobs array when there are no matches and the subset of results when there\nare partial matches. If `false`, the API returns a 404 status code when there are no matches or only partial\nmatches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The unit used to display byte values.", "name": "bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Bytes", "namespace": "_types" } } }, { "description": "Comma-separated list of column names to display.", "name": "h", "required": false, "serverDefault": "buckets.count,data.processed_records,forecasts.total,id,model.bytes,model.memory_status,state", "type": { "kind": "instance_of", "type": { "name": "CatAnonalyDetectorColumns", "namespace": "cat._types" } } }, { "description": "Comma-separated list of column names or column aliases used to sort the response.", "name": "s", "required": false, "type": { "kind": "instance_of", "type": { "name": "CatAnonalyDetectorColumns", "namespace": "cat._types" } } }, { "description": "The unit used to display time values.", "name": "time", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeUnit", "namespace": "_types" } } } ], "specLocation": "cat/ml_jobs/CatJobsRequest.ts#L24-L77" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "JobsRecord", "namespace": "cat.ml_jobs" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.ml_jobs" }, "specLocation": "cat/ml_jobs/CatJobsResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns configuration and usage information about inference trained models.\n\nIMPORTANT: cat APIs are only intended for human consumption using the Kibana\nconsole or command line. They are not intended for use by applications. For\napplication consumption, use the get trained models statistics API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.ml_trained_models" }, "path": [ { "description": "A unique identifier for the trained model.", "name": "model_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request: contains wildcard expressions and there are no models that match; contains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there are only partial matches.\nIf `true`, the API returns an empty array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the API returns a 404 status code when there are no matches or only partial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The unit used to display byte values.", "name": "bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Bytes", "namespace": "_types" } } }, { "description": "A comma-separated list of column names to display.", "name": "h", "required": false, "type": { "kind": "instance_of", "type": { "name": "CatTrainedModelsColumns", "namespace": "cat._types" } } }, { "description": "A comma-separated list of column names or aliases used to sort the response.", "name": "s", "required": false, "type": { "kind": "instance_of", "type": { "name": "CatTrainedModelsColumns", "namespace": "cat._types" } } }, { "description": "Skips the specified number of transforms.", "name": "from", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum number of transforms to display.", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "cat/ml_trained_models/CatTrainedModelsRequest.ts#L24-L63" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TrainedModelsRecord", "namespace": "cat.ml_trained_models" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.ml_trained_models" }, "specLocation": "cat/ml_trained_models/CatTrainedModelsResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "TrainedModelsRecord", "namespace": "cat.ml_trained_models" }, "properties": [ { "description": "The model identifier.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "aliases": [ "c", "createdBy" ], "description": "Information about the creator of the model.", "name": "created_by", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "hs", "modelHeapSize" ], "description": "The estimated heap size to keep the model in memory.", "name": "heap_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "aliases": [ "o", "modelOperations" ], "description": "The estimated number of operations to use the model.\nThis number helps to measure the computational complexity of the model.", "name": "operations", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "l" ], "description": "The license level of the model.", "name": "license", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ct" ], "description": "The time the model was created.", "name": "create_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "aliases": [ "v" ], "description": "The version of Elasticsearch when the model was created.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "aliases": [ "d" ], "description": "A description of the model.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ip", "ingestPipelines" ], "description": "The number of pipelines that are referencing the model.", "name": "ingest.pipelines", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ic", "ingestCount" ], "description": "The total number of documents that are processed by the model.", "name": "ingest.count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "it", "ingestTime" ], "description": "The total time spent processing documents with thie model.", "name": "ingest.time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "icurr", "ingestCurrent" ], "description": "The total number of documents that are currently being handled by the model.", "name": "ingest.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "if", "ingestFailed" ], "description": "The total number of failed ingest attempts with the model.", "name": "ingest.failed", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dfid", "dataFrameAnalytics" ], "description": "The identifier for the data frame analytics job that created the model.\nOnly displayed if the job is still available.", "name": "data_frame.id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dft", "dataFrameAnalyticsTime" ], "description": "The time the data frame analytics job was created.", "name": "data_frame.create_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dfsi", "dataFrameAnalyticsSrcIndex" ], "description": "The source index used to train in the data frame analysis.", "name": "data_frame.source_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dfa", "dataFrameAnalyticsAnalysis" ], "description": "The analysis used by the data frame to build the model.", "name": "data_frame.analysis", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.0.0" } }, "name": "type", "required": false, "since": "8.0.0", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/ml_trained_models/types.ts#L23-L115" }, { "kind": "interface", "name": { "name": "NodeAttributesRecord", "namespace": "cat.nodeattrs" }, "properties": [ { "description": "The node name.", "name": "node", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The unique node identifier.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The process identifier.", "name": "pid", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "h" ], "description": "The host name.", "name": "host", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "i" ], "description": "The IP address.", "name": "ip", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The bound transport port.", "name": "port", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The attribute name.", "name": "attr", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The attribute value.", "name": "value", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/nodeattrs/types.ts#L20-L55" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about custom node attributes.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.nodeattrs" }, "path": [], "query": [], "specLocation": "cat/nodeattrs/CatNodeAttributesRequest.ts#L22-L31" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "NodeAttributesRecord", "namespace": "cat.nodeattrs" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.nodeattrs" }, "specLocation": "cat/nodeattrs/CatNodeAttributesResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "NodesRecord", "namespace": "cat.nodes" }, "properties": [ { "aliases": [ "nodeId" ], "description": "The unique node identifier.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "aliases": [ "p" ], "description": "The process identifier.", "name": "pid", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "i" ], "description": "The IP address.", "name": "ip", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "po" ], "description": "The bound transport port.", "name": "port", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "http" ], "description": "The bound HTTP address.", "name": "http_address", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "v" ], "description": "The Elasticsearch version.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "aliases": [ "f" ], "description": "The Elasticsearch distribution flavor.", "name": "flavor", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "t" ], "description": "The Elasticsearch distribution type.", "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "b" ], "description": "The Elasticsearch build hash.", "name": "build", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "j" ], "description": "The Java version.", "name": "jdk", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dt", "diskTotal" ], "description": "The total disk space.", "name": "disk.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "aliases": [ "du", "diskUsed" ], "description": "The used disk space.", "name": "disk.used", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "aliases": [ "d", "da", "disk", "diskAvail" ], "description": "The available disk space.", "name": "disk.avail", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "aliases": [ "dup", "diskUsedPercent" ], "description": "The used disk space percentage.", "name": "disk.used_percent", "required": false, "type": { "kind": "instance_of", "type": { "name": "Percentage", "namespace": "_types" } } }, { "aliases": [ "hc", "heapCurrent" ], "description": "The used heap.", "name": "heap.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "hp", "heapPercent" ], "description": "The used heap ratio.", "name": "heap.percent", "required": false, "type": { "kind": "instance_of", "type": { "name": "Percentage", "namespace": "_types" } } }, { "aliases": [ "hm", "heapMax" ], "description": "The maximum configured heap.", "name": "heap.max", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rc", "ramCurrent" ], "description": "The used machine memory.", "name": "ram.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rp", "ramPercent" ], "description": "The used machine memory ratio.", "name": "ram.percent", "required": false, "type": { "kind": "instance_of", "type": { "name": "Percentage", "namespace": "_types" } } }, { "aliases": [ "rn", "ramMax" ], "description": "The total machine memory.", "name": "ram.max", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fdc", "fileDescriptorCurrent" ], "description": "The used file descriptors.", "name": "file_desc.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fdp", "fileDescriptorPercent" ], "description": "The used file descriptor ratio.", "name": "file_desc.percent", "required": false, "type": { "kind": "instance_of", "type": { "name": "Percentage", "namespace": "_types" } } }, { "aliases": [ "fdm", "fileDescriptorMax" ], "description": "The maximum number of file descriptors.", "name": "file_desc.max", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The recent system CPU usage as a percentage.", "name": "cpu", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The load average for the most recent minute.", "name": "load_1m", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The load average for the last five minutes.", "name": "load_5m", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "l" ], "description": "The load average for the last fifteen minutes.", "name": "load_15m", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "u" ], "description": "The node uptime.", "name": "uptime", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "r", "role", "nodeRole" ], "description": "The roles of the node.\nReturned values include `c`(cold node), `d`(data node), `f`(frozen node), `h`(hot node), `i`(ingest node), `l`(machine learning node), `m` (master eligible node), `r`(remote cluster client node), `s`(content node), `t`(transform node), `v`(voting-only node), `w`(warm node),and `-`(coordinating node only).", "name": "node.role", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "m" ], "description": "Indicates whether the node is the elected master node.\nReturned values include `*`(elected master) and `-`(not elected master).", "name": "master", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "n" ], "description": "The node name.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "aliases": [ "cs", "completionSize" ], "description": "The size of completion.", "name": "completion.size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fm", "fielddataMemory" ], "description": "The used fielddata cache.", "name": "fielddata.memory_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fe", "fielddataEvictions" ], "description": "The fielddata evictions.", "name": "fielddata.evictions", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "qcm", "queryCacheMemory" ], "description": "The used query cache.", "name": "query_cache.memory_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "qce", "queryCacheEvictions" ], "description": "The query cache evictions.", "name": "query_cache.evictions", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "qchc", "queryCacheHitCount" ], "description": "The query cache hit counts.", "name": "query_cache.hit_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "qcmc", "queryCacheMissCount" ], "description": "The query cache miss counts.", "name": "query_cache.miss_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rcm", "requestCacheMemory" ], "description": "The used request cache.", "name": "request_cache.memory_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rce", "requestCacheEvictions" ], "description": "The request cache evictions.", "name": "request_cache.evictions", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rchc", "requestCacheHitCount" ], "description": "The request cache hit counts.", "name": "request_cache.hit_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rcmc", "requestCacheMissCount" ], "description": "The request cache miss counts.", "name": "request_cache.miss_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ft", "flushTotal" ], "description": "The number of flushes.", "name": "flush.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ftt", "flushTotalTime" ], "description": "The time spent in flush.", "name": "flush.total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "gc", "getCurrent" ], "description": "The number of current get ops.", "name": "get.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "gti", "getTime" ], "description": "The time spent in get.", "name": "get.time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "gto", "getTotal" ], "description": "The number of get ops.", "name": "get.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "geti", "getExistsTime" ], "description": "The time spent in successful gets.", "name": "get.exists_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "geto", "getExistsTotal" ], "description": "The number of successful get operations.", "name": "get.exists_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "gmti", "getMissingTime" ], "description": "The time spent in failed gets.", "name": "get.missing_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "gmto", "getMissingTotal" ], "description": "The number of failed gets.", "name": "get.missing_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "idc", "indexingDeleteCurrent" ], "description": "The number of current deletions.", "name": "indexing.delete_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "idti", "indexingDeleteTime" ], "description": "The time spent in deletions.", "name": "indexing.delete_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "idto", "indexingDeleteTotal" ], "description": "The number of delete operations.", "name": "indexing.delete_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "iic", "indexingIndexCurrent" ], "description": "The number of current indexing operations.", "name": "indexing.index_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "iiti", "indexingIndexTime" ], "description": "The time spent in indexing.", "name": "indexing.index_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "iito", "indexingIndexTotal" ], "description": "The number of indexing operations.", "name": "indexing.index_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "iif", "indexingIndexFailed" ], "description": "The number of failed indexing operations.", "name": "indexing.index_failed", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mc", "mergesCurrent" ], "description": "The number of current merges.", "name": "merges.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mcd", "mergesCurrentDocs" ], "description": "The number of current merging docs.", "name": "merges.current_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mcs", "mergesCurrentSize" ], "description": "The size of current merges.", "name": "merges.current_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mt", "mergesTotal" ], "description": "The number of completed merge operations.", "name": "merges.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mtd", "mergesTotalDocs" ], "description": "The docs merged.", "name": "merges.total_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mts", "mergesTotalSize" ], "description": "The size merged.", "name": "merges.total_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mtt", "mergesTotalTime" ], "description": "The time spent in merges.", "name": "merges.total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The total refreshes.", "name": "refresh.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The time spent in refreshes.", "name": "refresh.time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rto", "refreshTotal" ], "description": "The total external refreshes.", "name": "refresh.external_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rti", "refreshTime" ], "description": "The time spent in external refreshes.", "name": "refresh.external_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rli", "refreshListeners" ], "description": "The number of pending refresh listeners.", "name": "refresh.listeners", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "scrcc", "scriptCompilations" ], "description": "The total script compilations.", "name": "script.compilations", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "scrce", "scriptCacheEvictions" ], "description": "The total compiled scripts evicted from the cache.", "name": "script.cache_evictions", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "scrclt", "scriptCacheCompilationLimitTriggered" ], "description": "The script cache compilation limit triggered.", "name": "script.compilation_limit_triggered", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sfc", "searchFetchCurrent" ], "description": "The current fetch phase operations.", "name": "search.fetch_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sfti", "searchFetchTime" ], "description": "The time spent in fetch phase.", "name": "search.fetch_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sfto", "searchFetchTotal" ], "description": "The total fetch operations.", "name": "search.fetch_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "so", "searchOpenContexts" ], "description": "The open search contexts.", "name": "search.open_contexts", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sqc", "searchQueryCurrent" ], "description": "The current query phase operations.", "name": "search.query_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sqti", "searchQueryTime" ], "description": "The time spent in query phase.", "name": "search.query_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sqto", "searchQueryTotal" ], "description": "The total query phase operations.", "name": "search.query_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "scc", "searchScrollCurrent" ], "description": "The open scroll contexts.", "name": "search.scroll_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "scti", "searchScrollTime" ], "description": "The time scroll contexts held open.", "name": "search.scroll_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "scto", "searchScrollTotal" ], "description": "The completed scroll contexts.", "name": "search.scroll_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sc", "segmentsCount" ], "description": "The number of segments.", "name": "segments.count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sm", "segmentsMemory" ], "description": "The memory used by segments.", "name": "segments.memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "siwm", "segmentsIndexWriterMemory" ], "description": "The memory used by the index writer.", "name": "segments.index_writer_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "svmm", "segmentsVersionMapMemory" ], "description": "The memory used by the version map.", "name": "segments.version_map_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sfbm", "fixedBitsetMemory" ], "description": "The memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields.", "name": "segments.fixed_bitset_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "suc", "suggestCurrent" ], "description": "The number of current suggest operations.", "name": "suggest.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "suti", "suggestTime" ], "description": "The time spend in suggest.", "name": "suggest.time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "suto", "suggestTotal" ], "description": "The number of suggest operations.", "name": "suggest.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "bto", "bulkTotalOperations" ], "description": "The number of bulk shard operations.", "name": "bulk.total_operations", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "btti", "bulkTotalTime" ], "description": "The time spend in shard bulk.", "name": "bulk.total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "btsi", "bulkTotalSizeInBytes" ], "description": "The total size in bytes of shard bulk.", "name": "bulk.total_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "bati", "bulkAvgTime" ], "description": "The average time spend in shard bulk.", "name": "bulk.avg_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "basi", "bulkAvgSizeInBytes" ], "description": "The average size in bytes of shard bulk.", "name": "bulk.avg_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/nodes/types.ts#L23-L542" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about the nodes in a cluster.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.nodes" }, "path": [], "query": [ { "description": "The unit used to display byte values.", "name": "bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Bytes", "namespace": "_types" } } }, { "description": "If `true`, return the full node ID. If `false`, return the shortened node ID.", "name": "full_id", "required": false, "serverDefault": "false", "type": { "items": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "If true, the response includes information from segments that are not loaded into memory.", "name": "include_unloaded_segments", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "cat/nodes/CatNodesRequest.ts#L23-L49" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "NodesRecord", "namespace": "cat.nodes" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.nodes" }, "specLocation": "cat/nodes/CatNodesResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "PendingTasksRecord", "namespace": "cat.pending_tasks" }, "properties": [ { "aliases": [ "o" ], "description": "The task insertion order.", "name": "insertOrder", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "t" ], "description": "Indicates how long the task has been in queue.", "name": "timeInQueue", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "p" ], "description": "The task priority.", "name": "priority", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "s" ], "description": "The task source.", "name": "source", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/pending_tasks/types.ts#L20-L41" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns cluster-level changes that have not yet been executed.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the pending cluster tasks API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.pending_tasks" }, "path": [], "query": [], "specLocation": "cat/pending_tasks/CatPendingTasksRequest.ts#L22-L31" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "PendingTasksRecord", "namespace": "cat.pending_tasks" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.pending_tasks" }, "specLocation": "cat/pending_tasks/CatPendingTasksResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "PluginsRecord", "namespace": "cat.plugins" }, "properties": [ { "description": "The unique node identifier.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } }, { "aliases": [ "n" ], "description": "The node name.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "aliases": [ "c" ], "description": "The component name.", "name": "component", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "v" ], "description": "The component version.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "aliases": [ "d" ], "description": "The plugin details.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "t" ], "description": "The plugin type.", "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/plugins/types.ts#L22-L52" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns a list of plugins running on each node of a cluster.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.plugins" }, "path": [], "query": [], "specLocation": "cat/plugins/CatPluginsRequest.ts#L22-L31" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "PluginsRecord", "namespace": "cat.plugins" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.plugins" }, "specLocation": "cat/plugins/CatPluginsResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "RecoveryRecord", "namespace": "cat.recovery" }, "properties": [ { "aliases": [ "i", "idx" ], "description": "The index name.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "aliases": [ "s", "sh" ], "description": "The shard name.", "name": "shard", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "start" ], "description": "The recovery start time.", "name": "start_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "aliases": [ "start_millis" ], "description": "The recovery start time in epoch milliseconds.", "name": "start_time_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "aliases": [ "stop" ], "description": "The recovery stop time.", "name": "stop_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "aliases": [ "stop_millis" ], "description": "The recovery stop time in epoch milliseconds.", "name": "stop_time_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "aliases": [ "t", "ti" ], "description": "The recovery time.", "name": "time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "aliases": [ "ty" ], "description": "The recovery type.", "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "st" ], "description": "The recovery stage.", "name": "stage", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "shost" ], "description": "The source host.", "name": "source_host", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "snode" ], "description": "The source node name.", "name": "source_node", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "thost" ], "description": "The target host.", "name": "target_host", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "tnode" ], "description": "The target node name.", "name": "target_node", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rep" ], "description": "The repository name.", "name": "repository", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "snap" ], "description": "The snapshot name.", "name": "snapshot", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "f" ], "description": "The number of files to recover.", "name": "files", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fr" ], "description": "The files recovered.", "name": "files_recovered", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fp" ], "description": "The ratio of files recovered.", "name": "files_percent", "required": false, "type": { "kind": "instance_of", "type": { "name": "Percentage", "namespace": "_types" } } }, { "aliases": [ "tf" ], "description": "The total number of files.", "name": "files_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "b" ], "description": "The number of bytes to recover.", "name": "bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "br" ], "description": "The bytes recovered.", "name": "bytes_recovered", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "bp" ], "description": "The ratio of bytes recovered.", "name": "bytes_percent", "required": false, "type": { "kind": "instance_of", "type": { "name": "Percentage", "namespace": "_types" } } }, { "aliases": [ "tb" ], "description": "The total number of bytes.", "name": "bytes_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "to" ], "description": "The number of translog operations to recover.", "name": "translog_ops", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "tor" ], "description": "The translog operations recovered.", "name": "translog_ops_recovered", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "top" ], "description": "The ratio of translog operations recovered.", "name": "translog_ops_percent", "required": false, "type": { "kind": "instance_of", "type": { "name": "Percentage", "namespace": "_types" } } } ], "specLocation": "cat/recovery/types.ts#L24-L155" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about ongoing and completed shard recoveries.\nShard recovery is the process of initializing a shard copy, such as restoring a primary shard from a snapshot or syncing a replica shard from a primary shard. When a shard recovery completes, the recovered shard is available for search and indexing.\nFor data streams, the API returns information about the stream’s backing indices.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index recovery API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.recovery" }, "path": [ { "description": "A comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `true`, the response only includes ongoing shard recoveries.", "name": "active_only", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The unit used to display byte values.", "name": "bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Bytes", "namespace": "_types" } } }, { "description": "If `true`, the response includes detailed information about shard recoveries.", "name": "detailed", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "cat/recovery/CatRecoveryRequest.ts#L23-L59" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RecoveryRecord", "namespace": "cat.recovery" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.recovery" }, "specLocation": "cat/recovery/CatRecoveryResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "RepositoriesRecord", "namespace": "cat.repositories" }, "properties": [ { "aliases": [ "repoId" ], "description": "The unique repository identifier.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "t" ], "description": "The repository type.", "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/repositories/types.ts#L20-L31" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns the snapshot repositories for a cluster.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot repository API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.repositories" }, "path": [], "query": [], "specLocation": "cat/repositories/CatRepositoriesRequest.ts#L22-L31" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RepositoriesRecord", "namespace": "cat.repositories" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.repositories" }, "specLocation": "cat/repositories/CatRepositoriesResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns low-level information about the Lucene segments in index shards.\nFor data streams, the API returns information about the backing indices.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index segments API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.segments" }, "path": [ { "description": "A comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "The unit used to display byte values.", "name": "bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Bytes", "namespace": "_types" } } } ], "specLocation": "cat/segments/CatSegmentsRequest.ts#L23-L49" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SegmentsRecord", "namespace": "cat.segments" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.segments" }, "specLocation": "cat/segments/CatSegmentsResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "SegmentsRecord", "namespace": "cat.segments" }, "properties": [ { "aliases": [ "i", "idx" ], "description": "The index name.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "aliases": [ "s", "sh" ], "description": "The shard name.", "name": "shard", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "p", "pr", "primaryOrReplica" ], "description": "The shard type: `primary` or `replica`.", "name": "prirep", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The IP address of the node where it lives.", "name": "ip", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The unique identifier of the node where it lives.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } }, { "aliases": [ "seg" ], "description": "The segment name, which is derived from the segment generation and used internally to create file names in the directory of the shard.", "name": "segment", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "g", "gen" ], "description": "The segment generation number.\nElasticsearch increments this generation number for each segment written then uses this number to derive the segment name.", "name": "generation", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dc", "docsCount" ], "description": "The number of documents in the segment.\nThis excludes deleted documents and counts any nested documents separately from their parents.\nIt also excludes documents which were indexed recently and do not yet belong to a segment.", "name": "docs.count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dd", "docsDeleted" ], "description": "The number of deleted documents in the segment, which might be higher or lower than the number of delete operations you have performed.\nThis number excludes deletes that were performed recently and do not yet belong to a segment.\nDeleted documents are cleaned up by the automatic merge process if it makes sense to do so.\nAlso, Elasticsearch creates extra deleted documents to internally track the recent history of operations on a shard.", "name": "docs.deleted", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "si" ], "description": "The segment size in bytes.", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "aliases": [ "sm", "sizeMemory" ], "description": "The segment memory in bytes.\nA value of `-1` indicates Elasticsearch was unable to compute this number.", "name": "size.memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "aliases": [ "ic", "isCommitted" ], "description": "If `true`, the segment is synced to disk.\nSegments that are synced can survive a hard reboot.\nIf `false`, the data from uncommitted segments is also stored in the transaction log so that Elasticsearch is able to replay changes on the next start.", "name": "committed", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "is", "isSearchable" ], "description": "If `true`, the segment is searchable.\nIf `false`, the segment has most likely been written to disk but needs a refresh to be searchable.", "name": "searchable", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "v" ], "description": "The version of Lucene used to write the segment.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "aliases": [ "ico", "isCompound" ], "description": "If `true`, the segment is stored in a compound file.\nThis means Lucene merged all files from the segment in a single file to save file descriptors.", "name": "compound", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/segments/types.ts#L22-L107" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about the shards in a cluster.\nFor data streams, the API returns information about the backing indices.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.shards" }, "path": [ { "description": "A comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "The unit used to display byte values.", "name": "bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Bytes", "namespace": "_types" } } } ], "specLocation": "cat/shards/CatShardsRequest.ts#L23-L49" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ShardsRecord", "namespace": "cat.shards" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.shards" }, "specLocation": "cat/shards/CatShardsResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "ShardsRecord", "namespace": "cat.shards" }, "properties": [ { "aliases": [ "i", "idx" ], "description": "The index name.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "s", "sh" ], "description": "The shard name.", "name": "shard", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "p", "pr", "primaryOrReplica" ], "description": "The shard type: `primary` or `replica`.", "name": "prirep", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "st" ], "description": "The shard state.\nReturned values include:\n`INITIALIZING`: The shard is recovering from a peer shard or gateway.\n`RELOCATING`: The shard is relocating.\n`STARTED`: The shard has started.\n`UNASSIGNED`: The shard is not assigned to any node.", "name": "state", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "d", "dc" ], "description": "The number of documents in the shard.", "name": "docs", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "sto" ], "description": "The disk space used by the shard.", "name": "store", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "The IP address of the node.", "name": "ip", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "The unique identifier for the node.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "n" ], "description": "The name of node.", "name": "node", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "The sync identifier.", "name": "sync_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ur" ], "description": "The reason for the last change to the state of an unassigned shard.\nIt does not explain why the shard is currently unassigned; use the cluster allocation explain API for that information.\nReturned values include:\n`ALLOCATION_FAILED`: Unassigned as a result of a failed allocation of the shard.\n`CLUSTER_RECOVERED`: Unassigned as a result of a full cluster recovery.\n`DANGLING_INDEX_IMPORTED`: Unassigned as a result of importing a dangling index.\n`EXISTING_INDEX_RESTORED`: Unassigned as a result of restoring into a closed index.\n`FORCED_EMPTY_PRIMARY`: The shard’s allocation was last modified by forcing an empty primary using the cluster reroute API.\n`INDEX_CLOSED`: Unassigned because the index was closed.\n`INDEX_CREATED`: Unassigned as a result of an API creation of an index.\n`INDEX_REOPENED`: Unassigned as a result of opening a closed index.\n`MANUAL_ALLOCATION`: The shard’s allocation was last modified by the cluster reroute API.\n`NEW_INDEX_RESTORED`: Unassigned as a result of restoring into a new index.\n`NODE_LEFT`: Unassigned as a result of the node hosting it leaving the cluster.\n`NODE_RESTARTING`: Similar to `NODE_LEFT`, except that the node was registered as restarting using the node shutdown API.\n`PRIMARY_FAILED`: The shard was initializing as a replica, but the primary shard failed before the initialization completed.\n`REALLOCATED_REPLICA`: A better replica location is identified and causes the existing replica allocation to be cancelled.\n`REINITIALIZED`: When a shard moves from started back to initializing.\n`REPLICA_ADDED`: Unassigned as a result of explicit addition of a replica.\n`REROUTE_CANCELLED`: Unassigned as a result of explicit cancel reroute command.", "name": "unassigned.reason", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ua" ], "description": "The time at which the shard became unassigned in Coordinated Universal Time (UTC).", "name": "unassigned.at", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "uf" ], "description": "The time at which the shard was requested to be unassigned in Coordinated Universal Time (UTC).", "name": "unassigned.for", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ud" ], "description": "Additional details as to why the shard became unassigned.\nIt does not explain why the shard is not assigned; use the cluster allocation explain API for that information.", "name": "unassigned.details", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rs" ], "description": "The type of recovery source.", "name": "recoverysource.type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "cs", "completionSize" ], "description": "The size of completion.", "name": "completion.size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fm", "fielddataMemory" ], "description": "The used fielddata cache memory.", "name": "fielddata.memory_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fe", "fielddataEvictions" ], "description": "The fielddata cache evictions.", "name": "fielddata.evictions", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "qcm", "queryCacheMemory" ], "description": "The used query cache memory.", "name": "query_cache.memory_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "qce", "queryCacheEvictions" ], "description": "The query cache evictions.", "name": "query_cache.evictions", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ft", "flushTotal" ], "description": "The number of flushes.", "name": "flush.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ftt", "flushTotalTime" ], "description": "The time spent in flush.", "name": "flush.total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "gc", "getCurrent" ], "description": "The number of current get operations.", "name": "get.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "gti", "getTime" ], "description": "The time spent in get operations.", "name": "get.time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "gto", "getTotal" ], "description": "The number of get operations.", "name": "get.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "geti", "getExistsTime" ], "description": "The time spent in successful get operations.", "name": "get.exists_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "geto", "getExistsTotal" ], "description": "The number of successful get operations.", "name": "get.exists_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "gmti", "getMissingTime" ], "description": "The time spent in failed get operations.", "name": "get.missing_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "gmto", "getMissingTotal" ], "description": "The number of failed get operations.", "name": "get.missing_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "idc", "indexingDeleteCurrent" ], "description": "The number of current deletion operations.", "name": "indexing.delete_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "idti", "indexingDeleteTime" ], "description": "The time spent in deletion operations.", "name": "indexing.delete_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "idto", "indexingDeleteTotal" ], "description": "The number of delete operations.", "name": "indexing.delete_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "iic", "indexingIndexCurrent" ], "description": "The number of current indexing operations.", "name": "indexing.index_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "iiti", "indexingIndexTime" ], "description": "The time spent in indexing operations.", "name": "indexing.index_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "iito", "indexingIndexTotal" ], "description": "The number of indexing operations.", "name": "indexing.index_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "iif", "indexingIndexFailed" ], "description": "The number of failed indexing operations.", "name": "indexing.index_failed", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mc", "mergesCurrent" ], "description": "The number of current merge operations.", "name": "merges.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mcd", "mergesCurrentDocs" ], "description": "The number of current merging documents.", "name": "merges.current_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mcs", "mergesCurrentSize" ], "description": "The size of current merge operations.", "name": "merges.current_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mt", "mergesTotal" ], "description": "The number of completed merge operations.", "name": "merges.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mtd", "mergesTotalDocs" ], "description": "The nuber of merged documents.", "name": "merges.total_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mts", "mergesTotalSize" ], "description": "The size of current merges.", "name": "merges.total_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mtt", "mergesTotalTime" ], "description": "The time spent merging documents.", "name": "merges.total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The total number of refreshes.", "name": "refresh.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The time spent in refreshes.", "name": "refresh.time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rto", "refreshTotal" ], "description": "The total nunber of external refreshes.", "name": "refresh.external_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rti", "refreshTime" ], "description": "The time spent in external refreshes.", "name": "refresh.external_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "rli", "refreshListeners" ], "description": "The number of pending refresh listeners.", "name": "refresh.listeners", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sfc", "searchFetchCurrent" ], "description": "The current fetch phase operations.", "name": "search.fetch_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sfti", "searchFetchTime" ], "description": "The time spent in fetch phase.", "name": "search.fetch_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sfto", "searchFetchTotal" ], "description": "The total number of fetch operations.", "name": "search.fetch_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "so", "searchOpenContexts" ], "description": "The number of open search contexts.", "name": "search.open_contexts", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sqc", "searchQueryCurrent" ], "description": "The current query phase operations.", "name": "search.query_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sqti", "searchQueryTime" ], "description": "The time spent in query phase.", "name": "search.query_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sqto", "searchQueryTotal" ], "description": "The total number of query phase operations.", "name": "search.query_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "scc", "searchScrollCurrent" ], "description": "The open scroll contexts.", "name": "search.scroll_current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "scti", "searchScrollTime" ], "description": "The time scroll contexts were held open.", "name": "search.scroll_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "scto", "searchScrollTotal" ], "description": "The number of completed scroll contexts.", "name": "search.scroll_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sc", "segmentsCount" ], "description": "The number of segments.", "name": "segments.count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sm", "segmentsMemory" ], "description": "The memory used by segments.", "name": "segments.memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "siwm", "segmentsIndexWriterMemory" ], "description": "The memory used by the index writer.", "name": "segments.index_writer_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "svmm", "segmentsVersionMapMemory" ], "description": "The memory used by the version map.", "name": "segments.version_map_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sfbm", "fixedBitsetMemory" ], "description": "The memory used by fixed bit sets for nested object field types and export type filters for types referred in `_parent` fields.", "name": "segments.fixed_bitset_memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sqm", "maxSeqNo" ], "description": "The maximum sequence number.", "name": "seq_no.max", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sql", "localCheckpoint" ], "description": "The local checkpoint.", "name": "seq_no.local_checkpoint", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sqg", "globalCheckpoint" ], "description": "The global checkpoint.", "name": "seq_no.global_checkpoint", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "wc", "warmerCurrent" ], "description": "The number of current warmer operations.", "name": "warmer.current", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "wto", "warmerTotal" ], "description": "The total number of warmer operations.", "name": "warmer.total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "wtt", "warmerTotalTime" ], "description": "The time spent in warmer operations.", "name": "warmer.total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "pd", "dataPath" ], "description": "The shard data path.", "name": "path.data", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ps", "statsPath" ], "description": "The shard state path.", "name": "path.state", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "bto", "bulkTotalOperations" ], "description": "The number of bulk shard operations.", "name": "bulk.total_operations", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "btti", "bulkTotalTime" ], "description": "The time spent in shard bulk operations.", "name": "bulk.total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "btsi", "bulkTotalSizeInBytes" ], "description": "The total size in bytes of shard bulk operations.", "name": "bulk.total_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "bati", "bulkAvgTime" ], "description": "The average time spent in shard bulk operations.", "name": "bulk.avg_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "basi", "bulkAvgSizeInBytes" ], "description": "The average size in bytes of shard bulk operations.", "name": "bulk.avg_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/shards/types.ts#L20-L421" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about the snapshots stored in one or more repositories.\nA snapshot is a backup of an index or running Elasticsearch cluster.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.snapshots" }, "path": [ { "description": "A comma-separated list of snapshot repositories used to limit the request.\nAccepts wildcard expressions.\n`_all` returns all repositories.\nIf any repository fails during the request, Elasticsearch returns an error.", "name": "repository", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "If `true`, the response does not include information from unavailable snapshots.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "cat/snapshots/CatSnapshotsRequest.ts#L23-L50" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SnapshotsRecord", "namespace": "cat.snapshots" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.snapshots" }, "specLocation": "cat/snapshots/CatSnapshotsResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "SnapshotsRecord", "namespace": "cat.snapshots" }, "properties": [ { "aliases": [ "snapshot" ], "description": "The unique identifier for the snapshot.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "re", "repo" ], "description": "The repository name.", "name": "repository", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "s" ], "description": "The state of the snapshot process.\nReturned values include:\n`FAILED`: The snapshot process failed.\n`INCOMPATIBLE`: The snapshot process is incompatible with the current cluster version.\n`IN_PROGRESS`: The snapshot process started but has not completed.\n`PARTIAL`: The snapshot process completed with a partial success.\n`SUCCESS`: The snapshot process completed with a full success.", "name": "status", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ste", "startEpoch" ], "description": "The Unix epoch time (seconds since 1970-01-01 00:00:00) at which the snapshot process started.", "name": "start_epoch", "required": false, "type": { "generics": [ { "generics": [ { "kind": "instance_of", "type": { "name": "UnitSeconds", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "aliases": [ "sti", "startTime" ], "description": "The time (HH:MM:SS) at which the snapshot process started.", "name": "start_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScheduleTimeOfDay", "namespace": "watcher._types" } } }, { "aliases": [ "ete", "endEpoch" ], "description": "The Unix epoch time (seconds since 1970-01-01 00:00:00) at which the snapshot process ended.", "name": "end_epoch", "required": false, "type": { "generics": [ { "generics": [ { "kind": "instance_of", "type": { "name": "UnitSeconds", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "aliases": [ "eti", "endTime" ], "description": "The time (HH:MM:SS) at which the snapshot process ended.", "name": "end_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeOfDay", "namespace": "_types" } } }, { "aliases": [ "dur" ], "description": "The time it took the snapshot process to complete, in time units.", "name": "duration", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "aliases": [ "i" ], "description": "The number of indices in the snapshot.", "name": "indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ss" ], "description": "The number of successful shards in the snapshot.", "name": "successful_shards", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "fs" ], "description": "The number of failed shards in the snapshot.", "name": "failed_shards", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ts" ], "description": "The total number of shards in the snapshot.", "name": "total_shards", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "r" ], "description": "The reason for any snapshot failures.", "name": "reason", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/snapshots/types.ts#L24-L96" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about tasks currently executing in the cluster.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the task management API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.tasks" }, "path": [], "query": [ { "description": "The task action names, which are used to limit the response.", "name": "actions", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "If `true`, the response includes detailed information about shard recoveries.", "name": "detailed", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Unique node identifiers, which are used to limit the response.", "name": "node_id", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "The parent task identifier, which is used to limit the response.", "name": "parent_task_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/tasks/CatTasksRequest.ts#L23-L48" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TasksRecord", "namespace": "cat.tasks" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.tasks" }, "specLocation": "cat/tasks/CatTasksResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "TasksRecord", "namespace": "cat.tasks" }, "properties": [ { "description": "The identifier of the task with the node.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "aliases": [ "ac" ], "description": "The task action.", "name": "action", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ti" ], "description": "The unique task identifier.", "name": "task_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "aliases": [ "pti" ], "description": "The parent task identifier.", "name": "parent_task_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ty" ], "description": "The task type.", "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "start" ], "description": "The start time in milliseconds.", "name": "start_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ts", "hms", "hhmmss" ], "description": "The start time in `HH:MM:SS` format.", "name": "timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The running time in nanoseconds.", "name": "running_time_ns", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "time" ], "description": "The running time.", "name": "running_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "ni" ], "description": "The unique node identifier.", "name": "node_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } }, { "aliases": [ "i" ], "description": "The IP address for the node.", "name": "ip", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "po" ], "description": "The bound transport port for the node.", "name": "port", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "n" ], "description": "The node name.", "name": "node", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "v" ], "description": "The Elasticsearch version.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "aliases": [ "x" ], "description": "The X-Opaque-ID header.", "name": "x_opaque_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "desc" ], "description": "The task action description.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/tasks/types.ts#L22-L101" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about index templates in a cluster.\nYou can use index templates to apply index settings and field mappings to new indices at creation.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get index template API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.templates" }, "path": [ { "description": "The name of the template to return.\nAccepts wildcard expressions. If omitted, all templates are returned.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "cat/templates/CatTemplatesRequest.ts#L23-L41" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TemplatesRecord", "namespace": "cat.templates" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.templates" }, "specLocation": "cat/templates/CatTemplatesResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "TemplatesRecord", "namespace": "cat.templates" }, "properties": [ { "aliases": [ "n" ], "description": "The template name.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "aliases": [ "t" ], "description": "The template index patterns.", "name": "index_patterns", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "o", "p" ], "description": "The template application order or priority number.", "name": "order", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "v" ], "description": "The template version.", "name": "version", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "c" ], "description": "The component templates that comprise the index template.", "name": "composed_of", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/templates/types.ts#L22-L48" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns thread pool statistics for each node in a cluster.\nReturned information includes all built-in thread pools and custom thread pools.\nIMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.thread_pool" }, "path": [ { "description": "A comma-separated list of thread pool names used to limit the request.\nAccepts wildcard expressions.", "name": "thread_pool_patterns", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "The unit used to display time values.", "name": "time", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeUnit", "namespace": "_types" } } } ], "specLocation": "cat/thread_pool/CatThreadPoolRequest.ts#L24-L48" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ThreadPoolRecord", "namespace": "cat.thread_pool" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.thread_pool" }, "specLocation": "cat/thread_pool/CatThreadPoolResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "ThreadPoolRecord", "namespace": "cat.thread_pool" }, "properties": [ { "aliases": [ "nn" ], "description": "The node name.", "name": "node_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "id" ], "description": "The persistent node identifier.", "name": "node_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } }, { "aliases": [ "eid" ], "description": "The ephemeral node identifier.", "name": "ephemeral_node_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "p" ], "description": "The process identifier.", "name": "pid", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "h" ], "description": "The host name for the current node.", "name": "host", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "i" ], "description": "The IP address for the current node.", "name": "ip", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "po" ], "description": "The bound transport port for the current node.", "name": "port", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "n" ], "description": "The thread pool name.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "t" ], "description": "The thread pool type.\nReturned values include `fixed`, `fixed_auto_queue_size`, `direct`, and `scaling`.", "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "a" ], "description": "The number of active threads in the current thread pool.", "name": "active", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "psz" ], "description": "The number of threads in the current thread pool.", "name": "pool_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "q" ], "description": "The number of tasks currently in queue.", "name": "queue", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "qs" ], "description": "The maximum number of tasks permitted in the queue.", "name": "queue_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "r" ], "description": "The number of rejected tasks.", "name": "rejected", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "l" ], "description": "The highest number of active threads in the current thread pool.", "name": "largest", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "c" ], "description": "The number of completed tasks.", "name": "completed", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "cr" ], "description": "The core number of active threads allowed in a scaling thread pool.", "name": "core", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "mx" ], "description": "The maximum number of active threads allowed in a scaling thread pool.", "name": "max", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "sz" ], "description": "The number of active threads allowed in a fixed thread pool.", "name": "size", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "ka" ], "description": "The thread keep alive time.", "name": "keep_alive", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } } ], "specLocation": "cat/thread_pool/types.ts#L22-L124" }, { "attachedBehaviors": [ "CommonCatQueryParameters", "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns configuration and usage information about transforms.\n\nIMPORTANT: cat APIs are only intended for human consumption using the Kibana\nconsole or command line. They are not intended for use by applications. For\napplication consumption, use the get transform statistics API.", "inherits": { "type": { "name": "CatRequestBase", "namespace": "cat._types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cat.transforms" }, "path": [ { "description": "A transform identifier or a wildcard expression.\nIf you do not specify one of these options, the API returns information for all transforms.", "name": "transform_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request: contains wildcard expressions and there are no transforms that match; contains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there are only partial matches.\nIf `true`, it returns an empty transforms array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the request returns a 404 status code when there are no matches or only partial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Skips the specified number of transforms.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Comma-separated list of column names to display.", "name": "h", "required": false, "serverDefault": "changes_last_detection_time,checkpoint,checkpoint_progress,documents_processed,id,last_search_time,state", "type": { "kind": "instance_of", "type": { "name": "CatTransformColumns", "namespace": "cat._types" } } }, { "description": "Comma-separated list of column names or column aliases used to sort the response.", "name": "s", "required": false, "type": { "kind": "instance_of", "type": { "name": "CatTransformColumns", "namespace": "cat._types" } } }, { "description": "The unit used to display time values.", "name": "time", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeUnit", "namespace": "_types" } } }, { "description": "The maximum number of transforms to obtain.", "name": "size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "cat/transforms/CatTransformsRequest.ts#L25-L77" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TransformsRecord", "namespace": "cat.transforms" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cat.transforms" }, "specLocation": "cat/transforms/CatTransformsResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "TransformsRecord", "namespace": "cat.transforms" }, "properties": [ { "description": "The transform identifier.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "aliases": [ "s" ], "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.", "name": "state", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "c" ], "description": "The sequence number for the checkpoint.", "name": "checkpoint", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "docp", "documentsProcessed" ], "description": "The number of documents that have been processed from the source index of the transform.", "name": "documents_processed", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "cp", "checkpointProgress" ], "description": "The progress of the next checkpoint that is currently in progress.", "name": "checkpoint_progress", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "lst", "lastSearchTime" ], "description": "The timestamp of the last search in the source indices.\nThis field is shown only if the transform is running.", "name": "last_search_time", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "cldt" ], "description": "The timestamp when changes were last detected in the source indices.", "name": "changes_last_detection_time", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "aliases": [ "ct", "createTime" ], "description": "The time the transform was created.", "name": "create_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "v" ], "description": "The version of Elasticsearch that existed on the node when the transform was created.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "aliases": [ "si", "sourceIndex" ], "description": "The source indices for the transform.", "name": "source_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "di", "destIndex" ], "description": "The destination index for the transform.", "name": "dest_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "p" ], "description": "The unique identifier for the ingest pipeline.", "name": "pipeline", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "d" ], "description": "The description of the transform.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "tt" ], "description": "The type of transform: `batch` or `continuous`.", "name": "transform_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "f" ], "description": "The interval between checks for changes in the source indices when the transform is running continuously.", "name": "frequency", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "mpsz" ], "description": "The initial page size that is used for the composite aggregation for each checkpoint.", "name": "max_page_search_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dps" ], "description": "The number of input documents per second.", "name": "docs_per_second", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "r" ], "description": "If a transform has a `failed` state, these details describe the reason for failure.", "name": "reason", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "st" ], "description": "The total number of search operations on the source index for the transform.", "name": "search_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "sf" ], "description": "The total number of search failures.", "name": "search_failure", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "stime" ], "description": "The total amount of search time, in milliseconds.", "name": "search_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "it" ], "description": "The total number of index operations done by the transform.", "name": "index_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "if" ], "description": "The total number of indexing failures.", "name": "index_failure", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "itime" ], "description": "The total time spent indexing documents, in milliseconds.", "name": "index_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "doci" ], "description": "The number of documents that have been indexed into the destination index for the transform.", "name": "documents_indexed", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "dtime" ], "description": "The total time spent deleting documents, in milliseconds.", "name": "delete_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "docd" ], "description": "The number of documents deleted from the destination index due to the retention policy for the transform.", "name": "documents_deleted", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "tc" ], "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.", "name": "trigger_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "pp" ], "description": "The number of search or bulk index operations processed.\nDocuments are processed in batches instead of individually.", "name": "pages_processed", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "pt" ], "description": "The total time spent processing results, in milliseconds.", "name": "processing_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "cdtea", "checkpointTimeExpAvg" ], "description": "The exponential moving average of the duration of the checkpoint, in milliseconds.", "name": "checkpoint_duration_time_exp_avg", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "idea" ], "description": "The exponential moving average of the number of new documents that have been indexed.", "name": "indexed_documents_exp_avg", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "pdea" ], "description": "The exponential moving average of the number of documents that have been processed.", "name": "processed_documents_exp_avg", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cat/transforms/types.ts#L22-L197" }, { "kind": "interface", "name": { "name": "FollowIndexStats", "namespace": "ccr._types" }, "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "shards", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ShardStats", "namespace": "ccr._types" } } } } ], "specLocation": "ccr/_types/FollowIndexStats.ts#L30-L33" }, { "kind": "interface", "name": { "name": "ReadException", "namespace": "ccr._types" }, "properties": [ { "name": "exception", "required": true, "type": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } }, { "name": "from_seq_no", "required": true, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "name": "retries", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ccr/_types/FollowIndexStats.ts#L71-L75" }, { "kind": "interface", "name": { "name": "ShardStats", "namespace": "ccr._types" }, "properties": [ { "name": "bytes_read", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "failed_read_requests", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "failed_write_requests", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "fatal_exception", "required": false, "type": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } }, { "name": "follower_aliases_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "follower_global_checkpoint", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "follower_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "follower_mapping_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "follower_max_seq_no", "required": true, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "name": "follower_settings_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "last_requested_seq_no", "required": true, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "name": "leader_global_checkpoint", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "leader_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "leader_max_seq_no", "required": true, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "name": "operations_read", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "operations_written", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "outstanding_read_requests", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "outstanding_write_requests", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "read_exceptions", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ReadException", "namespace": "ccr._types" } } } }, { "name": "remote_cluster", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "shard_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "successful_read_requests", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "successful_write_requests", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "time_since_last_read", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "time_since_last_read_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "total_read_remote_exec_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_read_remote_exec_time_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "total_read_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_read_time_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "total_write_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_write_time_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "write_buffer_operation_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "write_buffer_size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } } ], "specLocation": "ccr/_types/FollowIndexStats.ts#L35-L69" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes auto-follow patterns.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ccr.delete_auto_follow_pattern" }, "path": [ { "description": "The name of the auto follow pattern.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "ccr/delete_auto_follow_pattern/DeleteAutoFollowPatternRequest.ts#L23-L32" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ccr.delete_auto_follow_pattern" }, "specLocation": "ccr/delete_auto_follow_pattern/DeleteAutoFollowPatternResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "leader_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "max_outstanding_read_requests", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_outstanding_write_requests", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_read_request_operation_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_read_request_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_retry_delay", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "max_write_buffer_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_write_buffer_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_write_request_operation_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_write_request_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "read_poll_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "remote_cluster", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Creates a new follower index configured to follow the referenced leader index.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ccr.follow" }, "path": [ { "description": "The name of the follower index", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "Sets the number of shard copies that must be active before returning. Defaults to 0. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)", "name": "wait_for_active_shards", "required": false, "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } } ], "specLocation": "ccr/follow/CreateFollowIndexRequest.ts#L25-L51" }, { "body": { "kind": "properties", "properties": [ { "name": "follow_index_created", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "follow_index_shards_acked", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index_following_started", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ccr.follow" }, "specLocation": "ccr/follow/CreateFollowIndexResponse.ts#L20-L26" }, { "kind": "interface", "name": { "name": "FollowerIndex", "namespace": "ccr.follow_info" }, "properties": [ { "name": "follower_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "leader_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "parameters", "required": false, "type": { "kind": "instance_of", "type": { "name": "FollowerIndexParameters", "namespace": "ccr.follow_info" } } }, { "name": "remote_cluster", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "FollowerIndexStatus", "namespace": "ccr.follow_info" } } } ], "specLocation": "ccr/follow_info/types.ts#L22-L28" }, { "kind": "interface", "name": { "name": "FollowerIndexParameters", "namespace": "ccr.follow_info" }, "properties": [ { "name": "max_outstanding_read_requests", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "max_outstanding_write_requests", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "max_read_request_operation_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "max_read_request_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_retry_delay", "required": true, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "max_write_buffer_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "max_write_buffer_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_write_request_operation_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "max_write_request_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "read_poll_timeout", "required": true, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ccr/follow_info/types.ts#L38-L49" }, { "kind": "enum", "members": [ { "name": "active" }, { "name": "paused" } ], "name": { "name": "FollowerIndexStatus", "namespace": "ccr.follow_info" }, "specLocation": "ccr/follow_info/types.ts#L30-L33" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves information about all follower indices, including parameters and status for each follower index", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ccr.follow_info" }, "path": [ { "description": "A comma-separated list of index patterns; use `_all` to perform the operation on all indices", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [], "specLocation": "ccr/follow_info/FollowInfoRequest.ts#L23-L32" }, { "body": { "kind": "properties", "properties": [ { "name": "follower_indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FollowerIndex", "namespace": "ccr.follow_info" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ccr.follow_info" }, "specLocation": "ccr/follow_info/FollowInfoResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ccr.follow_stats" }, "path": [ { "description": "A comma-separated list of index patterns; use `_all` to perform the operation on all indices", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [], "specLocation": "ccr/follow_stats/FollowIndexStatsRequest.ts#L23-L32" }, { "body": { "kind": "properties", "properties": [ { "name": "indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FollowIndexStats", "namespace": "ccr._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ccr.follow_stats" }, "specLocation": "ccr/follow_stats/FollowIndexStatsResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "follower_cluster", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "follower_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "follower_index_uuid", "required": false, "type": { "kind": "instance_of", "type": { "name": "Uuid", "namespace": "_types" } } }, { "name": "leader_remote_cluster", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Removes the follower retention leases from the leader.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ccr.forget_follower" }, "path": [ { "description": "the name of the leader index for which specified follower retention leases should be removed", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [], "specLocation": "ccr/forget_follower/ForgetFollowerIndexRequest.ts#L23-L38" }, { "body": { "kind": "properties", "properties": [ { "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ccr.forget_follower" }, "specLocation": "ccr/forget_follower/ForgetFollowerIndexResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "AutoFollowPattern", "namespace": "ccr.get_auto_follow_pattern" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "pattern", "required": true, "type": { "kind": "instance_of", "type": { "name": "AutoFollowPatternSummary", "namespace": "ccr.get_auto_follow_pattern" } } } ], "specLocation": "ccr/get_auto_follow_pattern/types.ts#L23-L26" }, { "kind": "interface", "name": { "name": "AutoFollowPatternSummary", "namespace": "ccr.get_auto_follow_pattern" }, "properties": [ { "name": "active", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The remote cluster containing the leader indices to match against.", "name": "remote_cluster", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The name of follower index.", "name": "follow_index_pattern", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexPattern", "namespace": "_types" } } }, { "description": "An array of simple index patterns to match against indices in the remote cluster specified by the remote_cluster field.", "name": "leader_index_patterns", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexPatterns", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.14.0" } }, "description": "An array of simple index patterns that can be used to exclude indices from being auto-followed.", "name": "leader_index_exclusion_patterns", "required": true, "since": "7.14.0", "type": { "kind": "instance_of", "type": { "name": "IndexPatterns", "namespace": "_types" } } }, { "description": "The maximum number of outstanding reads requests from the remote cluster.", "name": "max_outstanding_read_requests", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ccr/get_auto_follow_pattern/types.ts#L28-L52" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ccr.get_auto_follow_pattern" }, "path": [ { "description": "Specifies the auto-follow pattern collection that you want to retrieve. If you do not specify a name, the API returns information for all collections.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "ccr/get_auto_follow_pattern/GetAutoFollowPatternRequest.ts#L23-L33" }, { "body": { "kind": "properties", "properties": [ { "name": "patterns", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "AutoFollowPattern", "namespace": "ccr.get_auto_follow_pattern" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ccr.get_auto_follow_pattern" }, "specLocation": "ccr/get_auto_follow_pattern/GetAutoFollowPatternResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Pauses an auto-follow pattern", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ccr.pause_auto_follow_pattern" }, "path": [ { "description": "The name of the auto follow pattern that should pause discovering new indices to follow.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "ccr/pause_auto_follow_pattern/PauseAutoFollowPatternRequest.ts#L23-L32" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ccr.pause_auto_follow_pattern" }, "specLocation": "ccr/pause_auto_follow_pattern/PauseAutoFollowPatternResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Pauses a follower index. The follower index will not fetch any additional operations from the leader index.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ccr.pause_follow" }, "path": [ { "description": "The name of the follower index that should pause following its leader index.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [], "specLocation": "ccr/pause_follow/PauseFollowIndexRequest.ts#L23-L32" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ccr.pause_follow" }, "specLocation": "ccr/pause_follow/PauseFollowIndexResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The remote cluster containing the leader indices to match against.", "docId": "modules-remote-clusters", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/modules-remote-clusters.html", "name": "remote_cluster", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The name of follower index. The template {{leader_index}} can be used to derive the name of the follower index from the name of the leader index. When following a data stream, use {{leader_index}}; CCR does not support changes to the names of a follower data stream’s backing indices.", "name": "follow_index_pattern", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexPattern", "namespace": "_types" } } }, { "description": "An array of simple index patterns to match against indices in the remote cluster specified by the remote_cluster field.", "name": "leader_index_patterns", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexPatterns", "namespace": "_types" } } }, { "description": "An array of simple index patterns that can be used to exclude indices from being auto-followed. Indices in the remote cluster whose names are matching one or more leader_index_patterns and one or more leader_index_exclusion_patterns won’t be followed.", "name": "leader_index_exclusion_patterns", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexPatterns", "namespace": "_types" } } }, { "description": "The maximum number of outstanding reads requests from the remote cluster.", "name": "max_outstanding_read_requests", "required": false, "serverDefault": 12, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Settings to override from the leader index. Note that certain settings can not be overrode (e.g., index.number_of_shards).", "name": "settings", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "The maximum number of outstanding reads requests from the remote cluster.", "name": "max_outstanding_write_requests", "required": false, "serverDefault": 9, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum time to wait for new operations on the remote cluster when the follower index is synchronized with the leader index. When the timeout has elapsed, the poll for operations will return to the follower so that it can update some statistics. Then the follower will immediately attempt to read from the leader again.", "name": "read_poll_timeout", "required": false, "serverDefault": "1m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The maximum number of operations to pull per read from the remote cluster.", "name": "max_read_request_operation_count", "required": false, "serverDefault": 5120, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum size in bytes of per read of a batch of operations pulled from the remote cluster.", "name": "max_read_request_size", "required": false, "serverDefault": "32mb", "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "The maximum time to wait before retrying an operation that failed exceptionally. An exponential backoff strategy is employed when retrying.", "name": "max_retry_delay", "required": false, "serverDefault": "500ms", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The maximum number of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will be deferred until the number of queued operations goes below the limit.", "name": "max_write_buffer_count", "required": false, "serverDefault": 2147483647, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum total bytes of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will be deferred until the total bytes of queued operations goes below the limit.", "name": "max_write_buffer_size", "required": false, "serverDefault": "512mb", "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "The maximum number of operations per bulk write request executed on the follower.", "name": "max_write_request_operation_count", "required": false, "serverDefault": 5120, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum total bytes of operations per bulk write request executed on the follower.", "name": "max_write_request_size", "required": false, "serverDefault": "9223372036854775807b", "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } } ] }, "description": "Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ccr.put_auto_follow_pattern" }, "path": [ { "description": "The name of the collection of auto-follow patterns.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "ccr/put_auto_follow_pattern/PutAutoFollowPatternRequest.ts#L27-L112" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ccr.put_auto_follow_pattern" }, "specLocation": "ccr/put_auto_follow_pattern/PutAutoFollowPatternResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Resumes an auto-follow pattern that has been paused", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ccr.resume_auto_follow_pattern" }, "path": [ { "description": "The name of the auto follow pattern to resume discovering new indices to follow.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "ccr/resume_auto_follow_pattern/ResumeAutoFollowPatternRequest.ts#L23-L32" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ccr.resume_auto_follow_pattern" }, "specLocation": "ccr/resume_auto_follow_pattern/ResumeAutoFollowPatternResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "max_outstanding_read_requests", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_outstanding_write_requests", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_read_request_operation_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_read_request_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_retry_delay", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "max_write_buffer_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_write_buffer_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_write_request_operation_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_write_request_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "read_poll_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ] }, "description": "Resumes a follower index that has been paused", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ccr.resume_follow" }, "path": [ { "description": "The name of the follow index to resume following.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [], "specLocation": "ccr/resume_follow/ResumeFollowIndexRequest.ts#L25-L46" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ccr.resume_follow" }, "specLocation": "ccr/resume_follow/ResumeFollowIndexResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "AutoFollowStats", "namespace": "ccr.stats" }, "properties": [ { "name": "auto_followed_clusters", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "AutoFollowedCluster", "namespace": "ccr.stats" } } } }, { "name": "number_of_failed_follow_indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "number_of_failed_remote_cluster_state_requests", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "number_of_successful_follow_indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "recent_auto_follow_errors", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } } } ], "specLocation": "ccr/stats/types.ts.ts#L33-L39" }, { "kind": "interface", "name": { "name": "AutoFollowedCluster", "namespace": "ccr.stats" }, "properties": [ { "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "last_seen_metadata_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "time_since_last_check_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "ccr/stats/types.ts.ts#L27-L31" }, { "kind": "interface", "name": { "name": "FollowStats", "namespace": "ccr.stats" }, "properties": [ { "name": "indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FollowIndexStats", "namespace": "ccr._types" } } } } ], "specLocation": "ccr/stats/types.ts.ts#L41-L43" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Gets all stats related to cross-cluster replication.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ccr.stats" }, "path": [], "query": [], "specLocation": "ccr/stats/CcrStatsRequest.ts#L22-L27" }, { "body": { "kind": "properties", "properties": [ { "name": "auto_follow_stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "AutoFollowStats", "namespace": "ccr.stats" } } }, { "name": "follow_stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "FollowStats", "namespace": "ccr.stats" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ccr.stats" }, "specLocation": "ccr/stats/CcrStatsResponse.ts#L22-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ccr.unfollow" }, "path": [ { "description": "The name of the follower index that should be turned into a regular index.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [], "specLocation": "ccr/unfollow/UnfollowIndexRequest.ts#L23-L32" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ccr.unfollow" }, "specLocation": "ccr/unfollow/UnfollowIndexResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "ComponentTemplate", "namespace": "cluster._types" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "component_template", "required": true, "type": { "kind": "instance_of", "type": { "name": "ComponentTemplateNode", "namespace": "cluster._types" } } } ], "specLocation": "cluster/_types/ComponentTemplate.ts#L30-L33" }, { "kind": "interface", "name": { "name": "ComponentTemplateNode", "namespace": "cluster._types" }, "properties": [ { "name": "template", "required": true, "type": { "kind": "instance_of", "type": { "name": "ComponentTemplateSummary", "namespace": "cluster._types" } } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "docId": "mapping-meta-field", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-meta-field.html", "name": "_meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } } ], "specLocation": "cluster/_types/ComponentTemplate.ts#L35-L40" }, { "kind": "interface", "name": { "name": "ComponentTemplateSummary", "namespace": "cluster._types" }, "properties": [ { "docId": "mapping-meta-field", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-meta-field.html", "name": "_meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "settings", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "IndexSettings", "namespace": "indices._types" } } } }, { "name": "mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "TypeMapping", "namespace": "_types.mapping" } } }, { "name": "aliases", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AliasDefinition", "namespace": "indices._types" } } } }, { "availability": { "serverless": { "stability": "stable" }, "stack": { "since": "8.11.0", "stability": "stable" } }, "name": "lifecycle", "required": false, "since": "8.11.0", "stability": "stable", "type": { "kind": "instance_of", "type": { "name": "DataStreamLifecycleWithRollover", "namespace": "indices._types" } } } ], "specLocation": "cluster/_types/ComponentTemplate.ts#L42-L54" }, { "kind": "interface", "name": { "name": "AllocationDecision", "namespace": "cluster.allocation_explain" }, "properties": [ { "name": "decider", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "decision", "required": true, "type": { "kind": "instance_of", "type": { "name": "AllocationExplainDecision", "namespace": "cluster.allocation_explain" } } }, { "name": "explanation", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cluster/allocation_explain/types.ts#L26-L30" }, { "kind": "enum", "members": [ { "name": "NO" }, { "name": "YES" }, { "name": "THROTTLE" }, { "name": "ALWAYS" } ], "name": { "name": "AllocationExplainDecision", "namespace": "cluster.allocation_explain" }, "specLocation": "cluster/allocation_explain/types.ts#L32-L37" }, { "kind": "interface", "name": { "name": "AllocationStore", "namespace": "cluster.allocation_explain" }, "properties": [ { "name": "allocation_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "found", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "in_sync", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "matching_size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "matching_sync_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "store_exception", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cluster/allocation_explain/types.ts#L39-L46" }, { "kind": "interface", "name": { "name": "ClusterInfo", "namespace": "cluster.allocation_explain" }, "properties": [ { "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "NodeDiskUsage", "namespace": "cluster.allocation_explain" } } } }, { "name": "shard_sizes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } }, { "name": "shard_data_set_sizes", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "shard_paths", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "reserved_sizes", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ReservedSize", "namespace": "cluster.allocation_explain" } } } } ], "specLocation": "cluster/allocation_explain/types.ts#L48-L54" }, { "kind": "interface", "name": { "name": "CurrentNode", "namespace": "cluster.allocation_explain" }, "properties": [ { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "attributes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "transport_address", "required": true, "type": { "kind": "instance_of", "type": { "name": "TransportAddress", "namespace": "_types" } } }, { "name": "weight_ranking", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "cluster/allocation_explain/types.ts#L78-L84" }, { "kind": "enum", "members": [ { "name": "yes" }, { "name": "no" }, { "name": "worse_balance" }, { "name": "throttled" }, { "name": "awaiting_info" }, { "name": "allocation_delayed" }, { "name": "no_valid_shard_copy" }, { "name": "no_attempt" } ], "name": { "name": "Decision", "namespace": "cluster.allocation_explain" }, "specLocation": "cluster/allocation_explain/types.ts#L86-L95" }, { "kind": "interface", "name": { "name": "DiskUsage", "namespace": "cluster.allocation_explain" }, "properties": [ { "name": "path", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "total_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "used_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "free_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "free_disk_percent", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "used_disk_percent", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "cluster/allocation_explain/types.ts#L62-L69" }, { "kind": "interface", "name": { "name": "NodeAllocationExplanation", "namespace": "cluster.allocation_explain" }, "properties": [ { "name": "deciders", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "AllocationDecision", "namespace": "cluster.allocation_explain" } } } }, { "name": "node_attributes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "node_decision", "required": true, "type": { "kind": "instance_of", "type": { "name": "Decision", "namespace": "cluster.allocation_explain" } } }, { "name": "node_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "node_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "store", "required": false, "type": { "kind": "instance_of", "type": { "name": "AllocationStore", "namespace": "cluster.allocation_explain" } } }, { "name": "transport_address", "required": true, "type": { "kind": "instance_of", "type": { "name": "TransportAddress", "namespace": "_types" } } }, { "name": "weight_ranking", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "cluster/allocation_explain/types.ts#L97-L106" }, { "kind": "interface", "name": { "name": "NodeDiskUsage", "namespace": "cluster.allocation_explain" }, "properties": [ { "name": "node_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "least_available", "required": true, "type": { "kind": "instance_of", "type": { "name": "DiskUsage", "namespace": "cluster.allocation_explain" } } }, { "name": "most_available", "required": true, "type": { "kind": "instance_of", "type": { "name": "DiskUsage", "namespace": "cluster.allocation_explain" } } } ], "specLocation": "cluster/allocation_explain/types.ts#L56-L60" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Specifies the node ID or the name of the node to only explain a shard that is currently located on the specified node.", "name": "current_node", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Specifies the name of the index that you would like an explanation for.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "If true, returns explanation for the primary shard for the given shard ID.", "name": "primary", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies the ID of the shard that you would like an explanation for.", "name": "shard", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ] }, "description": "Provides explanations for shard allocations in the cluster.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cluster.allocation_explain" }, "path": [], "query": [ { "description": "If true, returns information about disk usage and shard sizes.", "name": "include_disk_info", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, returns YES decisions in explanation.", "name": "include_yes_decisions", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "cluster/allocation_explain/ClusterAllocationExplainRequest.ts#L24-L61" }, { "kind": "interface", "name": { "name": "ReservedSize", "namespace": "cluster.allocation_explain" }, "properties": [ { "name": "node_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "path", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "shards", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "cluster/allocation_explain/types.ts#L71-L76" }, { "body": { "kind": "properties", "properties": [ { "name": "allocate_explanation", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "allocation_delay", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "allocation_delay_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "can_allocate", "required": false, "type": { "kind": "instance_of", "type": { "name": "Decision", "namespace": "cluster.allocation_explain" } } }, { "name": "can_move_to_other_node", "required": false, "type": { "kind": "instance_of", "type": { "name": "Decision", "namespace": "cluster.allocation_explain" } } }, { "name": "can_rebalance_cluster", "required": false, "type": { "kind": "instance_of", "type": { "name": "Decision", "namespace": "cluster.allocation_explain" } } }, { "name": "can_rebalance_cluster_decisions", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "AllocationDecision", "namespace": "cluster.allocation_explain" } } } }, { "name": "can_rebalance_to_other_node", "required": false, "type": { "kind": "instance_of", "type": { "name": "Decision", "namespace": "cluster.allocation_explain" } } }, { "name": "can_remain_decisions", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "AllocationDecision", "namespace": "cluster.allocation_explain" } } } }, { "name": "can_remain_on_current_node", "required": false, "type": { "kind": "instance_of", "type": { "name": "Decision", "namespace": "cluster.allocation_explain" } } }, { "name": "cluster_info", "required": false, "type": { "kind": "instance_of", "type": { "name": "ClusterInfo", "namespace": "cluster.allocation_explain" } } }, { "name": "configured_delay", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "configured_delay_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "current_node", "required": false, "type": { "kind": "instance_of", "type": { "name": "CurrentNode", "namespace": "cluster.allocation_explain" } } }, { "name": "current_state", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "move_explanation", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "node_allocation_decisions", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "NodeAllocationExplanation", "namespace": "cluster.allocation_explain" } } } }, { "name": "primary", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "rebalance_explanation", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "remaining_delay", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "remaining_delay_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "shard", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "unassigned_info", "required": false, "type": { "kind": "instance_of", "type": { "name": "UnassignedInformation", "namespace": "cluster.allocation_explain" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.14.0" } }, "name": "note", "required": false, "since": "7.14.0", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "cluster.allocation_explain" }, "specLocation": "cluster/allocation_explain/ClusterAllocationExplainResponse.ts#L32-L64" }, { "kind": "interface", "name": { "name": "UnassignedInformation", "namespace": "cluster.allocation_explain" }, "properties": [ { "name": "at", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "last_allocation_status", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "reason", "required": true, "type": { "kind": "instance_of", "type": { "name": "UnassignedInformationReason", "namespace": "cluster.allocation_explain" } } }, { "name": "details", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "failed_allocation_attempts", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "delayed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "allocation_status", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cluster/allocation_explain/types.ts#L117-L125" }, { "kind": "enum", "members": [ { "name": "INDEX_CREATED" }, { "name": "CLUSTER_RECOVERED" }, { "name": "INDEX_REOPENED" }, { "name": "DANGLING_INDEX_IMPORTED" }, { "name": "NEW_INDEX_RESTORED" }, { "name": "EXISTING_INDEX_RESTORED" }, { "name": "REPLICA_ADDED" }, { "name": "ALLOCATION_FAILED" }, { "name": "NODE_LEFT" }, { "name": "REROUTE_CANCELLED" }, { "name": "REINITIALIZED" }, { "name": "REALLOCATED_REPLICA" }, { "name": "PRIMARY_FAILED" }, { "name": "FORCED_EMPTY_PRIMARY" }, { "name": "MANUAL_ALLOCATION" } ], "name": { "name": "UnassignedInformationReason", "namespace": "cluster.allocation_explain" }, "specLocation": "cluster/allocation_explain/types.ts#L127-L146" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes component templates.\nComponent templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cluster.delete_component_template" }, "path": [ { "description": "Comma-separated list or wildcard expression of component template names used to limit the request.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "cluster/delete_component_template/ClusterDeleteComponentTemplateRequest.ts#L24-L54" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "cluster.delete_component_template" }, "specLocation": "cluster/delete_component_template/ClusterDeleteComponentTemplateResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Clears cluster voting config exclusions.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cluster.delete_voting_config_exclusions" }, "path": [], "query": [ { "description": "Specifies whether to wait for all excluded nodes to be removed from the\ncluster before clearing the voting configuration exclusions list.\nDefaults to true, meaning that all excluded nodes must be removed from\nthe cluster before this API takes any action. If set to false then the\nvoting configuration exclusions list is cleared even if some excluded\nnodes are still in the cluster.", "name": "wait_for_removal", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "cluster/delete_voting_config_exclusions/ClusterDeleteVotingConfigExclusionsRequest.ts#L22-L40" }, { "body": { "kind": "no_body" }, "kind": "response", "name": { "name": "Response", "namespace": "cluster.delete_voting_config_exclusions" }, "specLocation": "cluster/delete_voting_config_exclusions/ClusterDeleteVotingConfigExclusionsResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about whether a particular component template exist", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cluster.exists_component_template" }, "path": [ { "description": "Comma-separated list of component template names used to limit the request.\nWildcard (*) expressions are supported.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If true, the request retrieves information from the local node only.\nDefaults to false, which means information is retrieved from the master node.", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "cluster/exists_component_template/ClusterComponentTemplateExistsRequest.ts#L24-L53" }, { "body": { "kind": "no_body" }, "kind": "response", "name": { "name": "Response", "namespace": "cluster.exists_component_template" }, "specLocation": "cluster/exists_component_template/ClusterComponentTemplateExistsResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves information about component templates.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cluster.get_component_template" }, "path": [ { "description": "Comma-separated list of component template names used to limit the request.\nWildcard (`*`) expressions are supported.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "If `true`, returns settings in flat format.", "name": "flat_settings", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "availability": { "serverless": { "stability": "stable" }, "stack": { "since": "8.11.0", "stability": "stable" } }, "description": "Return all default configurations for the component template (default: false)", "name": "include_defaults", "required": false, "serverDefault": false, "since": "8.11.0", "stability": "stable", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the request retrieves information from the local node only.\nIf `false`, information is retrieved from the master node.", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "cluster/get_component_template/ClusterGetComponentTemplateRequest.ts#L24-L65" }, { "body": { "kind": "properties", "properties": [ { "name": "component_templates", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ComponentTemplate", "namespace": "cluster._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "cluster.get_component_template" }, "specLocation": "cluster/get_component_template/ClusterGetComponentTemplateResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns cluster-wide settings.\nBy default, it returns only settings that have been explicitly defined.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cluster.get_settings" }, "path": [], "query": [ { "description": "If `true`, returns settings in flat format.", "name": "flat_settings", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, returns default cluster settings from the local node.", "name": "include_defaults", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "cluster/get_settings/ClusterGetSettingsRequest.ts#L23-L57" }, { "body": { "kind": "properties", "properties": [ { "name": "persistent", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "transient", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "defaults", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "cluster.get_settings" }, "specLocation": "cluster/get_settings/ClusterGetSettingsResponse.ts#L23-L29" }, { "kind": "interface", "name": { "name": "HealthResponseBody", "namespace": "cluster.health" }, "properties": [ { "description": "The number of active primary shards.", "name": "active_primary_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The total number of active primary and replica shards.", "name": "active_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The ratio of active shards in the cluster expressed as a percentage.", "name": "active_shards_percent_as_number", "required": true, "type": { "kind": "instance_of", "type": { "name": "Percentage", "namespace": "_types" } } }, { "description": "The name of the cluster.", "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "The number of shards whose allocation has been delayed by the timeout settings.", "name": "delayed_unassigned_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "indices", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "IndexHealthStats", "namespace": "cluster.health" } } } }, { "description": "The number of shards that are under initialization.", "name": "initializing_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of nodes that are dedicated data nodes.", "name": "number_of_data_nodes", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of unfinished fetches.", "name": "number_of_in_flight_fetch", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of nodes within the cluster.", "name": "number_of_nodes", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of cluster-level changes that have not yet been executed.", "name": "number_of_pending_tasks", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of shards that are under relocation.", "name": "relocating_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "HealthStatus", "namespace": "_types" } } }, { "description": "The time since the earliest initiated task is waiting for being performed.", "name": "task_max_waiting_in_queue", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The time expressed in milliseconds since the earliest initiated task is waiting for being performed.", "name": "task_max_waiting_in_queue_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "If false the response returned within the period of time that is specified by the timeout parameter (30s by default)", "name": "timed_out", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The number of shards that are not allocated.", "name": "unassigned_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "cluster/health/ClusterHealthResponse.ts#L39-L72" }, { "kind": "interface", "name": { "name": "IndexHealthStats", "namespace": "cluster.health" }, "properties": [ { "name": "active_primary_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "active_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "initializing_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "number_of_replicas", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "number_of_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "relocating_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "shards", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ShardHealthStats", "namespace": "cluster.health" } } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "HealthStatus", "namespace": "_types" } } }, { "name": "unassigned_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "cluster/health/types.ts#L24-L34" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices.\nThe cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cluster.health" }, "path": [ { "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request. Wildcard expressions (*) are supported. To target all data streams and indices in a cluster, omit this parameter or use _all or *.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "Can be one of cluster, indices or shards. Controls the details level of the health information returned.", "name": "level", "required": false, "serverDefault": "cluster", "type": { "kind": "instance_of", "type": { "name": "Level", "namespace": "_types" } } }, { "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "A number controlling to how many active shards to wait for, all to wait for all shards in the cluster to be active, or 0 to not wait.", "name": "wait_for_active_shards", "required": false, "serverDefault": "0", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } }, { "description": "Can be one of immediate, urgent, high, normal, low, languid. Wait until all currently queued events with the given priority are processed.", "name": "wait_for_events", "required": false, "type": { "kind": "instance_of", "type": { "name": "WaitForEvents", "namespace": "_types" } } }, { "description": "The request waits until the specified number N of nodes is available. It also accepts >=N, <=N, >N and yellow > red. By default, will not wait for any status.", "name": "wait_for_status", "required": false, "type": { "kind": "instance_of", "type": { "name": "HealthStatus", "namespace": "_types" } } } ], "specLocation": "cluster/health/ClusterHealthRequest.ts#L32-L98" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "HealthResponseBody", "namespace": "cluster.health" } } }, "exceptions": [ { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "HealthResponseBody", "namespace": "cluster.health" } } }, "statusCodes": [ 408 ] } ], "kind": "response", "name": { "name": "Response", "namespace": "cluster.health" }, "specLocation": "cluster/health/ClusterHealthResponse.ts#L26-L37" }, { "kind": "interface", "name": { "name": "ShardHealthStats", "namespace": "cluster.health" }, "properties": [ { "name": "active_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "initializing_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "primary_active", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "relocating_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "HealthStatus", "namespace": "_types" } } }, { "name": "unassigned_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "cluster/health/types.ts#L36-L43" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns different information about the cluster.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cluster.info" }, "path": [ { "description": "Limits the information returned to the specific target. Supports a comma-separated list, such as http,ingest.", "name": "target", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterInfoTargets", "namespace": "_types" } } } ], "query": [], "specLocation": "cluster/info/ClusterInfoRequest.ts#L23-L34" }, { "body": { "kind": "properties", "properties": [ { "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "http", "required": false, "type": { "kind": "instance_of", "type": { "name": "Http", "namespace": "nodes._types" } } }, { "name": "ingest", "required": false, "type": { "kind": "instance_of", "type": { "name": "Ingest", "namespace": "nodes._types" } } }, { "name": "thread_pool", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ThreadCount", "namespace": "nodes._types" } } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Scripting", "namespace": "nodes._types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "cluster.info" }, "specLocation": "cluster/info/ClusterInfoResponse.ts#L26-L34" }, { "kind": "interface", "name": { "name": "PendingTask", "namespace": "cluster.pending_tasks" }, "properties": [ { "description": "Indicates whether the pending tasks are currently executing or not.", "name": "executing", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The number that represents when the task has been inserted into the task queue.", "name": "insert_order", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The priority of the pending task.\nThe valid priorities in descending priority order are: `IMMEDIATE` > `URGENT` > `HIGH` > `NORMAL` > `LOW` > `LANGUID`.", "name": "priority", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A general description of the cluster task that may include a reason and origin.", "name": "source", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The time since the task is waiting for being performed.", "name": "time_in_queue", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The time expressed in milliseconds since the task is waiting for being performed.", "name": "time_in_queue_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "cluster/pending_tasks/types.ts#L23-L47" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns cluster-level changes (such as create index, update mapping, allocate or fail shard) that have not yet been executed.\nNOTE: This API returns a list of any pending updates to the cluster state.\nThese are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests.\nHowever, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cluster.pending_tasks" }, "path": [], "query": [ { "description": "If `true`, the request retrieves information from the local node only.\nIf `false`, information is retrieved from the master node.", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "cluster/pending_tasks/ClusterPendingTasksRequest.ts#L23-L48" }, { "body": { "kind": "properties", "properties": [ { "name": "tasks", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "PendingTask", "namespace": "cluster.pending_tasks" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "cluster.pending_tasks" }, "specLocation": "cluster/pending_tasks/ClusterPendingTasksResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Updates the cluster voting config exclusions by node ids or node names.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cluster.post_voting_config_exclusions" }, "path": [], "query": [ { "description": "A comma-separated list of the names of the nodes to exclude from the\nvoting configuration. If specified, you may not also specify node_ids.", "name": "node_names", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } }, { "description": "A comma-separated list of the persistent ids of the nodes to exclude\nfrom the voting configuration. If specified, you may not also specify node_names.", "name": "node_ids", "required": false, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } }, { "description": "When adding a voting configuration exclusion, the API waits for the\nspecified nodes to be excluded from the voting configuration before\nreturning. If the timeout expires before the appropriate condition\nis satisfied, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "cluster/post_voting_config_exclusions/ClusterPostVotingConfigExclusionsRequest.ts#L24-L50" }, { "body": { "kind": "no_body" }, "kind": "response", "name": { "name": "Response", "namespace": "cluster.post_voting_config_exclusions" }, "specLocation": "cluster/post_voting_config_exclusions/ClusterPostVotingConfigExclusionsResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The template to be applied which includes mappings, settings, or aliases configuration.", "name": "template", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexState", "namespace": "indices._types" } } }, { "description": "Version number used to manage component templates externally.\nThis number isn't automatically generated or incremented by Elasticsearch.\nTo unset a version, replace the template without specifying a version.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "Optional user metadata about the component template.\nMay have any contents. This map is not automatically generated by Elasticsearch.\nThis information is stored in the cluster state, so keeping it short is preferable.\nTo unset `_meta`, replace the template without specifying this information.", "name": "_meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "Marks this index template as deprecated. When creating or updating a non-deprecated index template\nthat uses deprecated components, Elasticsearch will emit a deprecation warning.", "name": "deprecated", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "description": "Creates or updates a component template.\nComponent templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.\n\nAn index template can be composed of multiple component templates.\nTo use a component template, specify it in an index template’s `composed_of` list.\nComponent templates are only applied to new data streams and indices as part of a matching index template.\n\nSettings and mappings specified directly in the index template or the create index request override any settings or mappings specified in a component template.\n\nComponent templates are only used during index creation.\nFor data streams, this includes data stream creation and the creation of a stream’s backing indices.\nChanges to component templates do not affect existing indices, including a stream’s backing indices.\n\nYou can use C-style `/* *\\/` block comments in component templates.\nYou can include comments anywhere in the request body except before the opening curly bracket.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cluster.put_component_template" }, "path": [ { "description": "Name of the component template to create.\nElasticsearch includes the following built-in component templates: `logs-mappings`; 'logs-settings`; `metrics-mappings`; `metrics-settings`;`synthetics-mapping`; `synthetics-settings`.\nElastic Agent uses these templates to configure backing indices for its data streams.\nIf you use Elastic Agent and want to overwrite one of these templates, set the `version` for your replacement template higher than the current version.\nIf you don’t use Elastic Agent and want to disable all built-in component and index templates, set `stack.templates.enabled` to `false` using the cluster update settings API.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "If `true`, this request cannot replace or update existing component templates.", "name": "create", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "cause", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cluster/put_component_template/ClusterPutComponentTemplateRequest.ts#L26-L96" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "cluster.put_component_template" }, "specLocation": "cluster/put_component_template/ClusterPutComponentTemplateResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "persistent", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "transient", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ] }, "description": "Updates the cluster settings.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cluster.put_settings" }, "path": [], "query": [ { "description": "Return settings in flat format (default: false)", "name": "flat_settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Explicit operation timeout for connection to master node", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Explicit operation timeout", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "cluster/put_settings/ClusterPutSettingsRequest.ts#L25-L43" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "persistent", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "transient", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "cluster.put_settings" }, "specLocation": "cluster/put_settings/ClusterPutSettingsResponse.ts#L23-L29" }, { "kind": "type_alias", "name": { "name": "ClusterRemoteInfo", "namespace": "cluster.remote_info" }, "specLocation": "cluster/remote_info/ClusterRemoteInfoResponse.ts#L29-L30", "type": { "items": [ { "kind": "instance_of", "type": { "name": "ClusterRemoteSniffInfo", "namespace": "cluster.remote_info" } }, { "kind": "instance_of", "type": { "name": "ClusterRemoteProxyInfo", "namespace": "cluster.remote_info" } } ], "kind": "union_of" }, "variants": { "kind": "internal_tag", "tag": "mode" } }, { "kind": "interface", "name": { "name": "ClusterRemoteProxyInfo", "namespace": "cluster.remote_info" }, "properties": [ { "name": "mode", "required": true, "type": { "kind": "literal_value", "value": "proxy" } }, { "name": "connected", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "initial_connect_timeout", "required": true, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "skip_unavailable", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "proxy_address", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "server_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "num_proxy_sockets_connected", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "max_proxy_socket_connections", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "cluster/remote_info/ClusterRemoteInfoResponse.ts#L42-L51" }, { "kind": "interface", "name": { "name": "ClusterRemoteSniffInfo", "namespace": "cluster.remote_info" }, "properties": [ { "name": "mode", "required": true, "type": { "kind": "literal_value", "value": "sniff" } }, { "name": "connected", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "max_connections_per_cluster", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "num_nodes_connected", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "initial_connect_timeout", "required": true, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "skip_unavailable", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "seeds", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "cluster/remote_info/ClusterRemoteInfoResponse.ts#L32-L40" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "The cluster remote info API allows you to retrieve all of the configured\nremote cluster information. It returns connection and endpoint information\nkeyed by the configured remote cluster alias.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cluster.remote_info" }, "path": [], "query": [], "specLocation": "cluster/remote_info/ClusterRemoteInfoRequest.ts#L23-L31" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ClusterRemoteInfo", "namespace": "cluster.remote_info" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "cluster.remote_info" }, "specLocation": "cluster/remote_info/ClusterRemoteInfoResponse.ts#L24-L27" }, { "kind": "interface", "name": { "name": "Command", "namespace": "cluster.reroute" }, "properties": [ { "description": "Cancel allocation of a shard (or recovery). Accepts index and shard for index name and shard number, and node for the node to cancel the shard allocation on. This can be used to force resynchronization of existing replicas from the primary shard by cancelling them and allowing them to be reinitialized through the standard recovery process. By default only replica shard allocations can be cancelled. If it is necessary to cancel the allocation of a primary shard then the allow_primary flag must also be included in the request.", "name": "cancel", "required": false, "type": { "kind": "instance_of", "type": { "name": "CommandCancelAction", "namespace": "cluster.reroute" } } }, { "description": "Move a started shard from one node to another node. Accepts index and shard for index name and shard number, from_node for the node to move the shard from, and to_node for the node to move the shard to.", "name": "move", "required": false, "type": { "kind": "instance_of", "type": { "name": "CommandMoveAction", "namespace": "cluster.reroute" } } }, { "description": "Allocate an unassigned replica shard to a node. Accepts index and shard for index name and shard number, and node to allocate the shard to. Takes allocation deciders into account.", "name": "allocate_replica", "required": false, "type": { "kind": "instance_of", "type": { "name": "CommandAllocateReplicaAction", "namespace": "cluster.reroute" } } }, { "description": "Allocate a primary shard to a node that holds a stale copy. Accepts the index and shard for index name and shard number, and node to allocate the shard to. Using this command may lead to data loss for the provided shard id. If a node which has the good copy of the data rejoins the cluster later on, that data will be deleted or overwritten with the data of the stale copy that was forcefully allocated with this command. To ensure that these implications are well-understood, this command requires the flag accept_data_loss to be explicitly set to true.", "name": "allocate_stale_primary", "required": false, "type": { "kind": "instance_of", "type": { "name": "CommandAllocatePrimaryAction", "namespace": "cluster.reroute" } } }, { "description": "Allocate an empty primary shard to a node. Accepts the index and shard for index name and shard number, and node to allocate the shard to. Using this command leads to a complete loss of all data that was indexed into this shard, if it was previously started. If a node which has a copy of the data rejoins the cluster later on, that data will be deleted. To ensure that these implications are well-understood, this command requires the flag accept_data_loss to be explicitly set to true.", "name": "allocate_empty_primary", "required": false, "type": { "kind": "instance_of", "type": { "name": "CommandAllocatePrimaryAction", "namespace": "cluster.reroute" } } } ], "specLocation": "cluster/reroute/types.ts#L22-L43" }, { "kind": "interface", "name": { "name": "CommandAllocatePrimaryAction", "namespace": "cluster.reroute" }, "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "shard", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If a node which has a copy of the data rejoins the cluster later on, that data will be deleted. To ensure that these implications are well-understood, this command requires the flag accept_data_loss to be explicitly set to true", "name": "accept_data_loss", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "cluster/reroute/types.ts#L78-L84" }, { "docId": "modules-cluster", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/modules-cluster.html", "kind": "interface", "name": { "name": "CommandAllocateReplicaAction", "namespace": "cluster.reroute" }, "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "shard", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cluster/reroute/types.ts#L69-L76" }, { "kind": "interface", "name": { "name": "CommandCancelAction", "namespace": "cluster.reroute" }, "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "shard", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "allow_primary", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "cluster/reroute/types.ts#L45-L50" }, { "kind": "interface", "name": { "name": "CommandMoveAction", "namespace": "cluster.reroute" }, "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "shard", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The node to move the shard from", "name": "from_node", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The node to move the shard to", "name": "to_node", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cluster/reroute/types.ts#L60-L67" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Defines the commands to perform.", "name": "commands", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Command", "namespace": "cluster.reroute" } } } } ] }, "description": "Allows to manually change the allocation of individual shards in the cluster.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cluster.reroute" }, "path": [], "query": [ { "description": "If true, then the request simulates the operation only and returns the resulting state.", "name": "dry_run", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, then the response contains an explanation of why the commands can or cannot be executed.", "name": "explain", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Limits the information returned to the specified metrics.", "name": "metric", "required": false, "serverDefault": "all", "type": { "kind": "instance_of", "type": { "name": "Metrics", "namespace": "_types" } } }, { "description": "If true, then retries allocation of shards that are blocked due to too many subsequent allocation failures.", "name": "retry_failed", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "cluster/reroute/ClusterRerouteRequest.ts#L25-L70" }, { "kind": "interface", "name": { "name": "RerouteDecision", "namespace": "cluster.reroute" }, "properties": [ { "name": "decider", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "decision", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "explanation", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cluster/reroute/types.ts#L86-L90" }, { "kind": "interface", "name": { "name": "RerouteExplanation", "namespace": "cluster.reroute" }, "properties": [ { "name": "command", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "decisions", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RerouteDecision", "namespace": "cluster.reroute" } } } }, { "name": "parameters", "required": true, "type": { "kind": "instance_of", "type": { "name": "RerouteParameters", "namespace": "cluster.reroute" } } } ], "specLocation": "cluster/reroute/types.ts#L92-L96" }, { "kind": "interface", "name": { "name": "RerouteParameters", "namespace": "cluster.reroute" }, "properties": [ { "name": "allow_primary", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeName", "namespace": "_types" } } }, { "name": "shard", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "from_node", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeName", "namespace": "_types" } } }, { "name": "to_node", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeName", "namespace": "_types" } } } ], "specLocation": "cluster/reroute/types.ts#L98-L105" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "explanations", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RerouteExplanation", "namespace": "cluster.reroute" } } } }, { "description": "There aren't any guarantees on the output/structure of the raw cluster state.\nHere you will find the internal representation of the cluster, which can\ndiffer from the external representation.", "name": "state", "required": false, "type": { "kind": "user_defined_value" } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "cluster.reroute" }, "specLocation": "cluster/reroute/ClusterRerouteResponse.ts#L23-L34" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns a comprehensive information about the state of the cluster.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cluster.state" }, "path": [ { "description": "Limit the information returned to the specified metrics", "name": "metric", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metrics", "namespace": "_types" } } }, { "description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "Return settings in flat format (default: false)", "name": "flat_settings", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Return local information, do not retrieve the state from master node (default: false)", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specify timeout for connection to master", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Wait for the metadata version to be equal or greater than the specified metadata version", "name": "wait_for_metadata_version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "The maximum time to wait for wait_for_metadata_version before timing out", "name": "wait_for_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "cluster/state/ClusterStateRequest.ts#L29-L56" }, { "body": { "kind": "value", "value": { "kind": "user_defined_value" } }, "kind": "response", "name": { "name": "Response", "namespace": "cluster.state" }, "specLocation": "cluster/state/ClusterStateResponse.ts#L22-L29" }, { "kind": "interface", "name": { "name": "CharFilterTypes", "namespace": "cluster.stats" }, "properties": [ { "description": "Contains statistics about analyzer types used in selected nodes.", "name": "analyzer_types", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldTypes", "namespace": "cluster.stats" } } } }, { "description": "Contains statistics about built-in analyzers used in selected nodes.", "name": "built_in_analyzers", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldTypes", "namespace": "cluster.stats" } } } }, { "description": "Contains statistics about built-in character filters used in selected nodes.", "name": "built_in_char_filters", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldTypes", "namespace": "cluster.stats" } } } }, { "description": "Contains statistics about built-in token filters used in selected nodes.", "name": "built_in_filters", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldTypes", "namespace": "cluster.stats" } } } }, { "description": "Contains statistics about built-in tokenizers used in selected nodes.", "name": "built_in_tokenizers", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldTypes", "namespace": "cluster.stats" } } } }, { "description": "Contains statistics about character filter types used in selected nodes.", "name": "char_filter_types", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldTypes", "namespace": "cluster.stats" } } } }, { "description": "Contains statistics about token filter types used in selected nodes.", "name": "filter_types", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldTypes", "namespace": "cluster.stats" } } } }, { "description": "Contains statistics about tokenizer types used in selected nodes.", "name": "tokenizer_types", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldTypes", "namespace": "cluster.stats" } } } } ], "specLocation": "cluster/stats/types.ts#L228-L261" }, { "kind": "interface", "name": { "name": "ClusterFileSystem", "namespace": "cluster.stats" }, "properties": [ { "description": "Total number of bytes available to JVM in file stores across all selected nodes.\nDepending on operating system or process-level restrictions, this number may be less than `nodes.fs.free_in_byes`.\nThis is the actual amount of free disk space the selected Elasticsearch nodes can use.", "name": "available_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total number of unallocated bytes in file stores across all selected nodes.", "name": "free_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total size, in bytes, of all file stores across all selected nodes.", "name": "total_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L34-L49" }, { "kind": "interface", "name": { "name": "ClusterIndices", "namespace": "cluster.stats" }, "properties": [ { "description": "Contains statistics about analyzers and analyzer components used in selected nodes.", "name": "analysis", "required": true, "type": { "kind": "instance_of", "type": { "name": "CharFilterTypes", "namespace": "cluster.stats" } } }, { "description": "Contains statistics about memory used for completion in selected nodes.", "name": "completion", "required": true, "type": { "kind": "instance_of", "type": { "name": "CompletionStats", "namespace": "_types" } } }, { "description": "Total number of indices with shards assigned to selected nodes.", "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Contains counts for documents in selected nodes.", "name": "docs", "required": true, "type": { "kind": "instance_of", "type": { "name": "DocStats", "namespace": "_types" } } }, { "description": "Contains statistics about the field data cache of selected nodes.", "docId": "modules-fielddata", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/modules-fielddata.html", "name": "fielddata", "required": true, "type": { "kind": "instance_of", "type": { "name": "FielddataStats", "namespace": "_types" } } }, { "description": "Contains statistics about the query cache of selected nodes.", "name": "query_cache", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryCacheStats", "namespace": "_types" } } }, { "description": "Contains statistics about segments in selected nodes.", "name": "segments", "required": true, "type": { "kind": "instance_of", "type": { "name": "SegmentsStats", "namespace": "_types" } } }, { "description": "Contains statistics about indices with shards assigned to selected nodes.", "name": "shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterIndicesShards", "namespace": "cluster.stats" } } }, { "description": "Contains statistics about the size of shards assigned to selected nodes.", "name": "store", "required": true, "type": { "kind": "instance_of", "type": { "name": "StoreStats", "namespace": "_types" } } }, { "description": "Contains statistics about field mappings in selected nodes.", "name": "mappings", "required": true, "type": { "kind": "instance_of", "type": { "name": "FieldTypesMappings", "namespace": "cluster.stats" } } }, { "description": "Contains statistics about analyzers and analyzer components used in selected nodes.", "docId": "analyzer-anatomy", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analyzer-anatomy.html", "name": "versions", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndicesVersions", "namespace": "cluster.stats" } } } } ], "specLocation": "cluster/stats/types.ts#L74-L107" }, { "description": "Contains statistics about shards assigned to selected nodes.", "kind": "interface", "name": { "name": "ClusterIndicesShards", "namespace": "cluster.stats" }, "properties": [ { "description": "Contains statistics about shards assigned to selected nodes.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "ClusterIndicesShardsIndex", "namespace": "cluster.stats" } } }, { "description": "Number of primary shards assigned to selected nodes.", "name": "primaries", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Ratio of replica shards to primary shards across all selected nodes.", "name": "replication", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Total number of shards assigned to selected nodes.", "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L60-L72" }, { "kind": "interface", "name": { "name": "ClusterIndicesShardsIndex", "namespace": "cluster.stats" }, "properties": [ { "description": "Contains statistics about the number of primary shards assigned to selected nodes.", "name": "primaries", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterShardMetrics", "namespace": "cluster.stats" } } }, { "description": "Contains statistics about the number of replication shards assigned to selected nodes.", "name": "replication", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterShardMetrics", "namespace": "cluster.stats" } } }, { "description": "Contains statistics about the number of shards assigned to selected nodes.", "name": "shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterShardMetrics", "namespace": "cluster.stats" } } } ], "specLocation": "cluster/stats/types.ts#L51-L58" }, { "kind": "interface", "name": { "name": "ClusterIngest", "namespace": "cluster.stats" }, "properties": [ { "name": "number_of_pipelines", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "processor_stats", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ClusterProcessor", "namespace": "cluster.stats" } } } } ], "specLocation": "cluster/stats/types.ts#L270-L273" }, { "kind": "interface", "name": { "name": "ClusterJvm", "namespace": "cluster.stats" }, "properties": [ { "description": "Uptime duration, in milliseconds, since JVM last started.", "name": "max_uptime_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "Contains statistics about memory used by selected nodes.", "name": "mem", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterJvmMemory", "namespace": "cluster.stats" } } }, { "description": "Number of active threads in use by JVM across all selected nodes.", "name": "threads", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Contains statistics about the JVM versions used by selected nodes.", "name": "versions", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ClusterJvmVersion", "namespace": "cluster.stats" } } } } ], "specLocation": "cluster/stats/types.ts#L275-L292" }, { "kind": "interface", "name": { "name": "ClusterJvmMemory", "namespace": "cluster.stats" }, "properties": [ { "description": "Maximum amount of memory, in bytes, available for use by the heap across all selected nodes.", "name": "heap_max_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Memory, in bytes, currently in use by the heap across all selected nodes.", "name": "heap_used_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L294-L303" }, { "kind": "interface", "name": { "name": "ClusterJvmVersion", "namespace": "cluster.stats" }, "properties": [ { "description": "Always `true`. All distributions come with a bundled Java Development Kit (JDK).", "name": "bundled_jdk", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Total number of selected nodes using JVM.", "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "If `true`, a bundled JDK is in use by JVM.", "name": "using_bundled_jdk", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Version of JVM used by one or more selected nodes.", "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "description": "Name of the JVM.", "name": "vm_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Vendor of the JVM.", "name": "vm_vendor", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Full version number of JVM.\nThe full version number includes a plus sign (+) followed by the build number.", "name": "vm_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L305-L335" }, { "kind": "interface", "name": { "name": "ClusterNetworkTypes", "namespace": "cluster.stats" }, "properties": [ { "description": "Contains statistics about the HTTP network types used by selected nodes.", "name": "http_types", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } }, { "description": "Contains statistics about the transport network types used by selected nodes.", "name": "transport_types", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } } ], "specLocation": "cluster/stats/types.ts#L337-L346" }, { "kind": "interface", "name": { "name": "ClusterNodeCount", "namespace": "cluster.stats" }, "properties": [ { "name": "coordinating_only", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "data", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "data_cold", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "data_content", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.13.0" } }, "name": "data_frozen", "required": false, "since": "7.13.0", "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "data_hot", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "data_warm", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "ingest", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "master", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "ml", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "remote_cluster_client", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "transform", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "voting_only", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L348-L367" }, { "kind": "interface", "name": { "name": "ClusterNodes", "namespace": "cluster.stats" }, "properties": [ { "description": "Contains counts for nodes selected by the request’s node filters.", "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterNodeCount", "namespace": "cluster.stats" } } }, { "description": "Contains statistics about the discovery types used by selected nodes.", "docId": "modules-discovery-hosts-providers", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/modules-discovery-hosts-providers.html", "name": "discovery_types", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } }, { "description": "Contains statistics about file stores by selected nodes.", "name": "fs", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterFileSystem", "namespace": "cluster.stats" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.16.0" } }, "name": "indexing_pressure", "required": true, "since": "7.16.0", "type": { "kind": "instance_of", "type": { "name": "IndexingPressure", "namespace": "cluster.stats" } } }, { "name": "ingest", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterIngest", "namespace": "cluster.stats" } } }, { "description": "Contains statistics about the Java Virtual Machines (JVMs) used by selected nodes.", "name": "jvm", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterJvm", "namespace": "cluster.stats" } } }, { "description": "Contains statistics about the transport and HTTP networks used by selected nodes.", "name": "network_types", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterNetworkTypes", "namespace": "cluster.stats" } } }, { "description": "Contains statistics about the operating systems used by selected nodes.", "name": "os", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterOperatingSystem", "namespace": "cluster.stats" } } }, { "description": "Contains statistics about Elasticsearch distributions installed on selected nodes.", "name": "packaging_types", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "NodePackagingType", "namespace": "cluster.stats" } } } }, { "description": "Contains statistics about installed plugins and modules by selected nodes.\nIf no plugins or modules are installed, this array is empty.", "name": "plugins", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "PluginStats", "namespace": "_types" } } } }, { "description": "Contains statistics about processes used by selected nodes.", "name": "process", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterProcess", "namespace": "cluster.stats" } } }, { "description": "Array of Elasticsearch versions used on selected nodes.", "name": "versions", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } } } ], "specLocation": "cluster/stats/types.ts#L369-L402" }, { "kind": "interface", "name": { "name": "ClusterOperatingSystem", "namespace": "cluster.stats" }, "properties": [ { "description": "Number of processors used to calculate thread pool size across all selected nodes.\nThis number can be set with the processors setting of a node and defaults to the number of processors reported by the operating system.\nIn both cases, this number will never be larger than 32.", "name": "allocated_processors", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Contains statistics about processor architectures (for example, x86_64 or aarch64) used by selected nodes.", "name": "architectures", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ClusterOperatingSystemArchitecture", "namespace": "cluster.stats" } } } }, { "description": "Number of processors available to JVM across all selected nodes.", "name": "available_processors", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Contains statistics about memory used by selected nodes.", "name": "mem", "required": true, "type": { "kind": "instance_of", "type": { "name": "OperatingSystemMemoryInfo", "namespace": "cluster.stats" } } }, { "description": "Contains statistics about operating systems used by selected nodes.", "name": "names", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ClusterOperatingSystemName", "namespace": "cluster.stats" } } } }, { "description": "Contains statistics about operating systems used by selected nodes.", "name": "pretty_names", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ClusterOperatingSystemPrettyName", "namespace": "cluster.stats" } } } } ], "specLocation": "cluster/stats/types.ts#L415-L442" }, { "kind": "interface", "name": { "name": "ClusterOperatingSystemArchitecture", "namespace": "cluster.stats" }, "properties": [ { "description": "Name of an architecture used by one or more selected nodes.", "name": "arch", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Number of selected nodes using the architecture.", "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L404-L413" }, { "kind": "interface", "name": { "name": "ClusterOperatingSystemName", "namespace": "cluster.stats" }, "properties": [ { "description": "Number of selected nodes using the operating system.", "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Name of an operating system used by one or more selected nodes.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L444-L453" }, { "kind": "interface", "name": { "name": "ClusterOperatingSystemPrettyName", "namespace": "cluster.stats" }, "properties": [ { "description": "Number of selected nodes using the operating system.", "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Human-readable name of an operating system used by one or more selected nodes.", "name": "pretty_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L455-L464" }, { "kind": "interface", "name": { "name": "ClusterProcess", "namespace": "cluster.stats" }, "properties": [ { "description": "Contains statistics about CPU used by selected nodes.", "name": "cpu", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterProcessCpu", "namespace": "cluster.stats" } } }, { "description": "Contains statistics about open file descriptors in selected nodes.", "name": "open_file_descriptors", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterProcessOpenFileDescriptors", "namespace": "cluster.stats" } } } ], "specLocation": "cluster/stats/types.ts#L466-L475" }, { "kind": "interface", "name": { "name": "ClusterProcessCpu", "namespace": "cluster.stats" }, "properties": [ { "description": "Percentage of CPU used across all selected nodes.\nReturns `-1` if not supported.", "name": "percent", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L477-L483" }, { "kind": "interface", "name": { "name": "ClusterProcessOpenFileDescriptors", "namespace": "cluster.stats" }, "properties": [ { "description": "Average number of concurrently open file descriptors.\nReturns `-1` if not supported.", "name": "avg", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Maximum number of concurrently open file descriptors allowed across all selected nodes.\nReturns `-1` if not supported.", "name": "max", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Minimum number of concurrently open file descriptors across all selected nodes.\nReturns -1 if not supported.", "name": "min", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L485-L501" }, { "kind": "interface", "name": { "name": "ClusterProcessor", "namespace": "cluster.stats" }, "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "current", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "failed", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L503-L509" }, { "kind": "interface", "name": { "name": "ClusterShardMetrics", "namespace": "cluster.stats" }, "properties": [ { "description": "Mean number of shards in an index, counting only shards assigned to selected nodes.", "name": "avg", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Maximum number of shards in an index, counting only shards assigned to selected nodes.", "name": "max", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Minimum number of shards in an index, counting only shards assigned to selected nodes.", "name": "min", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L511-L524" }, { "kind": "interface", "name": { "name": "FieldTypes", "namespace": "cluster.stats" }, "properties": [ { "description": "The name for the field type in selected nodes.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "The number of occurrences of the field type in selected nodes.", "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of indices containing the field type in selected nodes.", "name": "index_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "For dense_vector field types, number of indexed vector types in selected nodes.", "name": "indexed_vector_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "For dense_vector field types, the maximum dimension of all indexed vector types in selected nodes.", "name": "indexed_vector_dim_max", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "For dense_vector field types, the minimum dimension of all indexed vector types in selected nodes.", "name": "indexed_vector_dim_min", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.13.0" } }, "description": "The number of fields that declare a script.", "name": "script_count", "required": false, "since": "7.13.0", "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L136-L167" }, { "kind": "interface", "name": { "name": "FieldTypesMappings", "namespace": "cluster.stats" }, "properties": [ { "description": "Contains statistics about field data types used in selected nodes.", "name": "field_types", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldTypes", "namespace": "cluster.stats" } } } }, { "description": "Contains statistics about runtime field data types used in selected nodes.", "name": "runtime_field_types", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RuntimeFieldTypes", "namespace": "cluster.stats" } } } }, { "description": "Total number of fields in all non-system indices.", "name": "total_field_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Total number of fields in all non-system indices, accounting for mapping deduplication.", "name": "total_deduplicated_field_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Total size of all mappings after deduplication and compression.", "name": "total_deduplicated_mapping_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Total size of all mappings, in bytes, after deduplication and compression.", "name": "total_deduplicated_mapping_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L109-L134" }, { "kind": "interface", "name": { "name": "IndexingPressure", "namespace": "cluster.stats" }, "properties": [ { "name": "memory", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexingPressureMemory", "namespace": "cluster.stats" } } } ], "specLocation": "cluster/stats/types.ts#L570-L572" }, { "kind": "interface", "name": { "name": "IndexingPressureMemory", "namespace": "cluster.stats" }, "properties": [ { "name": "current", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexingPressureMemorySummary", "namespace": "cluster.stats" } } }, { "name": "limit_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexingPressureMemorySummary", "namespace": "cluster.stats" } } } ], "specLocation": "cluster/stats/types.ts#L574-L578" }, { "kind": "interface", "name": { "name": "IndexingPressureMemorySummary", "namespace": "cluster.stats" }, "properties": [ { "name": "all_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "combined_coordinating_and_primary_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "coordinating_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "coordinating_rejections", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "primary_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "primary_rejections", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "replica_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "replica_rejections", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L580-L589" }, { "kind": "interface", "name": { "name": "IndicesVersions", "namespace": "cluster.stats" }, "properties": [ { "name": "index_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "primary_shard_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "total_primary_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L263-L268" }, { "kind": "interface", "name": { "name": "NodePackagingType", "namespace": "cluster.stats" }, "properties": [ { "description": "Number of selected nodes using the distribution flavor and file type.", "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Type of Elasticsearch distribution. This is always `default`.", "name": "flavor", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "File type (such as `tar` or `zip`) used for the distribution package.", "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "cluster/stats/types.ts#L526-L539" }, { "kind": "interface", "name": { "name": "OperatingSystemMemoryInfo", "namespace": "cluster.stats" }, "properties": [ { "availability": { "serverless": {}, "stack": { "since": "7.16.0" } }, "description": "Total amount, in bytes, of memory across all selected nodes, but using the value specified using the `es.total_memory_bytes` system property instead of measured total memory for those nodes where that system property was set.", "name": "adjusted_total_in_bytes", "required": false, "since": "7.16.0", "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Amount, in bytes, of free physical memory across all selected nodes.", "name": "free_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Percentage of free physical memory across all selected nodes.", "name": "free_percent", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Total amount, in bytes, of physical memory across all selected nodes.", "name": "total_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Amount, in bytes, of physical memory in use across all selected nodes.", "name": "used_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Percentage of physical memory in use across all selected nodes.", "name": "used_percent", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L541-L568" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns cluster statistics.\nIt returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins).", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "cluster.stats" }, "path": [ { "description": "Comma-separated list of node filters used to limit returned information. Defaults to all nodes in the cluster.", "name": "node_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeIds", "namespace": "_types" } } } ], "query": [ { "description": "If `true`, returns settings in flat format.", "name": "flat_settings", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for each node to respond.\nIf a node does not respond before its timeout expires, the response does not include its stats.\nHowever, timed out nodes are included in the response’s `_nodes.failed` property. Defaults to no timeout.", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "cluster/stats/ClusterStatsRequest.ts#L24-L50" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "StatsResponseBase", "namespace": "cluster.stats" } } }, "kind": "response", "name": { "name": "Response", "namespace": "cluster.stats" }, "specLocation": "cluster/stats/ClusterStatsResponse.ts#L53-L55" }, { "kind": "interface", "name": { "name": "RuntimeFieldTypes", "namespace": "cluster.stats" }, "properties": [ { "description": "Maximum number of characters for a single runtime field script.", "name": "chars_max", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Total number of characters for the scripts that define the current runtime field data type.", "name": "chars_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Number of runtime fields mapped to the field data type in selected nodes.", "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Maximum number of accesses to doc_values for a single runtime field script", "name": "doc_max", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Total number of accesses to doc_values for the scripts that define the current runtime field data type.", "name": "doc_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Number of indices containing a mapping of the runtime field data type in selected nodes.", "name": "index_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Script languages used for the runtime fields scripts.", "name": "lang", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Maximum number of lines for a single runtime field script.", "name": "lines_max", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Total number of lines for the scripts that define the current runtime field data type.", "name": "lines_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Field data type used in selected nodes.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Number of runtime fields that don’t declare a script.", "name": "scriptless_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Number of runtime fields that shadow an indexed field.", "name": "shadowed_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Maximum number of accesses to _source for a single runtime field script.", "name": "source_max", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Total number of accesses to _source for the scripts that define the current runtime field data type.", "name": "source_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "cluster/stats/types.ts#L169-L226" }, { "inherits": { "type": { "name": "NodesResponseBase", "namespace": "nodes._types" } }, "kind": "interface", "name": { "name": "StatsResponseBase", "namespace": "cluster.stats" }, "properties": [ { "description": "Name of the cluster, based on the cluster name setting.", "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Unique identifier for the cluster.", "name": "cluster_uuid", "required": true, "type": { "kind": "instance_of", "type": { "name": "Uuid", "namespace": "_types" } } }, { "description": "Contains statistics about indices with shards assigned to selected nodes.", "name": "indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterIndices", "namespace": "cluster.stats" } } }, { "description": "Contains statistics about nodes selected by the request’s node filters.", "docId": "cluster-nodes", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster.html#cluster-nodes", "name": "nodes", "required": true, "type": { "kind": "instance_of", "type": { "name": "ClusterNodes", "namespace": "cluster.stats" } } }, { "description": "Health status of the cluster, based on the state of its primary and replica shards.", "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "HealthStatus", "namespace": "_types" } } }, { "description": "Unix timestamp, in milliseconds, for the last time the cluster statistics were refreshed.", "name": "timestamp", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "cluster/stats/ClusterStatsResponse.ts#L25-L51" }, { "kind": "interface", "name": { "name": "Connector", "namespace": "connector._types" }, "properties": [ { "name": "api_key_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "configuration", "required": true, "type": { "kind": "instance_of", "type": { "name": "ConnectorConfiguration", "namespace": "connector._types" } } }, { "name": "custom_scheduling", "required": true, "type": { "kind": "instance_of", "type": { "name": "ConnectorCustomScheduling", "namespace": "connector._types" } } }, { "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "error", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "features", "required": false, "type": { "kind": "instance_of", "type": { "name": "ConnectorFeatures", "namespace": "connector._types" } } }, { "name": "filtering", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FilteringConfig", "namespace": "connector._types" } } } }, { "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "index_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "is_native", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "language", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "last_access_control_sync_error", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "last_access_control_sync_scheduled_at", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "last_access_control_sync_status", "required": false, "type": { "kind": "instance_of", "type": { "name": "SyncStatus", "namespace": "connector._types" } } }, { "name": "last_deleted_document_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "last_incremental_sync_scheduled_at", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "last_indexed_document_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "last_seen", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "last_sync_error", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "last_sync_scheduled_at", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "last_sync_status", "required": false, "type": { "kind": "instance_of", "type": { "name": "SyncStatus", "namespace": "connector._types" } } }, { "name": "last_synced", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "pipeline", "required": false, "type": { "kind": "instance_of", "type": { "name": "IngestPipelineParams", "namespace": "connector._types" } } }, { "name": "scheduling", "required": true, "type": { "kind": "instance_of", "type": { "name": "SchedulingConfiguration", "namespace": "connector._types" } } }, { "name": "service_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "ConnectorStatus", "namespace": "connector._types" } } }, { "name": "sync_now", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "connector/_types/Connector.ts#L238-L267" }, { "kind": "interface", "name": { "name": "ConnectorConfigProperties", "namespace": "connector._types" }, "properties": [ { "name": "category", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "default_value", "required": true, "type": { "kind": "instance_of", "type": { "name": "ScalarValue", "namespace": "_types" } } }, { "name": "depends_on", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Dependency", "namespace": "connector._types" } } } }, { "name": "display", "required": true, "type": { "kind": "instance_of", "type": { "name": "DisplayType", "namespace": "connector._types" } } }, { "name": "label", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "options", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SelectOption", "namespace": "connector._types" } } } }, { "name": "order", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "placeholder", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "required", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "sensitive", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "tooltip", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "ConnectorFieldType", "namespace": "connector._types" } } }, { "name": "ui_restrictions", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "validations", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Validation", "namespace": "connector._types" } } } }, { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "ScalarValue", "namespace": "_types" } } } ], "specLocation": "connector/_types/Connector.ts#L83-L99" }, { "kind": "type_alias", "name": { "name": "ConnectorConfiguration", "namespace": "connector._types" }, "specLocation": "connector/_types/Connector.ts#L101-L104", "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ConnectorConfigProperties", "namespace": "connector._types" } } } }, { "kind": "type_alias", "name": { "name": "ConnectorCustomScheduling", "namespace": "connector._types" }, "specLocation": "connector/_types/Connector.ts#L128-L128", "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "CustomScheduling", "namespace": "connector._types" } } } }, { "kind": "interface", "name": { "name": "ConnectorFeatures", "namespace": "connector._types" }, "properties": [ { "name": "document_level_security", "required": false, "type": { "kind": "instance_of", "type": { "name": "FeatureEnabled", "namespace": "connector._types" } } }, { "name": "filtering_advanced_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "filtering_rules", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "incremental_sync", "required": false, "type": { "kind": "instance_of", "type": { "name": "FeatureEnabled", "namespace": "connector._types" } } }, { "name": "sync_rules", "required": false, "type": { "kind": "instance_of", "type": { "name": "SyncRulesFeature", "namespace": "connector._types" } } } ], "specLocation": "connector/_types/Connector.ts#L224-L230" }, { "kind": "enum", "members": [ { "name": "str" }, { "name": "int" }, { "name": "list" }, { "name": "bool" } ], "name": { "name": "ConnectorFieldType", "namespace": "connector._types" }, "specLocation": "connector/_types/Connector.ts#L43-L48" }, { "kind": "interface", "name": { "name": "ConnectorScheduling", "namespace": "connector._types" }, "properties": [ { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The interval is expressed using the crontab syntax", "name": "interval", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "connector/_types/Connector.ts#L106-L110" }, { "kind": "enum", "members": [ { "name": "created" }, { "name": "needs_configuration" }, { "name": "configured" }, { "name": "connected" }, { "name": "error" } ], "name": { "name": "ConnectorStatus", "namespace": "connector._types" }, "specLocation": "connector/_types/Connector.ts#L130-L136" }, { "kind": "interface", "name": { "name": "ConnectorSyncJob", "namespace": "connector._types" }, "properties": [ { "name": "cancelation_requested_at", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "canceled_at", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "completed_at", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "connector", "required": true, "type": { "kind": "instance_of", "type": { "name": "SyncJobConnectorReference", "namespace": "connector._types" } } }, { "name": "created_at", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "deleted_document_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "error", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "indexed_document_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "indexed_document_volume", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "job_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "SyncJobType", "namespace": "connector._types" } } }, { "name": "last_seen", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "metadata", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "started_at", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "SyncStatus", "namespace": "connector._types" } } }, { "name": "total_document_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "trigger_method", "required": true, "type": { "kind": "instance_of", "type": { "name": "SyncJobTriggerMethod", "namespace": "connector._types" } } }, { "name": "worker_hostname", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "connector/_types/SyncJob.ts#L52-L71" }, { "kind": "interface", "name": { "name": "CustomScheduling", "namespace": "connector._types" }, "properties": [ { "name": "configuration_overrides", "required": true, "type": { "kind": "instance_of", "type": { "name": "CustomSchedulingConfigurationOverrides", "namespace": "connector._types" } } }, { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "interval", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "last_synced", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "connector/_types/Connector.ts#L120-L126" }, { "kind": "interface", "name": { "name": "CustomSchedulingConfigurationOverrides", "namespace": "connector._types" }, "properties": [ { "name": "max_crawl_depth", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "sitemap_discovery_disabled", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "domain_allowlist", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "sitemap_urls", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "seed_urls", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "connector/_types/Connector.ts#L112-L118" }, { "kind": "interface", "name": { "name": "Dependency", "namespace": "connector._types" }, "properties": [ { "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "ScalarValue", "namespace": "_types" } } } ], "specLocation": "connector/_types/Connector.ts#L30-L33" }, { "kind": "enum", "members": [ { "name": "textbox" }, { "name": "textarea" }, { "name": "numeric" }, { "name": "toggle" }, { "name": "dropdown" } ], "name": { "name": "DisplayType", "namespace": "connector._types" }, "specLocation": "connector/_types/Connector.ts#L35-L41" }, { "kind": "interface", "name": { "name": "FeatureEnabled", "namespace": "connector._types" }, "properties": [ { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "connector/_types/Connector.ts#L215-L217" }, { "kind": "interface", "name": { "name": "FilteringAdvancedSnippet", "namespace": "connector._types" }, "properties": [ { "name": "created_at", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "updated_at", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "value", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ], "specLocation": "connector/_types/Connector.ts#L192-L196" }, { "kind": "interface", "name": { "name": "FilteringConfig", "namespace": "connector._types" }, "properties": [ { "name": "active", "required": true, "type": { "kind": "instance_of", "type": { "name": "FilteringRules", "namespace": "connector._types" } } }, { "name": "domain", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "draft", "required": true, "type": { "kind": "instance_of", "type": { "name": "FilteringRules", "namespace": "connector._types" } } } ], "specLocation": "connector/_types/Connector.ts#L209-L213" }, { "kind": "enum", "members": [ { "name": "exclude" }, { "name": "include" } ], "name": { "name": "FilteringPolicy", "namespace": "connector._types" }, "specLocation": "connector/_types/Connector.ts#L155-L158" }, { "kind": "interface", "name": { "name": "FilteringRule", "namespace": "connector._types" }, "properties": [ { "name": "created_at", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "order", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "policy", "required": true, "type": { "kind": "instance_of", "type": { "name": "FilteringPolicy", "namespace": "connector._types" } } }, { "name": "rule", "required": true, "type": { "kind": "instance_of", "type": { "name": "FilteringRuleRule", "namespace": "connector._types" } } }, { "name": "updated_at", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "connector/_types/Connector.ts#L170-L179" }, { "kind": "enum", "members": [ { "name": "contains" }, { "name": "ends_with" }, { "name": "equals" }, { "name": "regex" }, { "name": "starts_with" }, { "codegenName": "greater_than", "name": ">" }, { "codegenName": "less_than", "name": "<" } ], "name": { "name": "FilteringRuleRule", "namespace": "connector._types" }, "specLocation": "connector/_types/Connector.ts#L160-L168" }, { "kind": "interface", "name": { "name": "FilteringRules", "namespace": "connector._types" }, "properties": [ { "name": "advanced_snippet", "required": true, "type": { "kind": "instance_of", "type": { "name": "FilteringAdvancedSnippet", "namespace": "connector._types" } } }, { "name": "rules", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FilteringRule", "namespace": "connector._types" } } } }, { "name": "validation", "required": true, "type": { "kind": "instance_of", "type": { "name": "FilteringRulesValidation", "namespace": "connector._types" } } } ], "specLocation": "connector/_types/Connector.ts#L203-L207" }, { "kind": "interface", "name": { "name": "FilteringRulesValidation", "namespace": "connector._types" }, "properties": [ { "name": "errors", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FilteringValidation", "namespace": "connector._types" } } } }, { "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "FilteringValidationState", "namespace": "connector._types" } } } ], "specLocation": "connector/_types/Connector.ts#L198-L201" }, { "kind": "interface", "name": { "name": "FilteringValidation", "namespace": "connector._types" }, "properties": [ { "name": "ids", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } }, { "name": "messages", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "connector/_types/Connector.ts#L181-L184" }, { "kind": "enum", "members": [ { "name": "edited" }, { "name": "invalid" }, { "name": "valid" } ], "name": { "name": "FilteringValidationState", "namespace": "connector._types" }, "specLocation": "connector/_types/Connector.ts#L186-L190" }, { "kind": "interface", "name": { "name": "GreaterThanValidation", "namespace": "connector._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "greater_than" } }, { "name": "constraint", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "connector/_types/Connector.ts#L63-L66" }, { "kind": "interface", "name": { "name": "IncludedInValidation", "namespace": "connector._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "included_in" } }, { "name": "constraint", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "connector/_types/Connector.ts#L73-L76" }, { "kind": "interface", "name": { "name": "IngestPipelineParams", "namespace": "connector._types" }, "properties": [ { "name": "extract_binary_content", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "reduce_whitespace", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "run_ml_inference", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "connector/_types/Connector.ts#L148-L153" }, { "kind": "interface", "name": { "name": "LessThanValidation", "namespace": "connector._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "less_than" } }, { "name": "constraint", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "connector/_types/Connector.ts#L58-L61" }, { "kind": "interface", "name": { "name": "ListTypeValidation", "namespace": "connector._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "list_type" } }, { "name": "constraint", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ScalarValue", "namespace": "_types" } } } } ], "specLocation": "connector/_types/Connector.ts#L68-L71" }, { "kind": "interface", "name": { "name": "RegexValidation", "namespace": "connector._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "regex" } }, { "name": "constraint", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "connector/_types/Connector.ts#L78-L81" }, { "kind": "interface", "name": { "name": "SchedulingConfiguration", "namespace": "connector._types" }, "properties": [ { "name": "access_control", "required": false, "type": { "kind": "instance_of", "type": { "name": "ConnectorScheduling", "namespace": "connector._types" } } }, { "name": "full", "required": false, "type": { "kind": "instance_of", "type": { "name": "ConnectorScheduling", "namespace": "connector._types" } } }, { "name": "incremental", "required": false, "type": { "kind": "instance_of", "type": { "name": "ConnectorScheduling", "namespace": "connector._types" } } } ], "specLocation": "connector/_types/Connector.ts#L232-L236" }, { "kind": "interface", "name": { "name": "SelectOption", "namespace": "connector._types" }, "properties": [ { "name": "label", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "connector/_types/Connector.ts#L25-L28" }, { "kind": "interface", "name": { "name": "SyncJobConnectorReference", "namespace": "connector._types" }, "properties": [ { "name": "configuration", "required": true, "type": { "kind": "instance_of", "type": { "name": "ConnectorConfiguration", "namespace": "connector._types" } } }, { "name": "filtering", "required": true, "type": { "kind": "instance_of", "type": { "name": "FilteringRules", "namespace": "connector._types" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "index_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "language", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "pipeline", "required": false, "type": { "kind": "instance_of", "type": { "name": "IngestPipelineParams", "namespace": "connector._types" } } }, { "name": "service_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "connector/_types/SyncJob.ts#L31-L39" }, { "kind": "enum", "members": [ { "name": "on_demand" }, { "name": "scheduled" } ], "name": { "name": "SyncJobTriggerMethod", "namespace": "connector._types" }, "specLocation": "connector/_types/SyncJob.ts#L47-L50" }, { "kind": "enum", "members": [ { "name": "full" }, { "name": "incremental" }, { "name": "access_control" } ], "name": { "name": "SyncJobType", "namespace": "connector._types" }, "specLocation": "connector/_types/SyncJob.ts#L41-L45" }, { "kind": "interface", "name": { "name": "SyncRulesFeature", "namespace": "connector._types" }, "properties": [ { "name": "advanced", "required": false, "type": { "kind": "instance_of", "type": { "name": "FeatureEnabled", "namespace": "connector._types" } } }, { "name": "basic", "required": false, "type": { "kind": "instance_of", "type": { "name": "FeatureEnabled", "namespace": "connector._types" } } } ], "specLocation": "connector/_types/Connector.ts#L219-L222" }, { "kind": "enum", "members": [ { "name": "canceling" }, { "name": "canceled" }, { "name": "completed" }, { "name": "error" }, { "name": "in_progress" }, { "name": "pending" }, { "name": "suspended" } ], "name": { "name": "SyncStatus", "namespace": "connector._types" }, "specLocation": "connector/_types/Connector.ts#L138-L146" }, { "kind": "type_alias", "name": { "name": "Validation", "namespace": "connector._types" }, "specLocation": "connector/_types/Connector.ts#L50-L56", "type": { "items": [ { "kind": "instance_of", "type": { "name": "LessThanValidation", "namespace": "connector._types" } }, { "kind": "instance_of", "type": { "name": "GreaterThanValidation", "namespace": "connector._types" } }, { "kind": "instance_of", "type": { "name": "ListTypeValidation", "namespace": "connector._types" } }, { "kind": "instance_of", "type": { "name": "IncludedInValidation", "namespace": "connector._types" } }, { "kind": "instance_of", "type": { "name": "RegexValidation", "namespace": "connector._types" } } ], "kind": "union_of" }, "variants": { "kind": "internal_tag", "tag": "type" } }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Updates the last_seen field in the connector, and sets it to current timestamp", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.check_in" }, "path": [ { "description": "The unique identifier of the connector to be checked in", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/check_in/ConnectorCheckInRequest.ts#L22-L36" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.check_in" }, "specLocation": "connector/check_in/ConnectorCheckInResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes a connector.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.delete" }, "path": [ { "description": "The unique identifier of the connector to be deleted", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Determines whether associated sync jobs are also deleted.", "name": "delete_sync_jobs", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "connector/delete/ConnectorDeleteRequest.ts#L22-L39" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "connector.delete" }, "specLocation": "connector/delete/ConnectorDeleteResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves a connector.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.get" }, "path": [ { "description": "The unique identifier of the connector", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/get/ConnectorGetRequest.ts#L22-L36" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "Connector", "namespace": "connector._types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "connector.get" }, "specLocation": "connector/get/ConnectorGetResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "last_access_control_sync_error", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "WithNullValue", "namespace": "_spec_utils" } } }, { "name": "last_access_control_sync_scheduled_at", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "last_access_control_sync_status", "required": false, "type": { "kind": "instance_of", "type": { "name": "SyncStatus", "namespace": "connector._types" } } }, { "name": "last_deleted_document_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "last_incremental_sync_scheduled_at", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "last_indexed_document_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "last_seen", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "WithNullValue", "namespace": "_spec_utils" } } }, { "name": "last_sync_error", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "WithNullValue", "namespace": "_spec_utils" } } }, { "name": "last_sync_scheduled_at", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "last_sync_status", "required": false, "type": { "kind": "instance_of", "type": { "name": "SyncStatus", "namespace": "connector._types" } } }, { "name": "last_synced", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ] }, "description": "Updates last sync stats in the connector document", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.last_sync" }, "path": [ { "description": "The unique identifier of the connector to be updated", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/last_sync/ConnectorUpdateLastSyncRequest.ts#L26-L56" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.last_sync" }, "specLocation": "connector/last_sync/ConnectorUpdateLastSyncResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns existing connectors.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.list" }, "path": [], "query": [ { "description": "Starting offset (default: 0)", "name": "from", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies a max number of results to get", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "A comma-separated list of connector index names to fetch connector documents for", "name": "index_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "A comma-separated list of connector names to fetch connector documents for", "name": "connector_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } }, { "description": "A comma-separated list of connector service types to fetch connector documents for", "name": "service_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } }, { "description": "A wildcard query string that filters connectors with matching name, description or index name", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "connector/list/ConnectorListRequest.ts#L23-L57" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "results", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Connector", "namespace": "connector._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.list" }, "specLocation": "connector/list/ConnectorListResponse.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "index_name", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "WithNullValue", "namespace": "_spec_utils" } } }, { "name": "is_native", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "language", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "service_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Creates a connector.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.post" }, "path": [], "query": [], "specLocation": "connector/post/ConnectorPostRequest.ts#L23-L43" }, { "body": { "kind": "properties", "properties": [ { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.post" }, "specLocation": "connector/post/ConnectorPostResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "index_name", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "WithNullValue", "namespace": "_spec_utils" } } }, { "name": "is_native", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "language", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "service_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Creates or updates a connector.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.put" }, "path": [ { "description": "The unique identifier of the connector to be created or updated", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/put/ConnectorPutRequest.ts#L23-L49" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.put" }, "specLocation": "connector/put/ConnectorPutResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Cancels a connector sync job.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.sync_job_cancel" }, "path": [ { "description": "The unique identifier of the connector sync job", "name": "connector_sync_job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/sync_job_cancel/SyncJobCancelRequest.ts#L22-L36" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.sync_job_cancel" }, "specLocation": "connector/sync_job_cancel/SyncJobCancelResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes a connector sync job.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.sync_job_delete" }, "path": [ { "description": "The unique identifier of the connector sync job to be deleted", "name": "connector_sync_job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/sync_job_delete/SyncJobDeleteRequest.ts#L22-L36" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "connector.sync_job_delete" }, "specLocation": "connector/sync_job_delete/SyncJobDeleteResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves a connector sync job.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.sync_job_get" }, "path": [ { "description": "The unique identifier of the connector sync job", "name": "connector_sync_job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/sync_job_get/SyncJobGetRequest.ts#L22-L36" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "ConnectorSyncJob", "namespace": "connector._types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "connector.sync_job_get" }, "specLocation": "connector/sync_job_get/SyncJobGetResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Lists connector sync jobs.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.sync_job_list" }, "path": [], "query": [ { "description": "Starting offset (default: 0)", "name": "from", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies a max number of results to get", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "A sync job status to fetch connector sync jobs for", "name": "status", "required": false, "type": { "kind": "instance_of", "type": { "name": "SyncStatus", "namespace": "connector._types" } } }, { "description": "A connector id to fetch connector sync jobs for", "name": "connector_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "A comma-separated list of job types to fetch the sync jobs for", "name": "job_type", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SyncJobType", "namespace": "connector._types" } } } } ], "specLocation": "connector/sync_job_list/SyncJobListRequest.ts#L25-L55" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "results", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ConnectorSyncJob", "namespace": "connector._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.sync_job_list" }, "specLocation": "connector/sync_job_list/SyncJobListResponse.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The id of the associated connector", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "job_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "SyncJobType", "namespace": "connector._types" } } }, { "name": "trigger_method", "required": false, "type": { "kind": "instance_of", "type": { "name": "SyncJobTriggerMethod", "namespace": "connector._types" } } } ] }, "description": "Creates a connector sync job.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.sync_job_post" }, "path": [], "query": [], "specLocation": "connector/sync_job_post/SyncJobPostRequest.ts#L23-L43" }, { "body": { "kind": "properties", "properties": [ { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.sync_job_post" }, "specLocation": "connector/sync_job_post/SyncJobPostResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Activates the valid draft filtering for a connector.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.update_active_filtering" }, "path": [ { "description": "The unique identifier of the connector to be updated", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/update_active_filtering/ConnectorUpdateActiveFilteringRequest.ts#L22-L36" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.update_active_filtering" }, "specLocation": "connector/update_active_filtering/ConnectorUpdateActiveFilteringResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "api_key_id", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "WithNullValue", "namespace": "_spec_utils" } } }, { "name": "api_key_secret_id", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "WithNullValue", "namespace": "_spec_utils" } } } ] }, "description": "Updates the API key id in the connector document", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.update_api_key_id" }, "path": [ { "description": "The unique identifier of the connector to be updated", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/update_api_key_id/ConnectorUpdateAPIKeyIDRequest.ts#L23-L44" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.update_api_key_id" }, "specLocation": "connector/update_api_key_id/ConnectorUpdateAPIKeyIDResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "configuration", "required": false, "type": { "kind": "instance_of", "type": { "name": "ConnectorConfiguration", "namespace": "connector._types" } } }, { "name": "values", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ] }, "description": "Updates the configuration field in the connector document", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.update_configuration" }, "path": [ { "description": "The unique identifier of the connector to be updated", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/update_configuration/ConnectorUpdateConfigurationRequest.ts#L25-L47" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.update_configuration" }, "specLocation": "connector/update_configuration/ConnectorUpdateConfigurationResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "error", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "WithNullValue", "namespace": "_spec_utils" } } } ] }, "description": "Updates the filtering field in the connector document", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.update_error" }, "path": [ { "description": "The unique identifier of the connector to be updated", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/update_error/ConnectorUpdateErrorRequest.ts#L23-L44" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.update_error" }, "specLocation": "connector/update_error/ConnectorUpdateErrorResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "filtering", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FilteringConfig", "namespace": "connector._types" } } } }, { "name": "rules", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FilteringRule", "namespace": "connector._types" } } } }, { "name": "advanced_snippet", "required": false, "type": { "kind": "instance_of", "type": { "name": "FilteringAdvancedSnippet", "namespace": "connector._types" } } } ] }, "description": "Updates the filtering field in the connector document", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.update_filtering" }, "path": [ { "description": "The unique identifier of the connector to be updated", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/update_filtering/ConnectorUpdateFilteringRequest.ts#L27-L50" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.update_filtering" }, "specLocation": "connector/update_filtering/ConnectorUpdateFilteringResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "validation", "required": true, "type": { "kind": "instance_of", "type": { "name": "FilteringRulesValidation", "namespace": "connector._types" } } } ] }, "description": "Updates the draft filtering validation info for a connector.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.update_filtering_validation" }, "path": [ { "description": "The unique identifier of the connector to be updated", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/update_filtering_validation/ConnectorUpdateFilteringValidationRequest.ts#L23-L40" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.update_filtering_validation" }, "specLocation": "connector/update_filtering_validation/ConnectorUpdateFilteringValidationResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "index_name", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "WithNullValue", "namespace": "_spec_utils" } } } ] }, "description": "Updates the index_name in the connector document", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.update_index_name" }, "path": [ { "description": "The unique identifier of the connector to be updated", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/update_index_name/ConnectorUpdateIndexNameRequest.ts#L23-L43" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.update_index_name" }, "specLocation": "connector/update_index_name/ConnectorUpdateIndexNameResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Updates the name and description fields in the connector document", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.update_name" }, "path": [ { "description": "The unique identifier of the connector to be updated", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/update_name/ConnectorUpdateNameRequest.ts#L22-L43" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.update_name" }, "specLocation": "connector/update_name/ConnectorUpdateNameResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "is_native", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "description": "Updates the is_native flag in the connector document", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.update_native" }, "path": [ { "description": "The unique identifier of the connector to be updated", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/update_native/ConnectorUpdateNativeRequest.ts#L22-L42" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.update_native" }, "specLocation": "connector/update_native/ConnectorUpdateNativeResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "pipeline", "required": true, "type": { "kind": "instance_of", "type": { "name": "IngestPipelineParams", "namespace": "connector._types" } } } ] }, "description": "Updates the pipeline field in the connector document", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.update_pipeline" }, "path": [ { "description": "The unique identifier of the connector to be updated", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/update_pipeline/ConnectorUpdatePipelineRequest.ts#L23-L44" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.update_pipeline" }, "specLocation": "connector/update_pipeline/ConnectorUpdatePipelineResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "scheduling", "required": true, "type": { "kind": "instance_of", "type": { "name": "SchedulingConfiguration", "namespace": "connector._types" } } } ] }, "description": "Updates the scheduling field in the connector document", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.update_scheduling" }, "path": [ { "description": "The unique identifier of the connector to be updated", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/update_scheduling/ConnectorUpdateSchedulingRequest.ts#L23-L44" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.update_scheduling" }, "specLocation": "connector/update_scheduling/ConnectorUpdateSchedulingResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "service_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Updates the service type of the connector", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.update_service_type" }, "path": [ { "description": "The unique identifier of the connector to be updated", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/update_service_type/ConnectorUpdateServiceTypeRequest.ts#L22-L42" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.update_service_type" }, "specLocation": "connector/update_service_type/ConnectorUpdateServiceTypeResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "ConnectorStatus", "namespace": "connector._types" } } } ] }, "description": "Updates the status of the connector", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "connector.update_status" }, "path": [ { "description": "The unique identifier of the connector to be updated", "name": "connector_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "connector/update_status/ConnectorUpdateStatusRequest.ts#L23-L43" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "connector.update_status" }, "specLocation": "connector/update_status/ConnectorUpdateStatusResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes the specified dangling index", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "dangling_indices.delete_dangling_index" }, "path": [ { "description": "The UUID of the dangling index", "name": "index_uuid", "required": true, "type": { "kind": "instance_of", "type": { "name": "Uuid", "namespace": "_types" } } } ], "query": [ { "description": "Must be set to true in order to delete the dangling index", "name": "accept_data_loss", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specify timeout for connection to master", "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Explicit operation timeout", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "dangling_indices/delete_dangling_index/DeleteDanglingIndexRequest.ts#L24-L37" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "dangling_indices.delete_dangling_index" }, "specLocation": "dangling_indices/delete_dangling_index/DeleteDanglingIndexResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Imports the specified dangling index", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "dangling_indices.import_dangling_index" }, "path": [ { "description": "The UUID of the dangling index", "name": "index_uuid", "required": true, "type": { "kind": "instance_of", "type": { "name": "Uuid", "namespace": "_types" } } } ], "query": [ { "description": "Must be set to true in order to import the dangling index", "name": "accept_data_loss", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specify timeout for connection to master", "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Explicit operation timeout", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "dangling_indices/import_dangling_index/ImportDanglingIndexRequest.ts#L24-L37" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "dangling_indices.import_dangling_index" }, "specLocation": "dangling_indices/import_dangling_index/ImportDanglingIndexResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "DanglingIndex", "namespace": "dangling_indices.list_dangling_indices" }, "properties": [ { "name": "index_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "index_uuid", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "creation_date_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "node_ids", "required": true, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } } ], "specLocation": "dangling_indices/list_dangling_indices/ListDanglingIndicesResponse.ts#L29-L34" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns all dangling indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "dangling_indices.list_dangling_indices" }, "path": [], "query": [], "specLocation": "dangling_indices/list_dangling_indices/ListDanglingIndicesRequest.ts#L22-L26" }, { "body": { "kind": "properties", "properties": [ { "name": "dangling_indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DanglingIndex", "namespace": "dangling_indices.list_dangling_indices" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "dangling_indices.list_dangling_indices" }, "specLocation": "dangling_indices/list_dangling_indices/ListDanglingIndicesResponse.ts#L23-L27" }, { "kind": "interface", "name": { "name": "Policy", "namespace": "enrich._types" }, "properties": [ { "name": "enrich_fields", "required": true, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "name": "indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "name": "match_field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "elasticsearch_version", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "enrich/_types/Policy.ts#L34-L41" }, { "kind": "enum", "members": [ { "name": "geo_match" }, { "name": "match" }, { "name": "range" } ], "name": { "name": "PolicyType", "namespace": "enrich._types" }, "specLocation": "enrich/_types/Policy.ts#L28-L32" }, { "kind": "interface", "name": { "name": "Summary", "namespace": "enrich._types" }, "properties": [ { "name": "config", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "PolicyType", "namespace": "enrich._types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "Policy", "namespace": "enrich._types" } } } } ], "specLocation": "enrich/_types/Policy.ts#L24-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes an existing enrich policy and its enrich index.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "enrich.delete_policy" }, "path": [ { "description": "Enrich policy to delete.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "enrich/delete_policy/DeleteEnrichPolicyRequest.ts#L23-L36" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "enrich.delete_policy" }, "specLocation": "enrich/delete_policy/DeleteEnrichPolicyResponse.ts#L22-L24" }, { "kind": "enum", "members": [ { "name": "SCHEDULED" }, { "name": "RUNNING" }, { "name": "COMPLETE" }, { "name": "FAILED" } ], "name": { "name": "EnrichPolicyPhase", "namespace": "enrich.execute_policy" }, "specLocation": "enrich/execute_policy/types.ts#L24-L29" }, { "kind": "interface", "name": { "name": "ExecuteEnrichPolicyStatus", "namespace": "enrich.execute_policy" }, "properties": [ { "name": "phase", "required": true, "type": { "kind": "instance_of", "type": { "name": "EnrichPolicyPhase", "namespace": "enrich.execute_policy" } } } ], "specLocation": "enrich/execute_policy/types.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Creates the enrich index for an existing enrich policy.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "enrich.execute_policy" }, "path": [ { "description": "Enrich policy to execute.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "If `true`, the request blocks other enrich policy execution requests until complete.", "name": "wait_for_completion", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "enrich/execute_policy/ExecuteEnrichPolicyRequest.ts#L23-L44" }, { "body": { "kind": "properties", "properties": [ { "name": "status", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExecuteEnrichPolicyStatus", "namespace": "enrich.execute_policy" } } }, { "name": "task_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "TaskId", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "enrich.execute_policy" }, "specLocation": "enrich/execute_policy/ExecuteEnrichPolicyResponse.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about an enrich policy.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "enrich.get_policy" }, "path": [ { "description": "Comma-separated list of enrich policy names used to limit the request.\nTo return information for all enrich policies, omit this parameter.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [], "specLocation": "enrich/get_policy/GetEnrichPolicyRequest.ts#L23-L37" }, { "body": { "kind": "properties", "properties": [ { "name": "policies", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Summary", "namespace": "enrich._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "enrich.get_policy" }, "specLocation": "enrich/get_policy/GetEnrichPolicyResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Matches enrich data to incoming documents based on a `geo_shape` query.", "name": "geo_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "Policy", "namespace": "enrich._types" } } }, { "description": "Matches enrich data to incoming documents based on a `term` query.", "name": "match", "required": false, "type": { "kind": "instance_of", "type": { "name": "Policy", "namespace": "enrich._types" } } }, { "description": "Matches a number, date, or IP address in incoming documents to a range in the enrich index based on a `term` query.", "name": "range", "required": false, "type": { "kind": "instance_of", "type": { "name": "Policy", "namespace": "enrich._types" } } } ] }, "description": "Creates an enrich policy.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "enrich.put_policy" }, "path": [ { "description": "Name of the enrich policy to create or update.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "enrich/put_policy/PutEnrichPolicyRequest.ts#L24-L52" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "enrich.put_policy" }, "specLocation": "enrich/put_policy/PutEnrichPolicyResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "CacheStats", "namespace": "enrich.stats" }, "properties": [ { "name": "node_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "hits", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "misses", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "evictions", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "enrich/stats/types.ts#L37-L43" }, { "kind": "interface", "name": { "name": "CoordinatorStats", "namespace": "enrich.stats" }, "properties": [ { "name": "executed_searches_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "node_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "queue_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "remote_requests_current", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "remote_requests_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "enrich/stats/types.ts#L29-L35" }, { "kind": "interface", "name": { "name": "ExecutingPolicy", "namespace": "enrich.stats" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "task", "required": true, "type": { "kind": "instance_of", "type": { "name": "TaskInfo", "namespace": "tasks._types" } } } ], "specLocation": "enrich/stats/types.ts#L24-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns enrich coordinator statistics and information about enrich policies that are currently executing.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "enrich.stats" }, "path": [], "query": [], "specLocation": "enrich/stats/EnrichStatsRequest.ts#L22-L28" }, { "body": { "kind": "properties", "properties": [ { "description": "Objects containing information about each coordinating ingest node for configured enrich processors.", "name": "coordinator_stats", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CoordinatorStats", "namespace": "enrich.stats" } } } }, { "description": "Objects containing information about each enrich policy that is currently executing.", "name": "executing_policies", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ExecutingPolicy", "namespace": "enrich.stats" } } } }, { "availability": { "serverless": {}, "stack": { "since": "7.16.0" } }, "description": "Objects containing information about the enrich cache stats on each ingest node.", "name": "cache_stats", "required": false, "since": "7.16.0", "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CacheStats", "namespace": "enrich.stats" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "enrich.stats" }, "specLocation": "enrich/stats/EnrichStatsResponse.ts#L22-L39" }, { "generics": [ { "name": "TEvent", "namespace": "eql._types" } ], "kind": "interface", "name": { "name": "EqlHits", "namespace": "eql._types" }, "properties": [ { "description": "Metadata about the number of matching events or sequences.", "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "TotalHits", "namespace": "_global.search._types" } } }, { "description": "Contains events matching the query. Each object represents a matching event.", "name": "events", "required": false, "type": { "kind": "array_of", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TEvent", "namespace": "eql._types" } } ], "kind": "instance_of", "type": { "name": "HitsEvent", "namespace": "eql._types" } } } }, { "description": "Contains event sequences matching the query. Each object represents a matching sequence. This parameter is only returned for EQL queries containing a sequence.", "docId": "eql-sequences", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/eql-syntax.html#eql-sequences", "name": "sequences", "required": false, "type": { "kind": "array_of", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TEvent", "namespace": "eql._types" } } ], "kind": "instance_of", "type": { "name": "HitsSequence", "namespace": "eql._types" } } } } ], "specLocation": "eql/_types/EqlHits.ts#L25-L39" }, { "generics": [ { "name": "TEvent", "namespace": "eql._types" } ], "kind": "interface", "name": { "name": "EqlSearchResponseBase", "namespace": "eql._types" }, "properties": [ { "description": "Identifier for the search.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "If true, the response does not contain complete search results.", "name": "is_partial", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, the search request is still executing.", "name": "is_running", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Milliseconds it took Elasticsearch to execute the request.", "name": "took", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "If true, the request timed out before completion.", "name": "timed_out", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Contains matching events and sequences. Also contains related metadata.", "name": "hits", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "TEvent", "namespace": "eql._types" } } ], "kind": "instance_of", "type": { "name": "EqlHits", "namespace": "eql._types" } } } ], "specLocation": "eql/_types/EqlSearchResponseBase.ts#L25-L50" }, { "generics": [ { "name": "TEvent", "namespace": "eql._types" } ], "kind": "interface", "name": { "name": "HitsEvent", "namespace": "eql._types" }, "properties": [ { "description": "Name of the index containing the event.", "name": "_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Unique identifier for the event. This ID is only unique within the index.", "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Original JSON body passed for the event at index time.", "name": "_source", "required": true, "type": { "kind": "instance_of", "type": { "name": "TEvent", "namespace": "eql._types" } } }, { "name": "fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "array_of", "value": { "kind": "user_defined_value" } } } } ], "specLocation": "eql/_types/EqlHits.ts#L41-L49" }, { "generics": [ { "name": "TEvent", "namespace": "eql._types" } ], "kind": "interface", "name": { "name": "HitsSequence", "namespace": "eql._types" }, "properties": [ { "description": "Contains events matching the query. Each object represents a matching event.", "name": "events", "required": true, "type": { "kind": "array_of", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TEvent", "namespace": "eql._types" } } ], "kind": "instance_of", "type": { "name": "HitsEvent", "namespace": "eql._types" } } } }, { "description": "Shared field values used to constrain matches in the sequence. These are defined using the by keyword in the EQL query syntax.", "docId": "eql-sequences", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/eql-syntax.html#eql-sequences", "name": "join_keys", "required": true, "type": { "kind": "array_of", "value": { "kind": "user_defined_value" } } } ], "specLocation": "eql/_types/EqlHits.ts#L51-L59" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes an async EQL search or a stored synchronous EQL search.\nThe API also deletes results for the search.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "eql.delete" }, "path": [ { "description": "Identifier for the search to delete.\nA search ID is provided in the EQL search API's response for an async search.\nA search ID is also provided if the request’s `keep_on_completion` parameter is `true`.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "eql/delete/EqlDeleteRequest.ts#L23-L39" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "eql.delete" }, "specLocation": "eql/delete/EqlDeleteResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns the current status and available results for an async EQL search or a stored synchronous EQL search.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "eql.get" }, "path": [ { "description": "Identifier for the search.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Period for which the search and its results are stored on the cluster.\nDefaults to the keep_alive value set by the search’s EQL search API request.", "name": "keep_alive", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Timeout duration to wait for the request to finish.\nDefaults to no timeout, meaning the request waits for complete search results.", "name": "wait_for_completion_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "eql/get/EqlGetRequest.ts#L24-L50" }, { "body": { "kind": "value", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TEvent", "namespace": "eql.get" } } ], "kind": "instance_of", "type": { "name": "EqlSearchResponseBase", "namespace": "eql._types" } } }, "generics": [ { "name": "TEvent", "namespace": "eql.get" } ], "kind": "response", "name": { "name": "Response", "namespace": "eql.get" }, "specLocation": "eql/get/EqlGetResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns the current status for an async EQL search or a stored synchronous EQL search without returning results.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "eql.get_status" }, "path": [ { "description": "Identifier for the search.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "eql/get_status/EqlGetStatusRequest.ts#L23-L35" }, { "body": { "kind": "properties", "properties": [ { "description": "Identifier for the search.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "If true, the search request is still executing. If false, the search is completed.", "name": "is_partial", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, the response does not contain complete search results. This could be because either the search is still running (is_running status is false), or because it is already completed (is_running status is true) and results are partial due to failures or timeouts.", "name": "is_running", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "For a running search shows a timestamp when the eql search started, in milliseconds since the Unix epoch.", "name": "start_time_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "Shows a timestamp when the eql search will be expired, in milliseconds since the Unix epoch. When this time is reached, the search and its results are deleted, even if the search is still ongoing.", "name": "expiration_time_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "For a completed search shows the http status code of the completed search.", "name": "completion_status", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "eql.get_status" }, "specLocation": "eql/get_status/EqlGetStatusResponse.ts#L24-L51" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "EQL query you wish to run.", "docId": "eql-syntax", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/eql-syntax.html", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "case_sensitive", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Field containing the event classification, such as process, file, or network.", "name": "event_category_field", "required": false, "serverDefault": "event.category", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Field used to sort hits with the same timestamp in ascending order", "docId": "sort-tiebreaker", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/eql.html#eql-search-specify-a-sort-tiebreaker", "name": "tiebreaker_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Field containing event timestamp. Default \"@timestamp\"", "name": "timestamp_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Maximum number of events to search at a time for sequence queries.", "name": "fetch_size", "required": false, "serverDefault": 1000, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "description": "Query, written in Query DSL, used to filter the events on which the EQL query runs.", "name": "filter", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ], "kind": "union_of" } }, { "name": "keep_alive", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "keep_on_completion", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "wait_for_completion_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "For basic queries, the maximum number of matching events to return. Defaults to 10", "docId": "eql-basic-syntax", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/eql-syntax.html#eql-basic-syntax", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "description": "Array of wildcard (*) patterns. The response returns values for field names matching these patterns in the fields property of each hit.", "name": "fields", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "FieldAndFormat", "namespace": "_types.query_dsl" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldAndFormat", "namespace": "_types.query_dsl" } } } ], "kind": "union_of" } }, { "name": "result_position", "required": false, "serverDefault": "tail", "type": { "kind": "instance_of", "type": { "name": "ResultPosition", "namespace": "eql.search" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.0.0" } }, "name": "runtime_mappings", "required": false, "since": "8.0.0", "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } } ] }, "description": "Returns results matching a query expressed in Event Query Language (EQL)", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "eql.search" }, "path": [ { "description": "The name of the index to scope the operation", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If true, missing or closed indices are not included in the response.", "name": "ignore_unavailable", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period for which the search and its results are stored on the cluster.", "name": "keep_alive", "required": false, "serverDefault": "5d", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If true, the search and its results are stored on the cluster.", "name": "keep_on_completion", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Timeout duration to wait for the request to finish. Defaults to no timeout, meaning the request waits for complete search results.", "name": "wait_for_completion_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "eql/search/EqlSearchRequest.ts#L28-L118" }, { "body": { "kind": "value", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TEvent", "namespace": "eql.search" } } ], "kind": "instance_of", "type": { "name": "EqlSearchResponseBase", "namespace": "eql._types" } } }, "generics": [ { "name": "TEvent", "namespace": "eql.search" } ], "kind": "response", "name": { "name": "Response", "namespace": "eql.search" }, "specLocation": "eql/search/EqlSearchResponse.ts#L22-L24" }, { "kind": "enum", "members": [ { "description": "Return the most recent matches, similar to the Unix tail command.", "name": "tail" }, { "description": "Return the earliest matches, similar to the Unix head command.", "name": "head" } ], "name": { "name": "ResultPosition", "namespace": "eql.search" }, "specLocation": "eql/search/types.ts#L20-L32" }, { "description": "Version of the ES|QL language that should be used by default in serverless client libraries.\n\nThis value is guaranteed to be stable for a given value of the Serverless API version, even if newer versions\nof the ES|QL language are added within that API version.", "kind": "type_alias", "name": { "name": "BaseServerlessEsqlVersion", "namespace": "esql._types" }, "specLocation": "esql/_types/EsqlVersion.ts#L42-L48", "type": { "kind": "literal_value", "value": "2024.04.01" } }, { "description": "Version of the ES|QL language that should be used by default in stateful client libraries.\n\nThis value is guaranteed to be stable within a major version of the Elastic Stack, even if newer versions\nof the ES|QL language are added within that major version.", "kind": "type_alias", "name": { "name": "BaseStatefulEsqlVersion", "namespace": "esql._types" }, "specLocation": "esql/_types/EsqlVersion.ts#L34-L40", "type": { "kind": "literal_value", "value": "2024.04.01" } }, { "kind": "enum", "members": [ { "codegenName": "V2024_04_01", "description": "Run against the first version of ES|QL.", "name": "2024.04.01" } ], "name": { "name": "EsqlVersion", "namespace": "esql._types" }, "specLocation": "esql/_types/EsqlVersion.ts#L20-L29" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "By default, ES|QL returns results as rows. For example, FROM returns each individual document as one row. For the JSON, YAML, CBOR and smile formats, ES|QL can return the results in a columnar fashion where one row represents all the values of a certain column in the results.", "name": "columnar", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specify a Query DSL query in the filter parameter to filter the set of documents that an ES|QL query runs on.", "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "name": "locale", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "To avoid any attempts of hacking or code injection, extract the values in a separate list of parameters. Use question mark placeholders (?) in the query string for each of the parameters.", "docId": "esql-query-params", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/esql-rest.html#esql-rest-params", "name": "params", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ScalarValue", "namespace": "_types" } } } }, { "description": "The ES|QL query API accepts an ES|QL query string in the query parameter, runs it, and returns the results.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The version of the ES|QL language in which the \"query\" field was written.", "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "EsqlVersion", "namespace": "esql._types" } } } ] }, "description": "Executes an ES|QL request", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "esql.query" }, "path": [], "query": [ { "description": "A short version of the Accept header, e.g. json, yaml.", "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The character to use between values within a CSV row. Only valid for the CSV format.", "name": "delimiter", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "esql/query/QueryRequest.ts#L25-L69" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "EsqlColumns", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "esql.query" }, "specLocation": "esql/query/QueryResponse.ts#L22-L25" }, { "kind": "interface", "name": { "name": "Feature", "namespace": "features._types" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "features/_types/Feature.ts#L20-L23" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "features.get_features" }, "path": [], "query": [], "specLocation": "features/get_features/GetFeaturesRequest.ts#L22-L26" }, { "body": { "kind": "properties", "properties": [ { "name": "features", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "features._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "features.get_features" }, "specLocation": "features/get_features/GetFeaturesResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Resets the internal state of features, usually by deleting system indices", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "features.reset_features" }, "path": [], "query": [], "specLocation": "features/reset_features/ResetFeaturesRequest.ts#L22-L27" }, { "body": { "kind": "properties", "properties": [ { "name": "features", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "features._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "features.reset_features" }, "specLocation": "features/reset_features/ResetFeaturesResponse.ts#L22-L26" }, { "kind": "type_alias", "name": { "name": "Checkpoint", "namespace": "fleet._types" }, "specLocation": "fleet/_types/Checkpoints.ts#L22-L22", "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns the current global checkpoints for an index. This API is design for internal use by the fleet server project.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "fleet.global_checkpoints" }, "path": [ { "description": "A single index or index alias that resolves to a single index.", "name": "index", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "IndexAlias", "namespace": "_types" } } ], "kind": "union_of" } } ], "query": [ { "description": "A boolean value which controls whether to wait (until the timeout) for the global checkpoints\nto advance past the provided `checkpoints`.", "name": "wait_for_advance", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "A boolean value which controls whether to wait (until the timeout) for the target index to exist\nand all primary shards be active. Can only be true when `wait_for_advance` is true.", "name": "wait_for_index", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "A comma separated list of previous global checkpoints. When used in combination with `wait_for_advance`,\nthe API will only return once the global checkpoints advances past the checkpoints. Providing an empty list\nwill cause Elasticsearch to immediately return the current global checkpoints.", "name": "checkpoints", "required": false, "serverDefault": [], "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Checkpoint", "namespace": "fleet._types" } } } }, { "description": "Period to wait for a global checkpoints to advance past `checkpoints`.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "fleet/global_checkpoints/GlobalCheckpointsRequest.ts#L25-L63" }, { "body": { "kind": "properties", "properties": [ { "name": "global_checkpoints", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Checkpoint", "namespace": "fleet._types" } } } }, { "name": "timed_out", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "fleet.global_checkpoints" }, "specLocation": "fleet/global_checkpoints/GlobalCheckpointsResponse.ts#L22-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "searches", "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RequestItem", "namespace": "_global.msearch" } } } }, "description": "Executes several [fleet searches](https://www.elastic.co/guide/en/elasticsearch/reference/current/fleet-search.html) with a single API request.\nThe API follows the same structure as the [multi search](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html) API. However, similar to the fleet search API, it\nsupports the wait_for_checkpoints parameter.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "fleet.msearch" }, "path": [ { "description": "A single target to search. If the target is an index alias, it must resolve to a single index.", "name": "index", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "IndexAlias", "namespace": "_types" } } ], "kind": "union_of" } } ], "query": [ { "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", "name": "allow_no_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, network roundtrips between the coordinating node and remote clusters are minimized for cross-cluster search requests.", "docId": "ccs-network-delays", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/modules-cross-cluster-search.html#ccs-network-delays", "name": "ccs_minimize_roundtrips", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", "name": "ignore_throttled", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, missing or closed indices are not included in the response.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Maximum number of concurrent searches the multi search API can execute.", "name": "max_concurrent_searches", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Maximum number of concurrent shard requests that each sub-search request executes per node.", "name": "max_concurrent_shard_requests", "required": false, "serverDefault": 5, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method i.e., if date filters are mandatory to match but the shard bounds and the query are disjoint.", "name": "pre_filter_shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Indicates whether global term and document frequencies should be used when scoring returned documents.", "name": "search_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchType", "namespace": "_types" } } }, { "description": "If true, hits.total are returned as an integer in the response. Defaults to false, which returns an object.", "name": "rest_total_hits_as_int", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies whether aggregation and suggester names should be prefixed by their respective types in the response.", "name": "typed_keys", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "A comma separated list of checkpoints. When configured, the search API will only be executed on a shard\nafter the relevant checkpoint has become visible for search. Defaults to an empty list which will cause\nElasticsearch to immediately execute the search.", "name": "wait_for_checkpoints", "required": false, "serverDefault": [], "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Checkpoint", "namespace": "fleet._types" } } } }, { "description": "If true, returns partial results if there are shard request timeouts or [shard failures](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-replication.html#shard-failures). If false, returns\nan error with no partial results. Defaults to the configured cluster setting `search.default_allow_partial_results`\nwhich is true by default.", "name": "allow_partial_search_results", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "fleet/msearch/MultiSearchRequest.ts#L32-L115" }, { "body": { "kind": "properties", "properties": [ { "name": "docs", "required": true, "type": { "kind": "array_of", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "fleet.msearch" } } ], "kind": "instance_of", "type": { "name": "ResponseItem", "namespace": "_global.msearch" } } } } ] }, "generics": [ { "name": "TDocument", "namespace": "fleet.msearch" } ], "kind": "response", "name": { "name": "Response", "namespace": "fleet.msearch" }, "specLocation": "fleet/msearch/MultiSearchResponse.ts#L25-L29" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "aliases": [ "aggs" ], "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AggregationContainer", "namespace": "_types.aggregations" } } } }, { "name": "collapse", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldCollapse", "namespace": "_global.search._types" } } }, { "description": "If true, returns detailed information about score computation as part of a hit.", "name": "explain", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Configuration of search extensions defined by Elasticsearch plugins.", "name": "ext", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "Starting document offset. By default, you cannot page through more than 10,000\nhits using the from and size parameters. To page through more hits, use the\nsearch_after parameter.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "highlight", "required": false, "type": { "kind": "instance_of", "type": { "name": "Highlight", "namespace": "_global.search._types" } } }, { "description": "Number of hits matching the query to count accurately. If true, the exact\nnumber of hits is returned at the cost of some performance. If false, the\nresponse does not include the total number of hits matching the query.\nDefaults to 10,000 hits.", "name": "track_total_hits", "required": false, "type": { "kind": "instance_of", "type": { "name": "TrackHits", "namespace": "_global.search._types" } } }, { "description": "Boosts the _score of documents from specified indices.", "name": "indices_boost", "required": false, "type": { "kind": "array_of", "value": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } } }, { "description": "Array of wildcard (*) patterns. The request returns doc values for field\nnames matching these patterns in the hits.fields property of the response.", "name": "docvalue_fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldAndFormat", "namespace": "_types.query_dsl" } } } }, { "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", "name": "min_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "post_filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "name": "profile", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Defines the search definition using the Query DSL.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "name": "rescore", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "Rescore", "namespace": "_global.search._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Rescore", "namespace": "_global.search._types" } } } ], "kind": "union_of" } }, { "description": "Retrieve a script evaluation (based on different fields) for each hit.", "name": "script_fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ScriptField", "namespace": "_types" } } } }, { "name": "search_after", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortResults", "namespace": "_types" } } }, { "description": "The number of hits to return. By default, you cannot page through more\nthan 10,000 hits using the from and size parameters. To page through more\nhits, use the search_after parameter.", "name": "size", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "slice", "required": false, "type": { "kind": "instance_of", "type": { "name": "SlicedScroll", "namespace": "_types" } } }, { "docId": "sort-search-results", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/sort-search-results.html", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "Sort", "namespace": "_types" } } }, { "description": "Indicates which source fields are returned for matching documents. These\nfields are returned in the hits._source property of the search response.", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfig", "namespace": "_global.search._types" } } }, { "description": "Array of wildcard (*) patterns. The request returns values for field names\nmatching these patterns in the hits.fields property of the response.", "name": "fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldAndFormat", "namespace": "_types.query_dsl" } } } }, { "name": "suggest", "required": false, "type": { "kind": "instance_of", "type": { "name": "Suggester", "namespace": "_global.search._types" } } }, { "description": "Maximum number of documents to collect for each shard. If a query reaches this\nlimit, Elasticsearch terminates the query early. Elasticsearch collects documents\nbefore sorting. Defaults to 0, which does not terminate query execution early.", "name": "terminate_after", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Specifies the period of time to wait for a response from each shard. If no response\nis received before the timeout expires, the request fails and returns an error.\nDefaults to no timeout.", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If true, calculate and return document scores, even if the scores are not used for sorting.", "name": "track_scores", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, returns document version as part of a hit.", "name": "version", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, returns sequence number and primary term of the last modification\nof each hit. See Optimistic concurrency control.", "name": "seq_no_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "List of stored fields to return as part of a hit. If no fields are specified,\nno stored fields are included in the response. If this field is specified, the _source\nparameter defaults to false. You can pass _source: true to return both source fields\nand stored fields in the search response.", "name": "stored_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Limits the search to a point in time (PIT). If you provide a PIT, you\ncannot specify an in the request path.", "name": "pit", "required": false, "type": { "kind": "instance_of", "type": { "name": "PointInTimeReference", "namespace": "_global.search._types" } } }, { "description": "Defines one or more runtime fields in the search request. These fields take\nprecedence over mapped fields with the same name.", "name": "runtime_mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } }, { "description": "Stats groups to associate with the search. Each group maintains a statistics\naggregation for its associated searches. You can retrieve these stats using\nthe indices stats API.", "name": "stats", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "description": "The purpose of the fleet search api is to provide a search api where the search will only be executed\nafter provided checkpoint has been processed and is visible for searches inside of Elasticsearch.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "fleet.search" }, "path": [ { "description": "A single target to search. If the target is an index alias, it must resolve to a single index.", "name": "index", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "IndexAlias", "namespace": "_types" } } ], "kind": "union_of" } } ], "query": [ { "name": "allow_no_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "analyze_wildcard", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "batched_reduce_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "ccs_minimize_roundtrips", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "default_operator", "required": false, "type": { "kind": "instance_of", "type": { "name": "Operator", "namespace": "_types.query_dsl" } } }, { "name": "df", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "docvalue_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "name": "explain", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "ignore_throttled", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "ignore_unavailable", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "lenient", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "max_concurrent_shard_requests", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "min_compatible_shard_node", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "pre_filter_shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "request_cache", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "name": "scroll", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "search_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchType", "namespace": "_types" } } }, { "name": "stats", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "stored_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Specifies which field to use for suggestions.", "name": "suggest_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "suggest_mode", "required": false, "type": { "kind": "instance_of", "type": { "name": "SuggestMode", "namespace": "_types" } } }, { "name": "suggest_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The source text for which the suggestions should be returned.", "name": "suggest_text", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "terminate_after", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "track_total_hits", "required": false, "type": { "kind": "instance_of", "type": { "name": "TrackHits", "namespace": "_global.search._types" } } }, { "name": "track_scores", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "typed_keys", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "rest_total_hits_as_int", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfigParam", "namespace": "_global.search._types" } } }, { "name": "_source_excludes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "name": "_source_includes", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "name": "seq_no_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "q", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "from", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "sort", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } }, { "description": "A comma separated list of checkpoints. When configured, the search API will only be executed on a shard\nafter the relevant checkpoint has become visible for search. Defaults to an empty list which will cause\nElasticsearch to immediately execute the search.", "name": "wait_for_checkpoints", "required": false, "serverDefault": [], "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Checkpoint", "namespace": "fleet._types" } } } }, { "description": "If true, returns partial results if there are shard request timeouts or [shard failures](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-replication.html#shard-failures). If false, returns\nan error with no partial results. Defaults to the configured cluster setting `search.default_allow_partial_results`\nwhich is true by default.", "name": "allow_partial_search_results", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "fleet/search/SearchRequest.ts#L55-L260" }, { "body": { "kind": "properties", "properties": [ { "name": "took", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "timed_out", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } }, { "name": "hits", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "fleet.search" } } ], "kind": "instance_of", "type": { "name": "HitsMetadata", "namespace": "_global.search._types" } } }, { "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "AggregateName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Aggregate", "namespace": "_types.aggregations" } } } }, { "name": "_clusters", "required": false, "type": { "kind": "instance_of", "type": { "name": "ClusterStatistics", "namespace": "_types" } } }, { "name": "fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "max_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "num_reduce_phases", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "profile", "required": false, "type": { "kind": "instance_of", "type": { "name": "Profile", "namespace": "_global.search._types" } } }, { "name": "pit_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "_scroll_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScrollId", "namespace": "_types" } } }, { "name": "suggest", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "SuggestionName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "array_of", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "fleet.search" } } ], "kind": "instance_of", "type": { "name": "Suggest", "namespace": "_global.search._types" } } } } }, { "name": "terminated_early", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "generics": [ { "name": "TDocument", "namespace": "fleet.search" } ], "kind": "response", "name": { "name": "Response", "namespace": "fleet.search" }, "specLocation": "fleet/search/SearchResponse.ts#L33-L50" }, { "kind": "interface", "name": { "name": "Connection", "namespace": "graph._types" }, "properties": [ { "name": "doc_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "source", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "target", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "weight", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "graph/_types/Connection.ts#L22-L27" }, { "kind": "interface", "name": { "name": "ExploreControls", "namespace": "graph._types" }, "properties": [ { "description": "To avoid the top-matching documents sample being dominated by a single source of results, it is sometimes necessary to request diversity in the sample.\nYou can do this by selecting a single-value field and setting a maximum number of documents per value for that field.", "name": "sample_diversity", "required": false, "type": { "kind": "instance_of", "type": { "name": "SampleDiversity", "namespace": "graph._types" } } }, { "description": "Each hop considers a sample of the best-matching documents on each shard.\nUsing samples improves the speed of execution and keeps exploration focused on meaningfully-connected terms.\nVery small values (less than 50) might not provide sufficient weight-of-evidence to identify significant connections between terms.\nVery large sample sizes can dilute the quality of the results and increase execution times.", "name": "sample_size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The length of time in milliseconds after which exploration will be halted and the results gathered so far are returned.\nThis timeout is honored on a best-effort basis.\nExecution might overrun this timeout if, for example, a long pause is encountered while FieldData is loaded for a field.", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Filters associated terms so only those that are significantly associated with your query are included.", "docId": "search-aggregations-bucket-significantterms-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-significantterms-aggregation.html", "name": "use_significance", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "graph/_types/ExploreControls.ts#L24-L49" }, { "kind": "interface", "name": { "name": "Hop", "namespace": "graph._types" }, "properties": [ { "description": "Specifies one or more fields from which you want to extract terms that are associated with the specified vertices.", "name": "connections", "required": false, "type": { "kind": "instance_of", "type": { "name": "Hop", "namespace": "graph._types" } } }, { "description": "An optional guiding query that constrains the Graph API as it explores connected terms.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Contains the fields you are interested in.", "name": "vertices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "VertexDefinition", "namespace": "graph._types" } } } } ], "specLocation": "graph/_types/Hop.ts#L23-L36" }, { "kind": "interface", "name": { "name": "SampleDiversity", "namespace": "graph._types" }, "properties": [ { "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "max_docs_per_value", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "graph/_types/ExploreControls.ts#L51-L54" }, { "kind": "interface", "name": { "name": "Vertex", "namespace": "graph._types" }, "properties": [ { "name": "depth", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "term", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "weight", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "graph/_types/Vertex.ts#L23-L28" }, { "kind": "interface", "name": { "name": "VertexDefinition", "namespace": "graph._types" }, "properties": [ { "description": "Prevents the specified terms from being included in the results.", "name": "exclude", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Identifies a field in the documents of interest.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Identifies the terms of interest that form the starting points from which you want to spider out.", "name": "include", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "VertexInclude", "namespace": "graph._types" } } } }, { "description": "Specifies how many documents must contain a pair of terms before it is considered to be a useful connection.\nThis setting acts as a certainty threshold.", "name": "min_doc_count", "required": false, "serverDefault": 3, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Controls how many documents on a particular shard have to contain a pair of terms before the connection is returned for global consideration.", "name": "shard_min_doc_count", "required": false, "serverDefault": 2, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Specifies the maximum number of vertex terms returned for each field.", "name": "size", "required": false, "serverDefault": 5, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "graph/_types/Vertex.ts#L30-L59" }, { "kind": "interface", "name": { "name": "VertexInclude", "namespace": "graph._types" }, "properties": [ { "name": "boost", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "term", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "graph/_types/Vertex.ts#L61-L64" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Specifies or more fields from which you want to extract terms that are associated with the specified vertices.", "name": "connections", "required": false, "type": { "kind": "instance_of", "type": { "name": "Hop", "namespace": "graph._types" } } }, { "description": "Direct the Graph API how to build the graph.", "name": "controls", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExploreControls", "namespace": "graph._types" } } }, { "description": "A seed query that identifies the documents of interest. Can be any valid Elasticsearch query.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Specifies one or more fields that contain the terms you want to include in the graph as vertices.", "name": "vertices", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "VertexDefinition", "namespace": "graph._types" } } } } ] }, "description": "Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "graph.explore" }, "path": [ { "description": "Name of the index.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "Custom value used to route operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "Specifies the period of time to wait for a response from each shard.\nIf no response is received before the timeout expires, the request fails and returns an error.\nDefaults to no timeout.", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "graph/explore/GraphExploreRequest.ts#L28-L72" }, { "body": { "kind": "properties", "properties": [ { "name": "connections", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Connection", "namespace": "graph._types" } } } }, { "name": "failures", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ShardFailure", "namespace": "_types" } } } }, { "name": "timed_out", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "took", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "vertices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Vertex", "namespace": "graph._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "graph.explore" }, "specLocation": "graph/explore/GraphExploreResponse.ts#L25-L33" }, { "kind": "type_alias", "name": { "name": "Actions", "namespace": "ilm._types" }, "specLocation": "ilm/_types/Phase.ts#L48-L48", "type": { "kind": "user_defined_value" } }, { "kind": "interface", "name": { "name": "Configurations", "namespace": "ilm._types" }, "properties": [ { "name": "rollover", "required": false, "type": { "kind": "instance_of", "type": { "name": "RolloverConditions", "namespace": "indices.rollover" } } }, { "name": "forcemerge", "required": false, "type": { "kind": "instance_of", "type": { "name": "ForceMergeConfiguration", "namespace": "ilm._types" } } }, { "name": "shrink", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShrinkConfiguration", "namespace": "ilm._types" } } } ], "specLocation": "ilm/_types/Phase.ts#L50-L54" }, { "kind": "interface", "name": { "name": "ForceMergeConfiguration", "namespace": "ilm._types" }, "properties": [ { "name": "max_num_segments", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ilm/_types/Phase.ts#L56-L58" }, { "kind": "interface", "name": { "name": "Phase", "namespace": "ilm._types" }, "properties": [ { "name": "actions", "required": false, "type": { "kind": "instance_of", "type": { "name": "Actions", "namespace": "ilm._types" } } }, { "esQuirk": "output as a millis number in XPack usage stats, which cannot roundtrip with a Duration as it requires a unit.", "name": "min_age", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } ], "kind": "union_of" } }, { "availability": { "serverless": {}, "stack": { "since": "7.16.0" } }, "name": "configurations", "required": false, "since": "7.16.0", "type": { "kind": "instance_of", "type": { "name": "Configurations", "namespace": "ilm._types" } } } ], "specLocation": "ilm/_types/Phase.ts#L25-L36" }, { "kind": "interface", "name": { "name": "Phases", "namespace": "ilm._types" }, "properties": [ { "name": "cold", "required": false, "type": { "kind": "instance_of", "type": { "name": "Phase", "namespace": "ilm._types" } } }, { "name": "delete", "required": false, "type": { "kind": "instance_of", "type": { "name": "Phase", "namespace": "ilm._types" } } }, { "name": "frozen", "required": false, "type": { "kind": "instance_of", "type": { "name": "Phase", "namespace": "ilm._types" } } }, { "name": "hot", "required": false, "type": { "kind": "instance_of", "type": { "name": "Phase", "namespace": "ilm._types" } } }, { "name": "warm", "required": false, "type": { "kind": "instance_of", "type": { "name": "Phase", "namespace": "ilm._types" } } } ], "specLocation": "ilm/_types/Phase.ts#L38-L44" }, { "kind": "interface", "name": { "name": "Policy", "namespace": "ilm._types" }, "properties": [ { "name": "phases", "required": true, "type": { "kind": "instance_of", "type": { "name": "Phases", "namespace": "ilm._types" } } }, { "name": "_meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } } ], "specLocation": "ilm/_types/Policy.ts#L23-L26" }, { "kind": "interface", "name": { "name": "ShrinkConfiguration", "namespace": "ilm._types" }, "properties": [ { "name": "number_of_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ilm/_types/Phase.ts#L60-L62" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes the specified lifecycle policy definition. You cannot delete policies that are currently in use. If the policy is being used to manage any indices, the request fails and returns an error.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ilm.delete_lifecycle" }, "path": [ { "codegenName": "name", "description": "Identifier for the policy.", "name": "policy", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ilm/delete_lifecycle/DeleteLifecycleRequest.ts#L24-L51" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ilm.delete_lifecycle" }, "specLocation": "ilm/delete_lifecycle/DeleteLifecycleResponse.ts#L22-L24" }, { "kind": "type_alias", "name": { "name": "LifecycleExplain", "namespace": "ilm.explain_lifecycle" }, "specLocation": "ilm/explain_lifecycle/types.ts#L59-L62", "type": { "items": [ { "kind": "instance_of", "type": { "name": "LifecycleExplainManaged", "namespace": "ilm.explain_lifecycle" } }, { "kind": "instance_of", "type": { "name": "LifecycleExplainUnmanaged", "namespace": "ilm.explain_lifecycle" } } ], "kind": "union_of" }, "variants": { "kind": "internal_tag", "tag": "managed" } }, { "kind": "interface", "name": { "name": "LifecycleExplainManaged", "namespace": "ilm.explain_lifecycle" }, "properties": [ { "name": "action", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "action_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "action_time_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "age", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "failed_step", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "failed_step_retry_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "index_creation_date", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "index_creation_date_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "is_auto_retryable_error", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "lifecycle_date", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "lifecycle_date_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "managed", "required": true, "type": { "kind": "literal_value", "value": true } }, { "name": "phase", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "phase_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "phase_time_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "policy", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "step", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "step_info", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "step_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "step_time_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "phase_execution", "required": false, "type": { "kind": "instance_of", "type": { "name": "LifecycleExplainPhaseExecution", "namespace": "ilm.explain_lifecycle" } } }, { "name": "time_since_index_creation", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ilm/explain_lifecycle/types.ts#L26-L52" }, { "kind": "interface", "name": { "name": "LifecycleExplainPhaseExecution", "namespace": "ilm.explain_lifecycle" }, "properties": [ { "name": "policy", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "modified_date_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } } ], "specLocation": "ilm/explain_lifecycle/types.ts#L64-L68" }, { "kind": "interface", "name": { "name": "LifecycleExplainUnmanaged", "namespace": "ilm.explain_lifecycle" }, "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "managed", "required": true, "type": { "kind": "literal_value", "value": false } } ], "specLocation": "ilm/explain_lifecycle/types.ts#L54-L57" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves information about the index’s current lifecycle state, such as the currently executing phase, action, and step. Shows when the index entered each one, the definition of the running phase, and information about any failures.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ilm.explain_lifecycle" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases to target. Supports wildcards (`*`).\nTo target all data streams and indices, use `*` or `_all`.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "Filters the returned indices to only indices that are managed by ILM and are in an error state, either due to an encountering an error while executing the policy, or attempting to use a policy that does not exist.", "name": "only_errors", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Filters the returned indices to only indices that are managed by ILM.", "name": "only_managed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ilm/explain_lifecycle/ExplainLifecycleRequest.ts#L24-L58" }, { "body": { "kind": "properties", "properties": [ { "name": "indices", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "LifecycleExplain", "namespace": "ilm.explain_lifecycle" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ilm.explain_lifecycle" }, "specLocation": "ilm/explain_lifecycle/ExplainLifecycleResponse.ts#L24-L28" }, { "kind": "interface", "name": { "name": "Lifecycle", "namespace": "ilm.get_lifecycle" }, "properties": [ { "name": "modified_date", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "policy", "required": true, "type": { "kind": "instance_of", "type": { "name": "Policy", "namespace": "ilm._types" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } } ], "specLocation": "ilm/get_lifecycle/types.ts#L24-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves a lifecycle policy.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ilm.get_lifecycle" }, "path": [ { "codegenName": "name", "description": "Identifier for the policy.", "name": "policy", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ilm/get_lifecycle/GetLifecycleRequest.ts#L24-L50" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Lifecycle", "namespace": "ilm.get_lifecycle" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "ilm.get_lifecycle" }, "specLocation": "ilm/get_lifecycle/GetLifecycleResponse.ts#L23-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves the current index lifecycle management (ILM) status.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ilm.get_status" }, "path": [], "query": [], "specLocation": "ilm/get_status/GetIlmStatusRequest.ts#L22-L26" }, { "body": { "kind": "properties", "properties": [ { "name": "operation_mode", "required": true, "type": { "kind": "instance_of", "type": { "name": "LifecycleOperationMode", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ilm.get_status" }, "specLocation": "ilm/get_status/GetIlmStatusResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "legacy_template_to_delete", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "node_attribute", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Switches the indices, ILM policies, and legacy, composable and component templates from using custom node attributes and\nattribute-based allocation filters to using data tiers, and optionally deletes one legacy index template.+\nUsing node roles enables ILM to automatically move the indices between data tiers.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ilm.migrate_to_data_tiers" }, "path": [], "query": [ { "description": "If true, simulates the migration from node attributes based allocation filters to data tiers, but does not perform the migration.\nThis provides a way to retrieve the indices and ILM policies that need to be migrated.", "name": "dry_run", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ilm/migrate_to_data_tiers/Request.ts#L22-L43" }, { "body": { "kind": "properties", "properties": [ { "name": "dry_run", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "removed_legacy_template", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "migrated_ilm_policies", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "migrated_indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "name": "migrated_legacy_templates", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "migrated_composable_templates", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "migrated_component_templates", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ilm.migrate_to_data_tiers" }, "specLocation": "ilm/migrate_to_data_tiers/Response.ts#L22-L32" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "current_step", "required": false, "type": { "kind": "instance_of", "type": { "name": "StepKey", "namespace": "ilm.move_to_step" } } }, { "name": "next_step", "required": false, "type": { "kind": "instance_of", "type": { "name": "StepKey", "namespace": "ilm.move_to_step" } } } ] }, "description": "Manually moves an index into the specified step and executes that step.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ilm.move_to_step" }, "path": [ { "description": "The name of the index whose lifecycle step is to change", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [], "specLocation": "ilm/move_to_step/MoveToStepRequest.ts#L24-L36" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ilm.move_to_step" }, "specLocation": "ilm/move_to_step/MoveToStepResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "StepKey", "namespace": "ilm.move_to_step" }, "properties": [ { "name": "action", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "phase", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ilm/move_to_step/types.ts#L20-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "policy", "required": false, "type": { "kind": "instance_of", "type": { "name": "Policy", "namespace": "ilm._types" } } } ] }, "description": "Creates a lifecycle policy. If the specified policy exists, the policy is replaced and the policy version is incremented.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ilm.put_lifecycle" }, "path": [ { "codegenName": "name", "description": "Identifier for the policy.", "name": "policy", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ilm/put_lifecycle/PutLifecycleRequest.ts#L25-L55" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ilm.put_lifecycle" }, "specLocation": "ilm/put_lifecycle/PutLifecycleResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Removes the assigned lifecycle policy and stops managing the specified index", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ilm.remove_policy" }, "path": [ { "description": "The name of the index to remove policy on", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [], "specLocation": "ilm/remove_policy/RemovePolicyRequest.ts#L23-L31" }, { "body": { "kind": "properties", "properties": [ { "name": "failed_indexes", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } }, { "name": "has_failures", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ilm.remove_policy" }, "specLocation": "ilm/remove_policy/RemovePolicyResponse.ts#L22-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retries executing the policy for an index that is in the ERROR step.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ilm.retry" }, "path": [ { "description": "The name of the indices (comma-separated) whose failed lifecycle step is to be retry", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [], "specLocation": "ilm/retry/RetryIlmRequest.ts#L23-L31" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ilm.retry" }, "specLocation": "ilm/retry/RetryIlmResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Start the index lifecycle management (ILM) plugin.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ilm.start" }, "path": [], "query": [ { "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ilm/start/StartIlmRequest.ts#L23-L32" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ilm.start" }, "specLocation": "ilm/start/StartIlmResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Halts all lifecycle management operations and stops the index lifecycle management (ILM) plugin", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ilm.stop" }, "path": [], "query": [ { "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ilm/stop/StopIlmRequest.ts#L23-L32" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ilm.stop" }, "specLocation": "ilm/stop/StopIlmResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "Alias", "namespace": "indices._types" }, "properties": [ { "description": "Query used to limit documents the alias can access.", "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Value used to route indexing operations to a specific shard.\nIf specified, this overwrites the `routing` value for indexing operations.", "name": "index_routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "If `true`, the alias is hidden.\nAll indices for the alias must have the same `is_hidden` value.", "name": "is_hidden", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the index is the write index for the alias.", "name": "is_write_index", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Value used to route indexing and search operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "Value used to route search operations to a specific shard.\nIf specified, this overwrites the `routing` value for search operations.", "name": "search_routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } } ], "specLocation": "indices/_types/Alias.ts#L23-L53" }, { "kind": "interface", "name": { "name": "AliasDefinition", "namespace": "indices._types" }, "properties": [ { "description": "Query used to limit documents the alias can access.", "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Value used to route indexing operations to a specific shard.\nIf specified, this overwrites the `routing` value for indexing operations.", "name": "index_routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, the index is the write index for the alias.", "name": "is_write_index", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Value used to route indexing and search operations to a specific shard.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Value used to route search operations to a specific shard.\nIf specified, this overwrites the `routing` value for search operations.", "name": "search_routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.16.0" } }, "description": "If `true`, the alias is hidden.\nAll indices for the alias must have the same `is_hidden` value.", "name": "is_hidden", "required": false, "serverDefault": false, "since": "7.16.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/_types/AliasDefinition.ts#L22-L54" }, { "kind": "interface", "name": { "name": "CacheQueries", "namespace": "indices._types" }, "properties": [ { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L405-L407" }, { "kind": "interface", "name": { "name": "DataStream", "namespace": "indices._types" }, "properties": [ { "description": "Custom metadata for the stream, copied from the `_meta` object of the stream’s matching index template.\nIf empty, the response omits this property.", "docId": "mapping-meta-field", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-meta-field.html", "name": "_meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "If `true`, the data stream allows custom routing on write request.", "name": "allow_custom_routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Current generation for the data stream. This number acts as a cumulative count of the stream’s rollovers, starting at 1.", "name": "generation", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "If `true`, the data stream is hidden.", "name": "hidden", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Name of the current ILM lifecycle policy in the stream’s matching index template.\nThis lifecycle policy is set in the `index.lifecycle.name` setting.\nIf the template does not include a lifecycle policy, this property is not included in the response.\nNOTE: A data stream’s backing indices may be assigned different lifecycle policies. To retrieve the lifecycle policy for individual backing indices, use the get index settings API.", "name": "ilm_policy", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Name of the lifecycle system that'll manage the next generation of the data stream.", "name": "next_generation_managed_by", "required": true, "type": { "kind": "instance_of", "type": { "name": "ManagedBy", "namespace": "indices._types" } } }, { "description": "Indicates if ILM should take precedence over DSL in case both are configured to managed this data stream.", "name": "prefer_ilm", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Array of objects containing information about the data stream’s backing indices.\nThe last item in this array contains information about the stream’s current write index.", "name": "indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DataStreamIndex", "namespace": "indices._types" } } } }, { "availability": { "serverless": { "stability": "stable" }, "stack": { "since": "8.11.0", "stability": "stable" } }, "description": "Contains the configuration for the data lifecycle management of this data stream.", "name": "lifecycle", "required": false, "since": "8.11.0", "stability": "stable", "type": { "kind": "instance_of", "type": { "name": "DataStreamLifecycleWithRollover", "namespace": "indices._types" } } }, { "description": "Name of the data stream.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataStreamName", "namespace": "_types" } } }, { "description": "If `true`, the data stream is created and managed by cross-cluster replication and the local cluster can not write into this data stream or change its mappings.", "name": "replicated", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Health status of the data stream.\nThis health status is based on the state of the primary and replica shards of the stream’s backing indices.", "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "HealthStatus", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.10.0" } }, "description": "If `true`, the data stream is created and managed by an Elastic stack component and cannot be modified through normal user interaction.", "name": "system", "required": false, "since": "7.10.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Name of the index template used to create the data stream’s backing indices.\nThe template’s index pattern must match the name of this data stream.", "name": "template", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Information about the `@timestamp` field in the data stream.", "name": "timestamp_field", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataStreamTimestampField", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/DataStream.ts#L39-L112" }, { "kind": "interface", "name": { "name": "DataStreamIndex", "namespace": "indices._types" }, "properties": [ { "description": "Name of the backing index.", "name": "index_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Universally unique identifier (UUID) for the index.", "name": "index_uuid", "required": true, "type": { "kind": "instance_of", "type": { "name": "Uuid", "namespace": "_types" } } }, { "description": "Name of the current ILM lifecycle policy configured for this backing index.", "name": "ilm_policy", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Name of the lifecycle system that's currently managing this backing index.", "name": "managed_by", "required": true, "type": { "kind": "instance_of", "type": { "name": "ManagedBy", "namespace": "indices._types" } } }, { "description": "Indicates if ILM should take precedence over DSL in case both are configured to manage this index.", "name": "prefer_ilm", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/_types/DataStream.ts#L121-L142" }, { "description": "Data lifecycle denotes that a data stream is managed by the data stream lifecycle and contains the configuration.", "kind": "interface", "name": { "name": "DataStreamLifecycle", "namespace": "indices._types" }, "properties": [ { "name": "data_retention", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "downsampling", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataStreamLifecycleDownsampling", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/DataStreamLifecycle.ts#L25-L31" }, { "kind": "interface", "name": { "name": "DataStreamLifecycleDownsampling", "namespace": "indices._types" }, "properties": [ { "description": "The list of downsampling rounds to execute as part of this downsampling configuration", "name": "rounds", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DownsamplingRound", "namespace": "indices._types" } } } } ], "specLocation": "indices/_types/DataStreamLifecycleDownsampling.ts#L22-L27" }, { "kind": "interface", "name": { "name": "DataStreamLifecycleRolloverConditions", "namespace": "indices._types" }, "properties": [ { "name": "min_age", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "max_age", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "min_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "min_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "max_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "min_primary_shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "max_primary_shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "min_primary_shard_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_primary_shard_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "indices/_types/DataStreamLifecycle.ts#L57-L69" }, { "description": "Data lifecycle with rollover can be used to display the configuration including the default rollover conditions,\nif asked.", "kind": "interface", "name": { "name": "DataStreamLifecycleWithRollover", "namespace": "indices._types" }, "properties": [ { "description": "If defined, every document added to this data stream will be stored at least for this time frame.\nAny time after this duration the document could be deleted.\nWhen empty, every document in this data stream will be stored indefinitely.", "name": "data_retention", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The downsampling configuration to execute for the managed backing index after rollover.", "name": "downsampling", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataStreamLifecycleDownsampling", "namespace": "indices._types" } } }, { "description": "The conditions which will trigger the rollover of a backing index as configured by the cluster setting `cluster.lifecycle.default.rollover`.\nThis property is an implementation detail and it will only be retrieved when the query param `include_defaults` is set to true.\nThe contents of this field are subject to change.", "name": "rollover", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataStreamLifecycleRolloverConditions", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/DataStreamLifecycle.ts#L33-L55" }, { "kind": "interface", "name": { "name": "DataStreamTimestampField", "namespace": "indices._types" }, "properties": [ { "description": "Name of the timestamp field for the data stream, which must be `@timestamp`. The `@timestamp` field must be included in every document indexed to the data stream.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "indices/_types/DataStream.ts#L114-L119" }, { "kind": "interface", "name": { "name": "DataStreamVisibility", "namespace": "indices._types" }, "properties": [ { "name": "hidden", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/_types/DataStream.ts#L144-L146" }, { "kind": "interface", "name": { "name": "DownsampleConfig", "namespace": "indices._types" }, "properties": [ { "description": "The interval at which to aggregate the original time series index.", "name": "fixed_interval", "required": true, "type": { "kind": "instance_of", "type": { "name": "DurationLarge", "namespace": "_types" } } } ], "specLocation": "indices/_types/Downsample.ts#L22-L27" }, { "kind": "interface", "name": { "name": "DownsamplingRound", "namespace": "indices._types" }, "properties": [ { "description": "The duration since rollover when this downsampling round should execute", "name": "after", "required": true, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The downsample configuration to execute.", "name": "config", "required": true, "type": { "kind": "instance_of", "type": { "name": "DownsampleConfig", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/DownsamplingRound.ts#L23-L32" }, { "kind": "interface", "name": { "name": "FielddataFrequencyFilter", "namespace": "indices._types" }, "properties": [ { "name": "max", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "min", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "min_segment_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "indices/_types/FielddataFrequencyFilter.ts#L22-L26" }, { "esQuirk": "This is a boolean that evolved into an enum. ES also accepts plain booleans for true and false.", "kind": "enum", "members": [ { "name": "true" }, { "name": "false" }, { "name": "checksum" } ], "name": { "name": "IndexCheckOnStartup", "namespace": "indices._types" }, "specLocation": "indices/_types/IndexSettings.ts#L260-L267" }, { "kind": "interface", "name": { "name": "IndexRouting", "namespace": "indices._types" }, "properties": [ { "name": "allocation", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexRoutingAllocation", "namespace": "indices._types" } } }, { "name": "rebalance", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexRoutingRebalance", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexRouting.ts#L22-L25" }, { "kind": "interface", "name": { "name": "IndexRoutingAllocation", "namespace": "indices._types" }, "properties": [ { "name": "enable", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexRoutingAllocationOptions", "namespace": "indices._types" } } }, { "name": "include", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexRoutingAllocationInclude", "namespace": "indices._types" } } }, { "name": "initial_recovery", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexRoutingAllocationInitialRecovery", "namespace": "indices._types" } } }, { "name": "disk", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexRoutingAllocationDisk", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexRouting.ts#L27-L32" }, { "kind": "interface", "name": { "name": "IndexRoutingAllocationDisk", "namespace": "indices._types" }, "properties": [ { "name": "threshold_enabled", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } } ], "specLocation": "indices/_types/IndexRouting.ts#L62-L64" }, { "kind": "interface", "name": { "name": "IndexRoutingAllocationInclude", "namespace": "indices._types" }, "properties": [ { "name": "_tier_preference", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexRouting.ts#L52-L55" }, { "kind": "interface", "name": { "name": "IndexRoutingAllocationInitialRecovery", "namespace": "indices._types" }, "properties": [ { "name": "_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexRouting.ts#L57-L59" }, { "kind": "enum", "members": [ { "name": "all" }, { "name": "primaries" }, { "name": "new_primaries" }, { "name": "none" } ], "name": { "name": "IndexRoutingAllocationOptions", "namespace": "indices._types" }, "specLocation": "indices/_types/IndexRouting.ts#L38-L43" }, { "kind": "interface", "name": { "name": "IndexRoutingRebalance", "namespace": "indices._types" }, "properties": [ { "name": "enable", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexRoutingRebalanceOptions", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexRouting.ts#L34-L36" }, { "kind": "enum", "members": [ { "name": "all" }, { "name": "primaries" }, { "name": "replicas" }, { "name": "none" } ], "name": { "name": "IndexRoutingRebalanceOptions", "namespace": "indices._types" }, "specLocation": "indices/_types/IndexRouting.ts#L45-L50" }, { "kind": "interface", "name": { "name": "IndexSegmentSort", "namespace": "indices._types" }, "properties": [ { "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "name": "order", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "SegmentSortOrder", "namespace": "indices._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SegmentSortOrder", "namespace": "indices._types" } } } ], "kind": "union_of" } }, { "name": "mode", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "SegmentSortMode", "namespace": "indices._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SegmentSortMode", "namespace": "indices._types" } } } ], "kind": "union_of" } }, { "name": "missing", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "SegmentSortMissing", "namespace": "indices._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SegmentSortMissing", "namespace": "indices._types" } } } ], "kind": "union_of" } } ], "specLocation": "indices/_types/IndexSegmentSort.ts#L22-L27" }, { "kind": "interface", "name": { "name": "IndexSettingBlocks", "namespace": "indices._types" }, "properties": [ { "name": "read_only", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "name": "read_only_allow_delete", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "name": "read", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "name": "write", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "name": "metadata", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L252-L258" }, { "attachedBehaviors": [ "AdditionalProperties" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "user_defined_value" } ], "type": { "name": "AdditionalProperties", "namespace": "_spec_utils" } } ], "docId": "index-modules-settings", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/index-modules.html#index-modules-settings", "kind": "interface", "name": { "name": "IndexSettings", "namespace": "indices._types" }, "properties": [ { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexSettings", "namespace": "indices._types" } } }, { "name": "mode", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "routing_path", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } }, { "name": "soft_deletes", "required": false, "type": { "kind": "instance_of", "type": { "name": "SoftDeletes", "namespace": "indices._types" } } }, { "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexSegmentSort", "namespace": "indices._types" } } }, { "name": "number_of_shards", "required": false, "serverDefault": "1", "type": { "items": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "number_of_replicas", "required": false, "serverDefault": "0", "type": { "items": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "number_of_routing_shards", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "check_on_startup", "required": false, "serverDefault": "false", "type": { "kind": "instance_of", "type": { "name": "IndexCheckOnStartup", "namespace": "indices._types" } } }, { "name": "codec", "required": false, "serverDefault": "LZ4", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "routing_partition_size", "required": false, "serverDefault": "1", "type": { "generics": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "name": "load_fixed_bitset_filters_eagerly", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "hidden", "required": false, "serverDefault": "false", "type": { "items": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "auto_expand_replicas", "required": false, "serverDefault": "false", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "merge", "required": false, "type": { "kind": "instance_of", "type": { "name": "Merge", "namespace": "indices._types" } } }, { "name": "search", "required": false, "type": { "kind": "instance_of", "type": { "name": "SettingsSearch", "namespace": "indices._types" } } }, { "name": "refresh_interval", "required": false, "serverDefault": "1s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "max_result_window", "required": false, "serverDefault": 10000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "max_inner_result_window", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "max_rescore_window", "required": false, "serverDefault": 10000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "max_docvalue_fields_search", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "max_script_fields", "required": false, "serverDefault": 32, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "max_ngram_diff", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "max_shingle_diff", "required": false, "serverDefault": 3, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "blocks", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexSettingBlocks", "namespace": "indices._types" } } }, { "name": "max_refresh_listeners", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Settings to define analyzers, tokenizers, token filters and character filters.", "name": "analyze", "required": false, "type": { "kind": "instance_of", "type": { "name": "SettingsAnalyze", "namespace": "indices._types" } } }, { "name": "highlight", "required": false, "type": { "kind": "instance_of", "type": { "name": "SettingsHighlight", "namespace": "indices._types" } } }, { "name": "max_terms_count", "required": false, "serverDefault": 65536, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "max_regex_length", "required": false, "serverDefault": 1000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexRouting", "namespace": "indices._types" } } }, { "name": "gc_deletes", "required": false, "serverDefault": "60s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "default_pipeline", "required": false, "serverDefault": "_none", "type": { "kind": "instance_of", "type": { "name": "PipelineName", "namespace": "_types" } } }, { "name": "final_pipeline", "required": false, "serverDefault": "_none", "type": { "kind": "instance_of", "type": { "name": "PipelineName", "namespace": "_types" } } }, { "name": "lifecycle", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexSettingsLifecycle", "namespace": "indices._types" } } }, { "name": "provided_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "creation_date", "required": false, "type": { "generics": [ { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "name": "creation_date_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "uuid", "required": false, "type": { "kind": "instance_of", "type": { "name": "Uuid", "namespace": "_types" } } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexVersioning", "namespace": "indices._types" } } }, { "name": "verified_before_close", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "format", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } ], "kind": "union_of" } }, { "name": "max_slices_per_scroll", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "translog", "required": false, "type": { "kind": "instance_of", "type": { "name": "Translog", "namespace": "indices._types" } } }, { "name": "query_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "SettingsQueryString", "namespace": "indices._types" } } }, { "name": "priority", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "top_metrics_max_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "analysis", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexSettingsAnalysis", "namespace": "indices._types" } } }, { "name": "settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexSettings", "namespace": "indices._types" } } }, { "name": "time_series", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexSettingsTimeSeries", "namespace": "indices._types" } } }, { "name": "queries", "required": false, "type": { "kind": "instance_of", "type": { "name": "Queries", "namespace": "indices._types" } } }, { "description": "Configure custom similarity settings to customize how search results are scored.", "name": "similarity", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "SettingsSimilarity", "namespace": "indices._types" } } } }, { "description": "Enable or disable dynamic mapping for an index.", "name": "mapping", "required": false, "type": { "kind": "instance_of", "type": { "name": "MappingLimitSettings", "namespace": "indices._types" } } }, { "name": "indexing.slowlog", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexingSlowlogSettings", "namespace": "indices._types" } } }, { "description": "Configure indexing back pressure limits.", "name": "indexing_pressure", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexingPressure", "namespace": "indices._types" } } }, { "description": "The store module allows you to control how index data is stored and accessed on disk.", "name": "store", "required": false, "type": { "kind": "instance_of", "type": { "name": "Storage", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L69-L167" }, { "kind": "interface", "name": { "name": "IndexSettingsAnalysis", "namespace": "indices._types" }, "properties": [ { "name": "analyzer", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Analyzer", "namespace": "_types.analysis" } } } }, { "name": "char_filter", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "CharFilter", "namespace": "_types.analysis" } } } }, { "name": "filter", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "TokenFilter", "namespace": "_types.analysis" } } } }, { "name": "normalizer", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Normalizer", "namespace": "_types.analysis" } } } }, { "name": "tokenizer", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Tokenizer", "namespace": "_types.analysis" } } } } ], "specLocation": "indices/_types/IndexSettings.ts#L317-L323" }, { "kind": "interface", "name": { "name": "IndexSettingsLifecycle", "namespace": "indices._types" }, "properties": [ { "description": "The name of the policy to use to manage the index. For information about how Elasticsearch applies policy changes, see Policy updates.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Indicates whether or not the index has been rolled over. Automatically set to true when ILM completes the rollover action.\nYou can explicitly set it to skip rollover.", "name": "indexing_complete", "required": false, "serverDefault": "false", "type": { "generics": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "description": "If specified, this is the timestamp used to calculate the index age for its phase transitions. Use this setting\nif you create a new index that contains old data and want to use the original creation date to calculate the index\nage. Specified as a Unix epoch value in milliseconds.", "name": "origination_date", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Set to true to parse the origination date from the index name. This origination date is used to calculate the index age\nfor its phase transitions. The index name must match the pattern ^.*-{date_format}-\\\\d+, where the date_format is\nyyyy.MM.dd and the trailing digits are optional. An index that was rolled over would normally match the full format,\nfor example logs-2016.10.31-000002). If the index name doesn’t match the pattern, index creation fails.", "name": "parse_origination_date", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "step", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexSettingsLifecycleStep", "namespace": "indices._types" } } }, { "description": "The index alias to update when the index rolls over. Specify when using a policy that contains a rollover action.\nWhen the index rolls over, the alias is updated to reflect that the index is no longer the write index. For more\ninformation about rolling indices, see Rollover.", "name": "rollover_alias", "required": false, "serverDefault": "", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L274-L307" }, { "kind": "interface", "name": { "name": "IndexSettingsLifecycleStep", "namespace": "indices._types" }, "properties": [ { "description": "Time to wait for the cluster to resolve allocation issues during an ILM shrink action. Must be greater than 1h (1 hour).\nSee Shard allocation for shrink.", "name": "wait_time_threshold", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L309-L315" }, { "kind": "interface", "name": { "name": "IndexSettingsTimeSeries", "namespace": "indices._types" }, "properties": [ { "name": "end_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "start_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L325-L328" }, { "kind": "interface", "name": { "name": "IndexState", "namespace": "indices._types" }, "properties": [ { "name": "aliases", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Alias", "namespace": "indices._types" } } } }, { "name": "mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "TypeMapping", "namespace": "_types.mapping" } } }, { "name": "settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexSettings", "namespace": "indices._types" } } }, { "description": "Default settings, included when the request's `include_default` is `true`.", "name": "defaults", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexSettings", "namespace": "indices._types" } } }, { "name": "data_stream", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataStreamName", "namespace": "_types" } } }, { "availability": { "serverless": { "stability": "stable" }, "stack": { "since": "8.11.0", "stability": "stable" } }, "description": "Data lifecycle applicable if this is a data stream.", "name": "lifecycle", "required": false, "since": "8.11.0", "stability": "stable", "type": { "kind": "instance_of", "type": { "name": "DataStreamLifecycle", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexState.ts#L27-L40" }, { "kind": "interface", "name": { "name": "IndexTemplate", "namespace": "indices._types" }, "properties": [ { "description": "Name of the index template.", "name": "index_patterns", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } }, { "description": "An ordered list of component template names.\nComponent templates are merged in the order specified, meaning that the last component template specified has the highest precedence.", "name": "composed_of", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } }, { "description": "Template to be applied.\nIt may optionally include an `aliases`, `mappings`, or `settings` configuration.", "name": "template", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexTemplateSummary", "namespace": "indices._types" } } }, { "description": "Version number used to manage index templates externally.\nThis number is not automatically generated by Elasticsearch.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "Priority to determine index template precedence when a new data stream or index is created.\nThe index template with the highest priority is chosen.\nIf no priority is specified the template is treated as though it is of priority 0 (lowest priority).\nThis number is not automatically generated by Elasticsearch.", "name": "priority", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Optional user metadata about the index template. May have any contents.\nThis map is not automatically generated by Elasticsearch.", "docId": "mapping-meta-field", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-meta-field.html", "name": "_meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "name": "allow_auto_create", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If this object is included, the template is used to create data streams and their backing indices.\nSupports an empty object.\nData streams require a matching index template with a `data_stream` object.", "name": "data_stream", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexTemplateDataStreamConfiguration", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexTemplate.ts#L31-L70" }, { "kind": "interface", "name": { "name": "IndexTemplateDataStreamConfiguration", "namespace": "indices._types" }, "properties": [ { "description": "If true, the data stream is hidden.", "name": "hidden", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, the data stream supports custom routing.", "name": "allow_custom_routing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/_types/IndexTemplate.ts#L72-L83" }, { "kind": "interface", "name": { "name": "IndexTemplateSummary", "namespace": "indices._types" }, "properties": [ { "description": "Aliases to add.\nIf the index template includes a `data_stream` object, these are data stream aliases.\nOtherwise, these are index aliases.\nData stream aliases ignore the `index_routing`, `routing`, and `search_routing` options.", "name": "aliases", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Alias", "namespace": "indices._types" } } } }, { "description": "Mapping for fields in the index.\nIf specified, this mapping can include field names, field data types, and mapping parameters.", "name": "mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "TypeMapping", "namespace": "_types.mapping" } } }, { "description": "Configuration options for the index.", "name": "settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexSettings", "namespace": "indices._types" } } }, { "availability": { "serverless": { "stability": "stable" }, "stack": { "since": "8.11.0", "stability": "stable" } }, "name": "lifecycle", "required": false, "since": "8.11.0", "stability": "stable", "type": { "kind": "instance_of", "type": { "name": "DataStreamLifecycleWithRollover", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexTemplate.ts#L85-L107" }, { "kind": "interface", "name": { "name": "IndexVersioning", "namespace": "indices._types" }, "properties": [ { "name": "created", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "created_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L269-L272" }, { "kind": "interface", "name": { "name": "IndexingPressure", "namespace": "indices._types" }, "properties": [ { "name": "memory", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexingPressureMemory", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L541-L543" }, { "kind": "interface", "name": { "name": "IndexingPressureMemory", "namespace": "indices._types" }, "properties": [ { "description": "Number of outstanding bytes that may be consumed by indexing requests. When this limit is reached or exceeded,\nthe node will reject new coordinating and primary operations. When replica operations consume 1.5x this limit,\nthe node will reject new replica operations. Defaults to 10% of the heap.", "name": "limit", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L545-L552" }, { "kind": "interface", "name": { "name": "IndexingSlowlogSettings", "namespace": "indices._types" }, "properties": [ { "name": "level", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "source", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "reformat", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "threshold", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexingSlowlogTresholds", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L554-L559" }, { "kind": "interface", "name": { "name": "IndexingSlowlogTresholds", "namespace": "indices._types" }, "properties": [ { "description": "The indexing slow log, similar in functionality to the search slow log. The log file name ends with `_index_indexing_slowlog.json`.\nLog and the thresholds are configured in the same way as the search slowlog.", "docId": "index-modules-slowlog-slowlog", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/index-modules-slowlog.html#index-slow-log", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "SlowlogTresholdLevels", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L561-L568" }, { "kind": "enum", "members": [ { "codegenName": "ilm", "name": "Index Lifecycle Management" }, { "codegenName": "datastream", "name": "Data stream lifecycle" }, { "codegenName": "unmanaged", "name": "Unmanaged" } ], "name": { "name": "ManagedBy", "namespace": "indices._types" }, "specLocation": "indices/_types/DataStream.ts#L32-L37" }, { "description": "Mapping Limit Settings", "docId": "mapping-settings-limit", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-settings-limit.html", "kind": "interface", "name": { "name": "MappingLimitSettings", "namespace": "indices._types" }, "properties": [ { "name": "coerce", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "total_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "MappingLimitSettingsTotalFields", "namespace": "indices._types" } } }, { "name": "depth", "required": false, "type": { "kind": "instance_of", "type": { "name": "MappingLimitSettingsDepth", "namespace": "indices._types" } } }, { "name": "nested_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "MappingLimitSettingsNestedFields", "namespace": "indices._types" } } }, { "name": "nested_objects", "required": false, "type": { "kind": "instance_of", "type": { "name": "MappingLimitSettingsNestedObjects", "namespace": "indices._types" } } }, { "name": "field_name_length", "required": false, "type": { "kind": "instance_of", "type": { "name": "MappingLimitSettingsFieldNameLength", "namespace": "indices._types" } } }, { "name": "dimension_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "MappingLimitSettingsDimensionFields", "namespace": "indices._types" } } }, { "name": "ignore_malformed", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L409-L422" }, { "kind": "interface", "name": { "name": "MappingLimitSettingsDepth", "namespace": "indices._types" }, "properties": [ { "description": "The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined\nat the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.", "name": "limit", "required": false, "serverDefault": 20, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L434-L441" }, { "kind": "interface", "name": { "name": "MappingLimitSettingsDimensionFields", "namespace": "indices._types" }, "properties": [ { "description": "[preview] This functionality is in technical preview and may be changed or removed in a future release.\nElastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.", "name": "limit", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L471-L477" }, { "kind": "interface", "name": { "name": "MappingLimitSettingsFieldNameLength", "namespace": "indices._types" }, "properties": [ { "description": "Setting for the maximum length of a field name. This setting isn’t really something that addresses mappings explosion but\nmight still be useful if you want to limit the field length. It usually shouldn’t be necessary to set this setting. The\ndefault is okay unless a user starts to add a huge number of fields with really long names. Default is `Long.MAX_VALUE` (no limit).", "name": "limit", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L462-L469" }, { "kind": "interface", "name": { "name": "MappingLimitSettingsNestedFields", "namespace": "indices._types" }, "properties": [ { "description": "The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when\narrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this\nsetting limits the number of unique nested types per index.", "name": "limit", "required": false, "serverDefault": 50, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L443-L451" }, { "kind": "interface", "name": { "name": "MappingLimitSettingsNestedObjects", "namespace": "indices._types" }, "properties": [ { "description": "The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps\nto prevent out of memory errors when a document contains too many nested objects.", "name": "limit", "required": false, "serverDefault": 10000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L453-L460" }, { "kind": "interface", "name": { "name": "MappingLimitSettingsTotalFields", "namespace": "indices._types" }, "properties": [ { "description": "The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.\nThe limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance\ndegradations and memory issues, especially in clusters with a high load or few resources.", "name": "limit", "required": false, "serverDefault": 1000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L424-L432" }, { "kind": "interface", "name": { "name": "Merge", "namespace": "indices._types" }, "properties": [ { "name": "scheduler", "required": false, "type": { "kind": "instance_of", "type": { "name": "MergeScheduler", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L330-L332" }, { "kind": "interface", "name": { "name": "MergeScheduler", "namespace": "indices._types" }, "properties": [ { "name": "max_thread_count", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "name": "max_merge_count", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L334-L337" }, { "kind": "interface", "name": { "name": "NumericFielddata", "namespace": "indices._types" }, "properties": [ { "name": "format", "required": true, "type": { "kind": "instance_of", "type": { "name": "NumericFielddataFormat", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/NumericFielddata.ts#L22-L24" }, { "kind": "enum", "members": [ { "name": "array" }, { "name": "disabled" } ], "name": { "name": "NumericFielddataFormat", "namespace": "indices._types" }, "specLocation": "indices/_types/NumericFielddataFormat.ts#L20-L23" }, { "kind": "interface", "name": { "name": "Queries", "namespace": "indices._types" }, "properties": [ { "name": "cache", "required": false, "type": { "kind": "instance_of", "type": { "name": "CacheQueries", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L401-L403" }, { "kind": "interface", "name": { "name": "RetentionLease", "namespace": "indices._types" }, "properties": [ { "name": "period", "required": true, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L65-L67" }, { "kind": "interface", "name": { "name": "SearchIdle", "namespace": "indices._types" }, "properties": [ { "name": "after", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L243-L246" }, { "kind": "enum", "members": [ { "codegenName": "last", "name": "_last" }, { "codegenName": "first", "name": "_first" } ], "name": { "name": "SegmentSortMissing", "namespace": "indices._types" }, "specLocation": "indices/_types/IndexSegmentSort.ts#L43-L46" }, { "kind": "enum", "members": [ { "aliases": [ "MIN" ], "name": "min" }, { "aliases": [ "MAX" ], "name": "max" } ], "name": { "name": "SegmentSortMode", "namespace": "indices._types" }, "specLocation": "indices/_types/IndexSegmentSort.ts#L36-L41" }, { "kind": "enum", "members": [ { "aliases": [ "ASC" ], "name": "asc" }, { "aliases": [ "DESC" ], "name": "desc" } ], "name": { "name": "SegmentSortOrder", "namespace": "indices._types" }, "specLocation": "indices/_types/IndexSegmentSort.ts#L29-L34" }, { "kind": "interface", "name": { "name": "SettingsAnalyze", "namespace": "indices._types" }, "properties": [ { "name": "max_token_count", "required": false, "serverDefault": "10000", "type": { "generics": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L233-L236" }, { "kind": "interface", "name": { "name": "SettingsHighlight", "namespace": "indices._types" }, "properties": [ { "name": "max_analyzed_offset", "required": false, "serverDefault": 1000000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L228-L231" }, { "kind": "interface", "name": { "name": "SettingsQueryString", "namespace": "indices._types" }, "properties": [ { "name": "lenient", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L248-L250" }, { "kind": "interface", "name": { "name": "SettingsSearch", "namespace": "indices._types" }, "properties": [ { "name": "idle", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchIdle", "namespace": "indices._types" } } }, { "name": "slowlog", "required": false, "type": { "kind": "instance_of", "type": { "name": "SlowlogSettings", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L238-L241" }, { "kind": "type_alias", "name": { "name": "SettingsSimilarity", "namespace": "indices._types" }, "specLocation": "indices/_types/IndexSettings.ts#L169-L180", "type": { "items": [ { "kind": "instance_of", "type": { "name": "SettingsSimilarityBm25", "namespace": "indices._types" } }, { "kind": "instance_of", "type": { "name": "SettingsSimilarityBoolean", "namespace": "indices._types" } }, { "kind": "instance_of", "type": { "name": "SettingsSimilarityDfi", "namespace": "indices._types" } }, { "kind": "instance_of", "type": { "name": "SettingsSimilarityDfr", "namespace": "indices._types" } }, { "kind": "instance_of", "type": { "name": "SettingsSimilarityIb", "namespace": "indices._types" } }, { "kind": "instance_of", "type": { "name": "SettingsSimilarityLmd", "namespace": "indices._types" } }, { "kind": "instance_of", "type": { "name": "SettingsSimilarityLmj", "namespace": "indices._types" } }, { "kind": "instance_of", "type": { "name": "SettingsSimilarityScripted", "namespace": "indices._types" } } ], "kind": "union_of" }, "variants": { "kind": "internal_tag", "tag": "type" } }, { "kind": "interface", "name": { "name": "SettingsSimilarityBm25", "namespace": "indices._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "BM25" } }, { "name": "b", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "discount_overlaps", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "k1", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L186-L191" }, { "kind": "interface", "name": { "name": "SettingsSimilarityBoolean", "namespace": "indices._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "boolean" } } ], "specLocation": "indices/_types/IndexSettings.ts#L182-L184" }, { "kind": "interface", "name": { "name": "SettingsSimilarityDfi", "namespace": "indices._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "DFI" } }, { "name": "independence_measure", "required": true, "type": { "kind": "instance_of", "type": { "name": "DFIIndependenceMeasure", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L193-L196" }, { "kind": "interface", "name": { "name": "SettingsSimilarityDfr", "namespace": "indices._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "DFR" } }, { "name": "after_effect", "required": true, "type": { "kind": "instance_of", "type": { "name": "DFRAfterEffect", "namespace": "_types" } } }, { "name": "basic_model", "required": true, "type": { "kind": "instance_of", "type": { "name": "DFRBasicModel", "namespace": "_types" } } }, { "name": "normalization", "required": true, "type": { "kind": "instance_of", "type": { "name": "Normalization", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L198-L203" }, { "kind": "interface", "name": { "name": "SettingsSimilarityIb", "namespace": "indices._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "IB" } }, { "name": "distribution", "required": true, "type": { "kind": "instance_of", "type": { "name": "IBDistribution", "namespace": "_types" } } }, { "name": "lambda", "required": true, "type": { "kind": "instance_of", "type": { "name": "IBLambda", "namespace": "_types" } } }, { "name": "normalization", "required": true, "type": { "kind": "instance_of", "type": { "name": "Normalization", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L205-L210" }, { "kind": "interface", "name": { "name": "SettingsSimilarityLmd", "namespace": "indices._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "LMDirichlet" } }, { "name": "mu", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L212-L215" }, { "kind": "interface", "name": { "name": "SettingsSimilarityLmj", "namespace": "indices._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "LMJelinekMercer" } }, { "name": "lambda", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L217-L220" }, { "kind": "interface", "name": { "name": "SettingsSimilarityScripted", "namespace": "indices._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "scripted" } }, { "name": "script", "required": true, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } }, { "name": "weight_script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L222-L226" }, { "kind": "interface", "name": { "name": "SlowlogSettings", "namespace": "indices._types" }, "properties": [ { "name": "level", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "source", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "reformat", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "threshold", "required": false, "type": { "kind": "instance_of", "type": { "name": "SlowlogTresholds", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L479-L484" }, { "kind": "interface", "name": { "name": "SlowlogTresholdLevels", "namespace": "indices._types" }, "properties": [ { "name": "warn", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "info", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "debug", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "trace", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L491-L496" }, { "kind": "interface", "name": { "name": "SlowlogTresholds", "namespace": "indices._types" }, "properties": [ { "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "SlowlogTresholdLevels", "namespace": "indices._types" } } }, { "name": "fetch", "required": false, "type": { "kind": "instance_of", "type": { "name": "SlowlogTresholdLevels", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L486-L489" }, { "kind": "interface", "name": { "name": "SoftDeletes", "namespace": "indices._types" }, "properties": [ { "description": "Indicates whether soft deletes are enabled on the index.", "name": "enabled", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The maximum period to retain a shard history retention lease before it is considered expired.\nShard history retention leases ensure that soft deletes are retained during merges on the Lucene\nindex. If a soft delete is merged away before it can be replicated to a follower the following\nprocess will fail due to incomplete history on the leader.", "name": "retention_lease", "required": false, "type": { "kind": "instance_of", "type": { "name": "RetentionLease", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L50-L63" }, { "kind": "interface", "name": { "name": "Storage", "namespace": "indices._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "StorageType", "namespace": "indices._types" } } }, { "description": "You can restrict the use of the mmapfs and the related hybridfs store type via the setting node.store.allow_mmap.\nThis is a boolean setting indicating whether or not memory-mapping is allowed. The default is to allow it. This\nsetting is useful, for example, if you are in an environment where you can not control the ability to create a lot\nof memory maps so you need disable the ability to use memory-mapping.", "name": "allow_mmap", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L498-L507" }, { "isOpen": true, "kind": "enum", "members": [ { "aliases": [ "" ], "description": "Default file system implementation. This will pick the best implementation depending on the operating environment, which\nis currently hybridfs on all supported systems but is subject to change.", "name": "fs" }, { "description": "The NIO FS type stores the shard index on the file system (maps to Lucene NIOFSDirectory) using NIO. It allows multiple\nthreads to read from the same file concurrently. It is not recommended on Windows because of a bug in the SUN Java\nimplementation and disables some optimizations for heap memory usage.", "name": "niofs" }, { "description": "The MMap FS type stores the shard index on the file system (maps to Lucene MMapDirectory) by mapping a file into\nmemory (mmap). Memory mapping uses up a portion of the virtual memory address space in your process equal to the size\nof the file being mapped. Before using this class, be sure you have allowed plenty of virtual address space.", "name": "mmapfs" }, { "description": "The hybridfs type is a hybrid of niofs and mmapfs, which chooses the best file system type for each type of file\nbased on the read access pattern. Currently only the Lucene term dictionary, norms and doc values files are memory\nmapped. All other files are opened using Lucene NIOFSDirectory. Similarly to mmapfs be sure you have allowed\nplenty of virtual address space.", "name": "hybridfs" } ], "name": { "name": "StorageType", "namespace": "indices._types" }, "specLocation": "indices/_types/IndexSettings.ts#L509-L539" }, { "kind": "interface", "name": { "name": "TemplateMapping", "namespace": "indices._types" }, "properties": [ { "name": "aliases", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Alias", "namespace": "indices._types" } } } }, { "name": "index_patterns", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } }, { "name": "mappings", "required": true, "type": { "kind": "instance_of", "type": { "name": "TypeMapping", "namespace": "_types.mapping" } } }, { "name": "order", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "settings", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } } ], "specLocation": "indices/_types/TemplateMapping.ts#L27-L34" }, { "kind": "interface", "name": { "name": "Translog", "namespace": "indices._types" }, "properties": [ { "description": "How often the translog is fsynced to disk and committed, regardless of write operations.\nValues less than 100ms are not allowed.", "name": "sync_interval", "required": false, "serverDefault": "5s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Whether or not to `fsync` and commit the translog after every index, delete, update, or bulk request.", "name": "durability", "required": false, "serverDefault": "string", "type": { "kind": "instance_of", "type": { "name": "TranslogDurability", "namespace": "indices._types" } } }, { "description": "The translog stores all operations that are not yet safely persisted in Lucene (i.e., are not\npart of a Lucene commit point). Although these operations are available for reads, they will need\nto be replayed if the shard was stopped and had to be recovered. This setting controls the\nmaximum total size of these operations, to prevent recoveries from taking too long. Once the\nmaximum size has been reached a flush will happen, generating a new Lucene commit point.", "name": "flush_threshold_size", "required": false, "serverDefault": "512mb", "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "retention", "required": false, "type": { "kind": "instance_of", "type": { "name": "TranslogRetention", "namespace": "indices._types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L339-L361" }, { "kind": "enum", "members": [ { "aliases": [ "REQUEST" ], "description": "(default) fsync and commit after every request. In the event of hardware failure, all acknowledged writes\nwill already have been committed to disk.", "name": "request" }, { "aliases": [ "ASYNC" ], "description": "fsync and commit in the background every sync_interval. In the event of a failure, all acknowledged writes\nsince the last automatic commit will be discarded.", "name": "async" } ], "name": { "name": "TranslogDurability", "namespace": "indices._types" }, "specLocation": "indices/_types/IndexSettings.ts#L363-L378" }, { "kind": "interface", "name": { "name": "TranslogRetention", "namespace": "indices._types" }, "properties": [ { "description": "This controls the total size of translog files to keep for each shard. Keeping more translog files increases\nthe chance of performing an operation based sync when recovering a replica. If the translog files are not\nsufficient, replica recovery will fall back to a file based sync. This setting is ignored, and should not be\nset, if soft deletes are enabled. Soft deletes are enabled by default in indices created in Elasticsearch\nversions 7.0.0 and later.", "name": "size", "required": false, "serverDefault": "512mb", "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "This controls the maximum duration for which translog files are kept by each shard. Keeping more\ntranslog files increases the chance of performing an operation based sync when recovering replicas. If\nthe translog files are not sufficient, replica recovery will fall back to a file based sync. This setting\nis ignored, and should not be set, if soft deletes are enabled. Soft deletes are enabled by default in\nindices created in Elasticsearch versions 7.0.0 and later.", "name": "age", "required": false, "serverDefault": "12h", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/_types/IndexSettings.ts#L380-L399" }, { "kind": "enum", "members": [ { "name": "metadata" }, { "name": "read" }, { "name": "read_only" }, { "name": "write" } ], "name": { "name": "IndicesBlockOptions", "namespace": "indices.add_block" }, "specLocation": "indices/add_block/IndicesAddBlockRequest.ts#L43-L48" }, { "kind": "interface", "name": { "name": "IndicesBlockStatus", "namespace": "indices.add_block" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "blocked", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/add_block/IndicesAddBlockResponse.ts#L30-L33" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Adds a block to an index.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.add_block" }, "path": [ { "description": "A comma separated list of indices to add a block to", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "The block to add (one of read, write, read_only or metadata)", "name": "block", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndicesBlockOptions", "namespace": "indices.add_block" } } } ], "query": [ { "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", "name": "allow_no_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", "name": "ignore_unavailable", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specify timeout for connection to master", "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Explicit operation timeout", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/add_block/IndicesAddBlockRequest.ts#L24-L41" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "shards_acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndicesBlockStatus", "namespace": "indices.add_block" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.add_block" }, "specLocation": "indices/add_block/IndicesAddBlockResponse.ts#L22-L28" }, { "kind": "interface", "name": { "name": "AnalyzeDetail", "namespace": "indices.analyze" }, "properties": [ { "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "AnalyzerDetail", "namespace": "indices.analyze" } } }, { "name": "charfilters", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CharFilterDetail", "namespace": "indices.analyze" } } } }, { "name": "custom_analyzer", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "tokenfilters", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TokenDetail", "namespace": "indices.analyze" } } } }, { "name": "tokenizer", "required": false, "type": { "kind": "instance_of", "type": { "name": "TokenDetail", "namespace": "indices.analyze" } } } ], "specLocation": "indices/analyze/types.ts#L24-L30" }, { "kind": "interface", "name": { "name": "AnalyzeToken", "namespace": "indices.analyze" }, "properties": [ { "name": "end_offset", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "position", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "positionLength", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "start_offset", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "token", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "indices/analyze/types.ts#L37-L44" }, { "kind": "interface", "name": { "name": "AnalyzerDetail", "namespace": "indices.analyze" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "tokens", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ExplainAnalyzeToken", "namespace": "indices.analyze" } } } } ], "specLocation": "indices/analyze/types.ts#L32-L35" }, { "kind": "interface", "name": { "name": "CharFilterDetail", "namespace": "indices.analyze" }, "properties": [ { "name": "filtered_text", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "indices/analyze/types.ts#L46-L49" }, { "attachedBehaviors": [ "AdditionalProperties" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "user_defined_value" } ], "type": { "name": "AdditionalProperties", "namespace": "_spec_utils" } } ], "kind": "interface", "name": { "name": "ExplainAnalyzeToken", "namespace": "indices.analyze" }, "properties": [ { "name": "bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "end_offset", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "keyword", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "position", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "positionLength", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "start_offset", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "termFrequency", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "token", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "indices/analyze/types.ts#L52-L64" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The name of the analyzer that should be applied to the provided `text`.\nThis could be a built-in analyzer, or an analyzer that’s been configured in the index.", "docId": "analysis-analyzers", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-analyzers.html", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Array of token attributes used to filter the output of the `explain` parameter.", "name": "attributes", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Array of character filters used to preprocess characters before the tokenizer.", "docId": "analysis-charfilters", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-charfilters.html", "name": "char_filter", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CharFilter", "namespace": "_types.analysis" } } } }, { "description": "If `true`, the response includes token attributes and additional details.", "name": "explain", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Field used to derive the analyzer.\nTo use this parameter, you must specify an index.\nIf specified, the `analyzer` parameter overrides this value.", "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Array of token filters used to apply after the tokenizer.", "docId": "analysis-tokenfilters", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-tokenfilters.html", "name": "filter", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TokenFilter", "namespace": "_types.analysis" } } } }, { "description": "Normalizer to use to convert text into a single token.", "docId": "analysis-normalizers", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-normalizers.html", "name": "normalizer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Text to analyze.\nIf an array of strings is provided, it is analyzed as a multi-value field.", "name": "text", "required": false, "type": { "kind": "instance_of", "type": { "name": "TextToAnalyze", "namespace": "indices.analyze" } } }, { "description": "Tokenizer to use to convert text into tokens.", "docId": "analysis-tokenizers", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-tokenizers.html", "name": "tokenizer", "required": false, "type": { "kind": "instance_of", "type": { "name": "Tokenizer", "namespace": "_types.analysis" } } } ] }, "description": "Performs analysis on a text string and returns the resulting tokens.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.analyze" }, "path": [ { "description": "Index used to derive the analyzer.\nIf specified, the `analyzer` or field parameter overrides this value.\nIf no index is specified or the index does not have a default analyzer, the analyze API uses the standard analyzer.", "docId": "analysis-standard-analyzer", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-standard-analyzer.html", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [], "specLocation": "indices/analyze/IndicesAnalyzeRequest.ts#L27-L92" }, { "body": { "kind": "properties", "properties": [ { "name": "detail", "required": false, "type": { "kind": "instance_of", "type": { "name": "AnalyzeDetail", "namespace": "indices.analyze" } } }, { "name": "tokens", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "AnalyzeToken", "namespace": "indices.analyze" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.analyze" }, "specLocation": "indices/analyze/IndicesAnalyzeResponse.ts#L22-L27" }, { "kind": "type_alias", "name": { "name": "TextToAnalyze", "namespace": "indices.analyze" }, "specLocation": "indices/analyze/types.ts#L66-L66", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "TokenDetail", "namespace": "indices.analyze" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "tokens", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ExplainAnalyzeToken", "namespace": "indices.analyze" } } } } ], "specLocation": "indices/analyze/types.ts#L68-L71" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Clears the caches of one or more indices.\nFor data streams, the API clears the caches of the stream’s backing indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.clear_cache" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `true`, clears the fields cache.\nUse the `fields` parameter to clear the cache of specific fields only.", "name": "fielddata", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Comma-separated list of field names used to limit the `fielddata` parameter.", "name": "fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, clears the query cache.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, clears the request cache.", "name": "request", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/clear_cache/IndicesIndicesClearCacheRequest.ts#L23-L77" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "ShardsOperationResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.clear_cache" }, "specLocation": "indices/clear_cache/IndicesClearCacheResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Aliases for the resulting index.", "name": "aliases", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Alias", "namespace": "indices._types" } } } }, { "description": "Configuration options for the target index.", "docId": "index-modules-settings", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/index-modules.html#index-modules-settings", "name": "settings", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ] }, "description": "Clones an existing index.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.clone" }, "path": [ { "description": "Name of the source index to clone.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Name of the target index to create.", "docId": "indices-clone-index", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indices-clone-index.html", "name": "target", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } } ], "specLocation": "indices/clone/IndicesCloneRequest.ts#L27-L75" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "shards_acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.clone" }, "specLocation": "indices/clone/IndicesCloneResponse.ts#L22-L28" }, { "kind": "interface", "name": { "name": "CloseIndexResult", "namespace": "indices.close" }, "properties": [ { "name": "closed", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "shards", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "CloseShardResult", "namespace": "indices.close" } } } } ], "specLocation": "indices/close/CloseIndexResponse.ts#L32-L35" }, { "kind": "interface", "name": { "name": "CloseShardResult", "namespace": "indices.close" }, "properties": [ { "name": "failures", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ShardFailure", "namespace": "_types" } } } } ], "specLocation": "indices/close/CloseIndexResponse.ts#L37-L39" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Closes an index.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.close" }, "path": [ { "description": "Comma-separated list or wildcard expression of index names used to limit the request.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } } ], "specLocation": "indices/close/CloseIndexRequest.ts#L24-L77" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "indices", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "CloseIndexResult", "namespace": "indices.close" } } } }, { "name": "shards_acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.close" }, "specLocation": "indices/close/CloseIndexResponse.ts#L24-L30" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Aliases for the index.", "name": "aliases", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Alias", "namespace": "indices._types" } } } }, { "description": "Mapping for fields in the index. If specified, this mapping can include:\n- Field names\n- Field data types\n- Mapping parameters", "docId": "mapping", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping.html", "name": "mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "TypeMapping", "namespace": "_types.mapping" } } }, { "description": "Configuration options for the index.", "name": "settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexSettings", "namespace": "indices._types" } } } ] }, "description": "Creates a new index.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.create" }, "path": [ { "description": "Name of the index you wish to create.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } } ], "specLocation": "indices/create/IndicesCreateRequest.ts#L28-L81" }, { "body": { "kind": "properties", "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "shards_acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.create" }, "specLocation": "indices/create/IndicesCreateResponse.ts#L22-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Creates a data stream.\nYou must have a matching index template with data stream enabled.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.create_data_stream" }, "path": [ { "description": "Name of the data stream, which must meet the following criteria:\nLowercase only;\nCannot include `\\`, `/`, `*`, `?`, `\"`, `<`, `>`, `|`, `,`, `#`, `:`, or a space character;\nCannot start with `-`, `_`, `+`, or `.ds-`;\nCannot be `.` or `..`;\nCannot be longer than 255 bytes. Multi-byte characters count towards this limit faster.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataStreamName", "namespace": "_types" } } } ], "query": [], "specLocation": "indices/create_data_stream/IndicesCreateDataStreamRequest.ts#L23-L43" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.create_data_stream" }, "specLocation": "indices/create_data_stream/IndicesCreateDataStreamResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "DataStreamsStatsItem", "namespace": "indices.data_streams_stats" }, "properties": [ { "description": "Current number of backing indices for the data stream.", "name": "backing_indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Name of the data stream.", "name": "data_stream", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "The data stream’s highest `@timestamp` value, converted to milliseconds since the Unix epoch.\nNOTE: This timestamp is provided as a best effort.\nThe data stream may contain `@timestamp` values higher than this if one or more of the following conditions are met:\nThe stream contains closed backing indices;\nBacking indices with a lower generation contain higher `@timestamp` values.", "name": "maximum_timestamp", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "Total size of all shards for the data stream’s backing indices.\nThis parameter is only returned if the `human` query parameter is `true`.", "name": "store_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Total size, in bytes, of all shards for the data stream’s backing indices.", "name": "store_size_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "indices/data_streams_stats/IndicesDataStreamsStatsResponse.ts#L45-L65" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves statistics for one or more data streams.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.data_streams_stats" }, "path": [ { "description": "Comma-separated list of data streams used to limit the request.\nWildcard expressions (`*`) are supported.\nTo target all data streams in a cluster, omit this parameter or use `*`.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } } ], "specLocation": "indices/data_streams_stats/IndicesDataStreamsStatsRequest.ts#L23-L47" }, { "body": { "kind": "properties", "properties": [ { "description": "Contains information about shards that attempted to execute the request.", "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } }, { "description": "Total number of backing indices for the selected data streams.", "name": "backing_indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Total number of selected data streams.", "name": "data_stream_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Contains statistics for the selected data streams.", "name": "data_streams", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DataStreamsStatsItem", "namespace": "indices.data_streams_stats" } } } }, { "description": "Total size of all shards for the selected data streams.\nThis property is included only if the `human` query parameter is `true`", "name": "total_store_sizes", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Total size, in bytes, of all shards for the selected data streams.", "name": "total_store_size_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.data_streams_stats" }, "specLocation": "indices/data_streams_stats/IndicesDataStreamsStatsResponse.ts#L25-L43" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes one or more indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.delete" }, "path": [ { "description": "Comma-separated list of indices to delete.\nYou cannot specify index aliases.\nBy default, this parameter does not support wildcards (`*`) or `_all`.\nTo use wildcards or `_all`, set the `action.destructive_requires_name` cluster setting to `false`.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/delete/IndicesDeleteRequest.ts#L24-L73" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "IndicesResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.delete" }, "specLocation": "indices/delete/IndicesDeleteResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Removes a data stream or index from an alias.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.delete_alias" }, "path": [ { "description": "Comma-separated list of data streams or indices used to limit the request.\nSupports wildcards (`*`).", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "Comma-separated list of aliases to remove.\nSupports wildcards (`*`). To remove all aliases, use `*` or `_all`.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/delete_alias/IndicesDeleteAliasRequest.ts#L24-L57" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.delete_alias" }, "specLocation": "indices/delete_alias/IndicesDeleteAliasResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Removes the data lifecycle from a data stream rendering it not managed by the data stream lifecycle", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.delete_data_lifecycle" }, "path": [ { "description": "A comma-separated list of data streams of which the data stream lifecycle will be deleted; use `*` to get all data streams", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataStreamNames", "namespace": "_types" } } } ], "query": [ { "description": "Whether wildcard expressions should get expanded to open or closed indices (default: open)", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "Specify timeout for connection to master", "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Explicit timestamp for the document", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/delete_data_lifecycle/IndicesDeleteDataLifecycleRequest.ts#L24-L39" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.delete_data_lifecycle" }, "specLocation": "indices/delete_data_lifecycle/IndicesDeleteDataLifecycleResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes one or more data streams and their backing indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.delete_data_stream" }, "path": [ { "description": "Comma-separated list of data streams to delete. Wildcard (`*`) expressions are supported.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataStreamNames", "namespace": "_types" } } } ], "query": [ { "description": "Type of data stream that wildcard patterns can match. Supports comma-separated values,such as `open,hidden`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } } ], "specLocation": "indices/delete_data_stream/IndicesDeleteDataStreamRequest.ts#L23-L44" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.delete_data_stream" }, "specLocation": "indices/delete_data_stream/IndicesDeleteDataStreamResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "The provided may contain multiple template names separated by a comma. If multiple template\nnames are specified then there is no wildcard support and the provided names should match completely with\nexisting templates.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.delete_index_template" }, "path": [ { "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/delete_index_template/IndicesDeleteIndexTemplateRequest.ts#L24-L52" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.delete_index_template" }, "specLocation": "indices/delete_index_template/IndicesDeleteIndexTemplateResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes a legacy index template.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.delete_template" }, "path": [ { "description": "The name of the legacy index template to delete.\nWildcard (`*`) expressions are supported.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/delete_template/IndicesDeleteTemplateRequest.ts#L24-L52" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.delete_template" }, "specLocation": "indices/delete_template/IndicesDeleteTemplateResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Analyzes the disk usage of each field of an index or data stream.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.disk_usage" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nIt’s recommended to execute this API with a single index (or the latest backing index of a data stream) as the API consumes resources significantly.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If false, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `true`, the API performs a flush before analysis.\nIf `false`, the response may not include uncommitted data.", "name": "flush", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, missing or closed indices are not included in the response.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Analyzing field disk usage is resource-intensive.\nTo use the API, this parameter must be set to `true`.", "name": "run_expensive_tasks", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/disk_usage/IndicesDiskUsageRequest.ts#L23-L71" }, { "body": { "kind": "value", "value": { "kind": "user_defined_value" } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.disk_usage" }, "specLocation": "indices/disk_usage/IndicesDiskUsageResponse.ts#L22-L25" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "config", "kind": "value", "value": { "kind": "instance_of", "type": { "name": "DownsampleConfig", "namespace": "indices._types" } } }, "description": "Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (`min`, `max`, `sum`, `value_count` and `avg`) for each metric field grouped by a configured time interval.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.downsample" }, "path": [ { "description": "Name of the time series index to downsample.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Name of the index to create.", "name": "target_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [], "specLocation": "indices/downsample/Request.ts#L24-L44" }, { "body": { "kind": "value", "value": { "kind": "user_defined_value" } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.downsample" }, "specLocation": "indices/downsample/Response.ts#L22-L25" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Checks if a data stream, index, or alias exists.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.exists" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases. Supports wildcards (`*`).", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `true`, returns settings in flat format.", "name": "flat_settings", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, return all default settings in the response.", "name": "include_defaults", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the request retrieves information from the local node only.", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/exists/IndicesExistsRequest.ts#L23-L72" }, { "body": { "kind": "no_body" }, "kind": "response", "name": { "name": "Response", "namespace": "indices.exists" }, "specLocation": "indices/exists/IndicesExistsResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Checks if an alias exists.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.exists_alias" }, "path": [ { "description": "Comma-separated list of aliases to check. Supports wildcards (`*`).", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } }, { "description": "Comma-separated list of data streams or indices used to limit the request. Supports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `false`, requests that include a missing data stream or index in the target indices or data streams return an error.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the request retrieves information from the local node only.", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/exists_alias/IndicesExistsAliasRequest.ts#L23-L67" }, { "body": { "kind": "no_body" }, "kind": "response", "name": { "name": "Response", "namespace": "indices.exists_alias" }, "specLocation": "indices/exists_alias/IndicesExistsAliasResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about whether a particular index template exists.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.exists_index_template" }, "path": [ { "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/exists_index_template/IndicesExistsIndexTemplateRequest.ts#L24-L41" }, { "body": { "kind": "no_body" }, "kind": "response", "name": { "name": "Response", "namespace": "indices.exists_index_template" }, "specLocation": "indices/exists_index_template/IndicesExistsIndexTemplateResponse.ts#L22-L29" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about whether a particular index template exists.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.exists_template" }, "path": [ { "description": "The comma separated names of the index templates", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "Return settings in flat format (default: false)", "name": "flat_settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Return local information, do not retrieve the state from master node (default: false)", "name": "local", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Explicit operation timeout for connection to master node", "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/exists_template/IndicesExistsTemplateRequest.ts#L24-L37" }, { "body": { "kind": "no_body" }, "kind": "response", "name": { "name": "Response", "namespace": "indices.exists_template" }, "specLocation": "indices/exists_template/IndicesExistsTemplateResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "DataStreamLifecycleExplain", "namespace": "indices.explain_data_lifecycle" }, "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "managed_by_lifecycle", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index_creation_date_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "time_since_index_creation", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "rollover_date_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "time_since_rollover", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "lifecycle", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataStreamLifecycleWithRollover", "namespace": "indices._types" } } }, { "name": "generation_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "error", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "indices/explain_data_lifecycle/IndicesExplainDataLifecycleResponse.ts#L31-L41" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves information about the index's current data stream lifecycle, such as any potential encountered error, time since creation etc.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.explain_data_lifecycle" }, "path": [ { "description": "The name of the index to explain", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "indicates if the API should return the default values the system uses for the index's lifecycle", "name": "include_defaults", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specify timeout for connection to master", "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/explain_data_lifecycle/IndicesExplainDataLifecycleRequest.ts#L24-L38" }, { "body": { "kind": "properties", "properties": [ { "name": "indices", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "DataStreamLifecycleExplain", "namespace": "indices.explain_data_lifecycle" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.explain_data_lifecycle" }, "specLocation": "indices/explain_data_lifecycle/IndicesExplainDataLifecycleResponse.ts#L25-L29" }, { "kind": "interface", "name": { "name": "FieldSummary", "namespace": "indices.field_usage_stats" }, "properties": [ { "name": "any", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "stored_fields", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "doc_values", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "points", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "norms", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "term_vectors", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "knn_vectors", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "inverted_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "InvertedIndex", "namespace": "indices.field_usage_stats" } } } ], "specLocation": "indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L54-L63" }, { "attachedBehaviors": [ "AdditionalProperties" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "UsageStatsIndex", "namespace": "indices.field_usage_stats" } } ], "type": { "name": "AdditionalProperties", "namespace": "_spec_utils" } } ], "kind": "interface", "name": { "name": "FieldsUsageBody", "namespace": "indices.field_usage_stats" }, "properties": [ { "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } } ], "specLocation": "indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L32-L36" }, { "kind": "interface", "name": { "name": "InvertedIndex", "namespace": "indices.field_usage_stats" }, "properties": [ { "name": "terms", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "postings", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "proximity", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "positions", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "term_frequencies", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "offsets", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "payloads", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } } ], "specLocation": "indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L65-L73" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns field usage information for each shard and field of an index.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.field_usage_stats" }, "path": [ { "description": "Comma-separated list or wildcard expression of index names used to limit the request.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", "name": "allow_no_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `true`, missing or closed indices are not included in the response.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.", "name": "fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } } ], "specLocation": "indices/field_usage_stats/IndicesFieldUsageStatsRequest.ts#L29-L84" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "FieldsUsageBody", "namespace": "indices.field_usage_stats" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.field_usage_stats" }, "specLocation": "indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L28-L30" }, { "kind": "interface", "name": { "name": "ShardsStats", "namespace": "indices.field_usage_stats" }, "properties": [ { "name": "all_fields", "required": true, "type": { "kind": "instance_of", "type": { "name": "FieldSummary", "namespace": "indices.field_usage_stats" } } }, { "name": "fields", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "FieldSummary", "namespace": "indices.field_usage_stats" } } } } ], "specLocation": "indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L49-L52" }, { "kind": "interface", "name": { "name": "UsageStatsIndex", "namespace": "indices.field_usage_stats" }, "properties": [ { "name": "shards", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "UsageStatsShards", "namespace": "indices.field_usage_stats" } } } } ], "specLocation": "indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L38-L40" }, { "kind": "interface", "name": { "name": "UsageStatsShards", "namespace": "indices.field_usage_stats" }, "properties": [ { "name": "routing", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardRouting", "namespace": "indices.stats" } } }, { "name": "stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardsStats", "namespace": "indices.field_usage_stats" } } }, { "name": "tracking_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "tracking_started_at_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } } ], "specLocation": "indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L42-L47" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Flushes one or more data streams or indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.flush" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases to flush.\nSupports wildcards (`*`).\nTo flush all data streams and indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `true`, the request forces a flush even if there are no changes to commit to the index.", "name": "force", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the flush operation blocks until execution when another flush operation is running.\nIf `false`, Elasticsearch returns an error if you request a flush when another flush operation is running.", "name": "wait_if_ongoing", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/flush/IndicesFlushRequest.ts#L23-L71" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "ShardsOperationResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.flush" }, "specLocation": "indices/flush/IndicesFlushResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Performs the force merge operation on one or more indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.forcemerge" }, "path": [ { "description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", "name": "allow_no_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "Specify whether the index should be flushed after performing the operation (default: true)", "name": "flush", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", "name": "ignore_unavailable", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The number of segments the index should be merged into (default: dynamic)", "name": "max_num_segments", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Specify whether the operation should only expunge deleted documents", "name": "only_expunge_deletes", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Should the request wait until the force merge is completed.", "name": "wait_for_completion", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/forcemerge/IndicesForceMergeRequest.ts#L24-L42" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "ForceMergeResponseBody", "namespace": "indices.forcemerge._types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.forcemerge" }, "specLocation": "indices/forcemerge/IndicesForceMergeResponse.ts#L22-L24" }, { "inherits": { "type": { "name": "ShardsOperationResponseBase", "namespace": "_types" } }, "kind": "interface", "name": { "name": "ForceMergeResponseBody", "namespace": "indices.forcemerge._types" }, "properties": [ { "description": "task contains a task id returned when wait_for_completion=false,\nyou can use the task_id to get the status of the task at _tasks/", "name": "task", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "indices/forcemerge/_types/response.ts#L22-L28" }, { "kind": "enum", "members": [ { "name": "aliases" }, { "name": "mappings" }, { "name": "settings" } ], "name": { "name": "Feature", "namespace": "indices.get" }, "specLocation": "indices/get/IndicesGetRequest.ts#L90-L94" }, { "kind": "type_alias", "name": { "name": "Features", "namespace": "indices.get" }, "specLocation": "indices/get/IndicesGetRequest.ts#L95-L95", "type": { "items": [ { "kind": "instance_of", "type": { "name": "Feature", "namespace": "indices.get" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "indices.get" } } } ], "kind": "union_of" } }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about one or more indices. For data streams, the API returns information about the\nstream’s backing indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.get" }, "path": [ { "description": "Comma-separated list of data streams, indices, and index aliases used to limit the request.\nWildcard expressions (*) are supported.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only\nmissing or closed indices. This behavior applies even if the request targets other open indices. For example,\na request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard expressions can match. If the request can target data streams, this argument\ndetermines whether wildcard expressions match hidden data streams. Supports comma-separated values,\nsuch as open,hidden.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If true, returns settings in flat format.", "name": "flat_settings", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If false, requests that target a missing index return an error.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, return all default settings in the response.", "name": "include_defaults", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.1.0" } }, "description": "Return only information on specified index features", "name": "features", "required": false, "serverDefault": "['aliases', 'mappings', 'settings']", "since": "8.1.0", "type": { "kind": "instance_of", "type": { "name": "Features", "namespace": "indices.get" } } } ], "specLocation": "indices/get/IndicesGetRequest.ts#L24-L88" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "IndexState", "namespace": "indices._types" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.get" }, "specLocation": "indices/get/IndicesGetResponse.ts#L24-L27" }, { "kind": "interface", "name": { "name": "IndexAliases", "namespace": "indices.get_alias" }, "properties": [ { "name": "aliases", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AliasDefinition", "namespace": "indices._types" } } } } ], "specLocation": "indices/get_alias/IndicesGetAliasResponse.ts#L37-L39" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves information for one or more aliases.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.get_alias" }, "path": [ { "description": "Comma-separated list of aliases to retrieve.\nSupports wildcards (`*`).\nTo retrieve all aliases, omit this parameter or use `*` or `_all`.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } }, { "description": "Comma-separated list of data streams or indices used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the request retrieves information from the local node only.", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/get_alias/IndicesGetAliasRequest.ts#L23-L70" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "IndexAliases", "namespace": "indices.get_alias" } } } }, "exceptions": [ { "body": { "kind": "value", "value": { "items": [ { "kind": "instance_of", "type": { "name": "NotFoundAliases", "namespace": "indices.get_alias" } }, { "kind": "instance_of", "type": { "name": "ErrorResponseBase", "namespace": "_types" } } ], "kind": "union_of" } }, "statusCodes": [ 404 ] } ], "kind": "response", "name": { "name": "Response", "namespace": "indices.get_alias" }, "specLocation": "indices/get_alias/IndicesGetAliasResponse.ts#L26-L35" }, { "kind": "interface", "name": { "name": "DataStreamWithLifecycle", "namespace": "indices.get_data_lifecycle" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataStreamName", "namespace": "_types" } } }, { "name": "lifecycle", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataStreamLifecycle", "namespace": "indices._types" } } } ], "specLocation": "indices/get_data_lifecycle/IndicesGetDataLifecycleResponse.ts#L27-L30" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves the data stream lifecycle configuration of one or more data streams.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.get_data_lifecycle" }, "path": [ { "description": "Comma-separated list of data streams to limit the request.\nSupports wildcards (`*`).\nTo target all data streams, omit this parameter or use `*` or `_all`.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataStreamNames", "namespace": "_types" } } } ], "query": [ { "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `true`, return all default settings in the response.", "name": "include_defaults", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/get_data_lifecycle/IndicesGetDataLifecycleRequest.ts#L23-L52" }, { "body": { "kind": "properties", "properties": [ { "name": "data_streams", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DataStreamWithLifecycle", "namespace": "indices.get_data_lifecycle" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.get_data_lifecycle" }, "specLocation": "indices/get_data_lifecycle/IndicesGetDataLifecycleResponse.ts#L23-L25" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves information about one or more data streams.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.get_data_stream" }, "path": [ { "description": "Comma-separated list of data stream names used to limit the request.\nWildcard (`*`) expressions are supported. If omitted, all data streams are returned.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataStreamNames", "namespace": "_types" } } } ], "query": [ { "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "availability": { "serverless": { "stability": "stable" }, "stack": { "since": "8.11.0", "stability": "stable" } }, "description": "If true, returns all relevant default configurations for the index template.", "name": "include_defaults", "required": false, "serverDefault": false, "since": "8.11.0", "stability": "stable", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/get_data_stream/IndicesGetDataStreamRequest.ts#L23-L53" }, { "body": { "kind": "properties", "properties": [ { "name": "data_streams", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DataStream", "namespace": "indices._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.get_data_stream" }, "specLocation": "indices/get_data_stream/IndicesGetDataStreamResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves mapping definitions for one or more fields.\nFor data streams, the API retrieves field mappings for the stream’s backing indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.get_field_mapping" }, "path": [ { "description": "Comma-separated list or wildcard expression of fields used to limit returned information.", "name": "fields", "required": true, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, return all default settings in the response.", "name": "include_defaults", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the request retrieves information from the local node only.", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/get_field_mapping/IndicesGetFieldMappingRequest.ts#L23-L73" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "TypeFieldMappings", "namespace": "indices.get_field_mapping" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.get_field_mapping" }, "specLocation": "indices/get_field_mapping/IndicesGetFieldMappingResponse.ts#L24-L27" }, { "kind": "interface", "name": { "name": "TypeFieldMappings", "namespace": "indices.get_field_mapping" }, "properties": [ { "name": "mappings", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "FieldMapping", "namespace": "_types.mapping" } } } } ], "specLocation": "indices/get_field_mapping/types.ts#L24-L26" }, { "kind": "interface", "name": { "name": "IndexTemplateItem", "namespace": "indices.get_index_template" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "index_template", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexTemplate", "namespace": "indices._types" } } } ], "specLocation": "indices/get_index_template/IndicesGetIndexTemplateResponse.ts#L29-L32" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about one or more index templates.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.get_index_template" }, "path": [ { "description": "Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, returns settings in flat format.", "name": "flat_settings", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "availability": { "serverless": { "stability": "stable" }, "stack": { "since": "8.11.0", "stability": "stable" } }, "description": "If true, returns all relevant default configurations for the index template.", "name": "include_defaults", "required": false, "serverDefault": false, "since": "8.11.0", "stability": "stable", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/get_index_template/IndicesGetIndexTemplateRequest.ts#L24-L60" }, { "body": { "kind": "properties", "properties": [ { "name": "index_templates", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexTemplateItem", "namespace": "indices.get_index_template" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.get_index_template" }, "specLocation": "indices/get_index_template/IndicesGetIndexTemplateResponse.ts#L23-L27" }, { "kind": "interface", "name": { "name": "IndexMappingRecord", "namespace": "indices.get_mapping" }, "properties": [ { "name": "item", "required": false, "type": { "kind": "instance_of", "type": { "name": "TypeMapping", "namespace": "_types.mapping" } } }, { "name": "mappings", "required": true, "type": { "kind": "instance_of", "type": { "name": "TypeMapping", "namespace": "_types.mapping" } } } ], "specLocation": "indices/get_mapping/IndicesGetMappingResponse.ts#L29-L32" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves mapping definitions for one or more indices.\nFor data streams, the API retrieves mappings for the stream’s backing indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.get_mapping" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the request retrieves information from the local node only.", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/get_mapping/IndicesGetMappingRequest.ts#L24-L72" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "IndexMappingRecord", "namespace": "indices.get_mapping" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.get_mapping" }, "specLocation": "indices/get_mapping/IndicesGetMappingResponse.ts#L24-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns setting information for one or more indices. For data streams,\nreturns setting information for the stream’s backing indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.get_settings" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases used to limit\nthe request. Supports wildcards (`*`). To target all data streams and\nindices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "Comma-separated list or wildcard expression of settings to retrieve.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index\nalias, or `_all` value targets only missing or closed indices. This\nbehavior applies even if the request targets other open indices. For\nexample, a request targeting `foo*,bar*` returns an error if an index\nstarts with foo but no index starts with `bar`.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `true`, returns settings in flat format.", "name": "flat_settings", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, return all default settings in the response.", "name": "include_defaults", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the request retrieves information from the local node only. If\n`false`, information is retrieved from the master node.", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/get_settings/IndicesGetSettingsRequest.ts#L24-L91" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "IndexState", "namespace": "indices._types" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.get_settings" }, "specLocation": "indices/get_settings/IndicesGetSettingsResponse.ts#L24-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves information about one or more index templates.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.get_template" }, "path": [ { "description": "Comma-separated list of index template names used to limit the request.\nWildcard (`*`) expressions are supported.\nTo return all index templates, omit this parameter or use a value of `_all` or `*`.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "If `true`, returns settings in flat format.", "name": "flat_settings", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the request retrieves information from the local node only.", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/get_template/IndicesGetTemplateRequest.ts#L24-L56" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "TemplateMapping", "namespace": "indices._types" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.get_template" }, "specLocation": "indices/get_template/IndicesGetTemplateResponse.ts#L23-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Converts an index alias to a data stream.\nYou must have a matching index template that is data stream enabled.\nThe alias must meet the following criteria:\nThe alias must have a write index;\nAll indices for the alias must have a `@timestamp` field mapping of a `date` or `date_nanos` field type;\nThe alias must not have any filters;\nThe alias must not use custom routing.\nIf successful, the request removes the alias and creates a data stream with the same name.\nThe indices for the alias become hidden backing indices for the stream.\nThe write index for the alias becomes the write index for the stream.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.migrate_to_data_stream" }, "path": [ { "description": "Name of the index alias to convert to a data stream.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [], "specLocation": "indices/migrate_to_data_stream/IndicesMigrateToDataStreamRequest.ts#L23-L44" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.migrate_to_data_stream" }, "specLocation": "indices/migrate_to_data_stream/IndicesMigrateToDataStreamResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "Action", "namespace": "indices.modify_data_stream" }, "properties": [ { "description": "Adds an existing index as a backing index for a data stream.\nThe index is hidden as part of this operation.\nWARNING: Adding indices with the `add_backing_index` action can potentially result in improper data stream behavior.\nThis should be considered an expert level API.", "name": "add_backing_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexAndDataStreamAction", "namespace": "indices.modify_data_stream" } } }, { "description": "Removes a backing index from a data stream.\nThe index is unhidden as part of this operation.\nA data stream’s write index cannot be removed.", "name": "remove_backing_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexAndDataStreamAction", "namespace": "indices.modify_data_stream" } } } ], "specLocation": "indices/modify_data_stream/types.ts#L22-L37", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "IndexAndDataStreamAction", "namespace": "indices.modify_data_stream" }, "properties": [ { "description": "Data stream targeted by the action.", "name": "data_stream", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataStreamName", "namespace": "_types" } } }, { "description": "Index for the action.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "specLocation": "indices/modify_data_stream/types.ts#L39-L44" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Actions to perform.", "name": "actions", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Action", "namespace": "indices.modify_data_stream" } } } } ] }, "description": "Performs one or more data stream modification actions in a single atomic operation.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.modify_data_stream" }, "path": [], "query": [], "specLocation": "indices/modify_data_stream/IndicesModifyDataStreamRequest.ts#L23-L36" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.modify_data_stream" }, "specLocation": "indices/modify_data_stream/IndicesModifyDataStreamResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Opens a closed index.\nFor data streams, the API opens any closed backing indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.open" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nBy default, you must explicitly name the indices you using to limit the request.\nTo limit a request using `_all`, `*`, or other wildcard expressions, change the `action.destructive_requires_name` setting to false.\nYou can update this setting in the `elasticsearch.yml` file or using the cluster update settings API.", "docId": "cluster-update-settings", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-update-settings.html", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } } ], "specLocation": "indices/open/IndicesOpenRequest.ts#L24-L82" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "shards_acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.open" }, "specLocation": "indices/open/IndicesOpenResponse.ts#L20-L25" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Promotes a data stream from a replicated data stream managed by CCR to a regular data stream", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.promote_data_stream" }, "path": [ { "description": "The name of the data stream", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [], "specLocation": "indices/promote_data_stream/IndicesPromoteDataStreamRequest.ts#L23-L31" }, { "body": { "kind": "value", "value": { "kind": "user_defined_value" } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.promote_data_stream" }, "specLocation": "indices/promote_data_stream/IndicesPromoteDataStreamResponse.ts#L22-L25" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Query used to limit documents the alias can access.", "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Value used to route indexing operations to a specific shard.\nIf specified, this overwrites the `routing` value for indexing operations.\nData stream aliases don’t support this parameter.", "name": "index_routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "If `true`, sets the write index or data stream for the alias.\nIf an alias points to multiple indices or data streams and `is_write_index` isn’t set, the alias rejects write requests.\nIf an index alias points to one index and `is_write_index` isn’t set, the index automatically acts as the write index.\nData stream aliases don’t automatically set a write data stream, even if the alias points to one data stream.", "name": "is_write_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Value used to route indexing and search operations to a specific shard.\nData stream aliases don’t support this parameter.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "Value used to route search operations to a specific shard.\nIf specified, this overwrites the `routing` value for search operations.\nData stream aliases don’t support this parameter.", "name": "search_routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } } ] }, "description": "Adds a data stream or index to an alias.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.put_alias" }, "path": [ { "description": "Comma-separated list of data streams or indices to add.\nSupports wildcards (`*`).\nWildcard patterns that match both data streams and indices return an error.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "Alias to update.\nIf the alias doesn’t exist, the request creates it.\nIndex alias names support date math.", "docId": "api-date-math-index-names", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/api-conventions.html#api-date-math-index-names", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/put_alias/IndicesPutAliasRequest.ts#L25-L91" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.put_alias" }, "specLocation": "indices/put_alias/IndicesPutAliasResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "If defined, every document added to this data stream will be stored at least for this time frame.\nAny time after this duration the document could be deleted.\nWhen empty, every document in this data stream will be stored indefinitely.", "name": "data_retention", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If defined, every backing index will execute the configured downsampling configuration after the backing\nindex is not the data stream write index anymore.", "name": "downsampling", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataStreamLifecycleDownsampling", "namespace": "indices._types" } } } ] }, "description": "Update the data lifecycle of the specified data streams.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.put_data_lifecycle" }, "path": [ { "description": "Comma-separated list of data streams used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams use `*` or `_all`.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataStreamNames", "namespace": "_types" } } } ], "query": [ { "description": "Type of data stream that wildcard patterns can match.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `hidden`, `open`, `closed`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/put_data_lifecycle/IndicesPutDataLifecycleRequest.ts#L25-L75" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.put_data_lifecycle" }, "specLocation": "indices/put_data_lifecycle/IndicesPutDataLifecycleResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "IndexTemplateMapping", "namespace": "indices.put_index_template" }, "properties": [ { "description": "Aliases to add.\nIf the index template includes a `data_stream` object, these are data stream aliases.\nOtherwise, these are index aliases.\nData stream aliases ignore the `index_routing`, `routing`, and `search_routing` options.", "name": "aliases", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Alias", "namespace": "indices._types" } } } }, { "description": "Mapping for fields in the index.\nIf specified, this mapping can include field names, field data types, and mapping parameters.", "name": "mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "TypeMapping", "namespace": "_types.mapping" } } }, { "description": "Configuration options for the index.", "name": "settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexSettings", "namespace": "indices._types" } } }, { "availability": { "serverless": { "stability": "stable" }, "stack": { "since": "8.11.0", "stability": "stable" } }, "name": "lifecycle", "required": false, "since": "8.11.0", "stability": "stable", "type": { "kind": "instance_of", "type": { "name": "DataStreamLifecycle", "namespace": "indices._types" } } } ], "specLocation": "indices/put_index_template/IndicesPutIndexTemplateRequest.ts#L121-L143" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Name of the index template to create.", "name": "index_patterns", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "An ordered list of component template names.\nComponent templates are merged in the order specified, meaning that the last component template specified has the highest precedence.", "name": "composed_of", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } }, { "description": "Template to be applied.\nIt may optionally include an `aliases`, `mappings`, or `settings` configuration.", "name": "template", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexTemplateMapping", "namespace": "indices.put_index_template" } } }, { "description": "If this object is included, the template is used to create data streams and their backing indices.\nSupports an empty object.\nData streams require a matching index template with a `data_stream` object.", "name": "data_stream", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataStreamVisibility", "namespace": "indices._types" } } }, { "description": "Priority to determine index template precedence when a new data stream or index is created.\nThe index template with the highest priority is chosen.\nIf no priority is specified the template is treated as though it is of priority 0 (lowest priority).\nThis number is not automatically generated by Elasticsearch.", "name": "priority", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Version number used to manage index templates externally.\nThis number is not automatically generated by Elasticsearch.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "Optional user metadata about the index template.\nMay have any contents.\nThis map is not automatically generated by Elasticsearch.", "docId": "mapping-meta-field", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-meta-field.html", "name": "_meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "This setting overrides the value of the `action.auto_create_index` cluster setting.\nIf set to `true` in a template, then indices can be automatically created using that template even if auto-creation of indices is disabled via `actions.auto_create_index`.\nIf set to `false`, then indices or data streams matching the template must always be explicitly created, and may never be automatically created.", "name": "allow_auto_create", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The configuration option ignore_missing_component_templates can be used when an index template\nreferences a component template that might not exist", "name": "ignore_missing_component_templates", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Marks this index template as deprecated. When creating or updating a non-deprecated index template\nthat uses deprecated components, Elasticsearch will emit a deprecation warning.", "name": "deprecated", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "description": "Creates or updates an index template.\nIndex templates define settings, mappings, and aliases that can be applied automatically to new indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.put_index_template" }, "path": [ { "description": "Index or template name", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "If `true`, this request cannot replace or update existing index templates.", "name": "create", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "User defined reason for creating/updating the index template", "name": "cause", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "indices/put_index_template/IndicesPutIndexTemplateRequest.ts#L37-L119" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.put_index_template" }, "specLocation": "indices/put_index_template/IndicesPutIndexTemplateResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Controls whether dynamic date detection is enabled.", "name": "date_detection", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Controls whether new fields are added dynamically.", "name": "dynamic", "required": false, "type": { "kind": "instance_of", "type": { "name": "DynamicMapping", "namespace": "_types.mapping" } } }, { "description": "If date detection is enabled then new string fields are checked\nagainst 'dynamic_date_formats' and if the value matches then\na new date field is added instead of string.", "name": "dynamic_date_formats", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Specify dynamic templates for the mapping.", "name": "dynamic_templates", "required": false, "type": { "items": [ { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "DynamicTemplate", "namespace": "_types.mapping" } } }, { "kind": "array_of", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "DynamicTemplate", "namespace": "_types.mapping" } } } } ], "kind": "union_of" } }, { "description": "Control whether field names are enabled for the index.", "name": "_field_names", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldNamesField", "namespace": "_types.mapping" } } }, { "description": "A mapping type can have custom meta data associated with it. These are\nnot used at all by Elasticsearch, but can be used to store\napplication-specific metadata.", "name": "_meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "Automatically map strings into numeric data types for all fields.", "name": "numeric_detection", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Mapping for a field. For new fields, this mapping can include:\n\n- Field name\n- Field data type\n- Mapping parameters", "name": "properties", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "PropertyName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Property", "namespace": "_types.mapping" } } } }, { "description": "Enable making a routing value required on indexed documents.", "name": "_routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "RoutingField", "namespace": "_types.mapping" } } }, { "description": "Control whether the _source field is enabled on the index.", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceField", "namespace": "_types.mapping" } } }, { "description": "Mapping of runtime fields for the index.", "name": "runtime", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } } ] }, "description": "Adds new fields to an existing data stream or index.\nYou can also use this API to change the search settings of existing fields.\nFor data streams, these changes are applied to all backing indices by default.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.put_mapping" }, "path": [ { "description": "A comma-separated list of index names the mapping should be added to (supports wildcards); use `_all` or omit to add the mapping on all indices.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If `true`, the mappings are applied only to the current write index for the target.", "name": "write_index_only", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/put_mapping/IndicesPutMappingRequest.ts#L42-L149" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "IndicesResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.put_mapping" }, "specLocation": "indices/put_mapping/IndicesPutMappingResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "settings", "kind": "value", "value": { "kind": "instance_of", "type": { "name": "IndexSettings", "namespace": "indices._types" } } }, "description": "Changes a dynamic index setting in real time. For data streams, index setting\nchanges are applied to all backing indices by default.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.put_settings" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases used to limit\nthe request. Supports wildcards (`*`). To target all data streams and\nindices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index\nalias, or `_all` value targets only missing or closed indices. This\nbehavior applies even if the request targets other open indices. For\nexample, a request targeting `foo*,bar*` returns an error if an index\nstarts with `foo` but no index starts with `bar`.", "name": "allow_no_indices", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match. If the request can target\ndata streams, this argument determines whether wildcard expressions match\nhidden data streams. Supports comma-separated values, such as\n`open,hidden`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `true`, returns settings in flat format.", "name": "flat_settings", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, returns settings in flat format.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an\nerror.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If `true`, existing index settings remain unchanged.", "name": "preserve_existing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a response. If no response is received before the\n timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/put_settings/IndicesPutSettingsRequest.ts#L25-L92" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.put_settings" }, "specLocation": "indices/put_settings/IndicesPutSettingsResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Aliases for the index.", "name": "aliases", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Alias", "namespace": "indices._types" } } } }, { "description": "Array of wildcard expressions used to match the names\nof indices during creation.", "name": "index_patterns", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } }, { "description": "Mapping for fields in the index.", "name": "mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "TypeMapping", "namespace": "_types.mapping" } } }, { "description": "Order in which Elasticsearch applies this template if index\nmatches multiple templates.\n\nTemplates with lower 'order' values are merged first. Templates with higher\n'order' values are merged later, overriding templates with lower values.", "name": "order", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Configuration options for the index.", "name": "settings", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "Version number used to manage index templates externally. This number\nis not automatically generated by Elasticsearch.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } } ] }, "description": "Creates or updates an index template.\nIndex templates define settings, mappings, and aliases that can be applied automatically to new indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.put_template" }, "path": [ { "description": "The name of the template", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "If true, this request cannot replace or update existing index templates.", "name": "create", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node. If no response is\nreceived before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Order in which Elasticsearch applies this template if index\nmatches multiple templates.\n\nTemplates with lower 'order' values are merged first. Templates with higher\n'order' values are merged later, overriding templates with lower values.", "name": "order", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "cause", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "indices/put_template/IndicesPutTemplateRequest.ts#L29-L95" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.put_template" }, "specLocation": "indices/put_template/IndicesPutTemplateResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "FileDetails", "namespace": "indices.recovery" }, "properties": [ { "name": "length", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "recovered", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "indices/recovery/types.ts#L50-L54" }, { "kind": "interface", "name": { "name": "RecoveryBytes", "namespace": "indices.recovery" }, "properties": [ { "name": "percent", "required": true, "type": { "kind": "instance_of", "type": { "name": "Percentage", "namespace": "_types" } } }, { "name": "recovered", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "recovered_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "recovered_from_snapshot", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "recovered_from_snapshot_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "reused", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "reused_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "total_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } } ], "specLocation": "indices/recovery/types.ts#L38-L48" }, { "kind": "interface", "name": { "name": "RecoveryFiles", "namespace": "indices.recovery" }, "properties": [ { "name": "details", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FileDetails", "namespace": "indices.recovery" } } } }, { "name": "percent", "required": true, "type": { "kind": "instance_of", "type": { "name": "Percentage", "namespace": "_types" } } }, { "name": "recovered", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "reused", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "indices/recovery/types.ts#L56-L62" }, { "kind": "interface", "name": { "name": "RecoveryIndexStatus", "namespace": "indices.recovery" }, "properties": [ { "name": "bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "RecoveryBytes", "namespace": "indices.recovery" } } }, { "name": "files", "required": true, "type": { "kind": "instance_of", "type": { "name": "RecoveryFiles", "namespace": "indices.recovery" } } }, { "name": "size", "required": true, "type": { "kind": "instance_of", "type": { "name": "RecoveryBytes", "namespace": "indices.recovery" } } }, { "name": "source_throttle_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "source_throttle_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "target_throttle_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "target_throttle_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "indices/recovery/types.ts#L64-L74" }, { "kind": "interface", "name": { "name": "RecoveryOrigin", "namespace": "indices.recovery" }, "properties": [ { "name": "hostname", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "host", "required": false, "type": { "kind": "instance_of", "type": { "name": "Host", "namespace": "_types" } } }, { "name": "transport_address", "required": false, "type": { "kind": "instance_of", "type": { "name": "TransportAddress", "namespace": "_types" } } }, { "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "ip", "required": false, "type": { "kind": "instance_of", "type": { "name": "Ip", "namespace": "_types" } } }, { "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "bootstrap_new_history_uuid", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "repository", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "snapshot", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "restoreUUID", "required": false, "type": { "kind": "instance_of", "type": { "name": "Uuid", "namespace": "_types" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "specLocation": "indices/recovery/types.ts#L76-L89" }, { "kind": "interface", "name": { "name": "RecoveryStartStatus", "namespace": "indices.recovery" }, "properties": [ { "name": "check_index_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "check_index_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "indices/recovery/types.ts#L91-L96" }, { "kind": "interface", "name": { "name": "RecoveryStatus", "namespace": "indices.recovery" }, "properties": [ { "name": "shards", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ShardRecovery", "namespace": "indices.recovery" } } } } ], "specLocation": "indices/recovery/types.ts#L98-L100" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about ongoing and completed shard recoveries for one or more indices.\nFor data streams, the API returns information for the stream’s backing indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.recovery" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `true`, the response only includes ongoing shard recoveries.", "name": "active_only", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the response includes detailed information about shard recoveries.", "name": "detailed", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/recovery/IndicesRecoveryRequest.ts#L23-L51" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "RecoveryStatus", "namespace": "indices.recovery" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.recovery" }, "specLocation": "indices/recovery/IndicesRecoveryResponse.ts#L24-L27" }, { "kind": "interface", "name": { "name": "ShardRecovery", "namespace": "indices.recovery" }, "properties": [ { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "RecoveryIndexStatus", "namespace": "indices.recovery" } } }, { "name": "primary", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "source", "required": true, "type": { "kind": "instance_of", "type": { "name": "RecoveryOrigin", "namespace": "indices.recovery" } } }, { "name": "stage", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "start", "required": false, "type": { "kind": "instance_of", "type": { "name": "RecoveryStartStatus", "namespace": "indices.recovery" } } }, { "name": "start_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "start_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "stop_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "stop_time_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "target", "required": true, "type": { "kind": "instance_of", "type": { "name": "RecoveryOrigin", "namespace": "indices.recovery" } } }, { "name": "total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "translog", "required": true, "type": { "kind": "instance_of", "type": { "name": "TranslogStatus", "namespace": "indices.recovery" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "verify_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "VerifyIndex", "namespace": "indices.recovery" } } } ], "specLocation": "indices/recovery/types.ts#L118-L135" }, { "kind": "interface", "name": { "name": "TranslogStatus", "namespace": "indices.recovery" }, "properties": [ { "name": "percent", "required": true, "type": { "kind": "instance_of", "type": { "name": "Percentage", "namespace": "_types" } } }, { "name": "recovered", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_on_start", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "indices/recovery/types.ts#L102-L109" }, { "kind": "interface", "name": { "name": "VerifyIndex", "namespace": "indices.recovery" }, "properties": [ { "name": "check_index_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "check_index_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "total_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "indices/recovery/types.ts#L111-L116" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "A refresh makes recent operations performed on one or more indices available for search.\nFor data streams, the API runs the refresh operation on the stream’s backing indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.refresh" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/refresh/IndicesRefreshRequest.ts#L23-L60" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "ShardsOperationResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.refresh" }, "specLocation": "indices/refresh/IndicesRefreshResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "ReloadDetails", "namespace": "indices.reload_search_analyzers" }, "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "reloaded_analyzers", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "reloaded_node_ids", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "indices/reload_search_analyzers/types.ts#L27-L31" }, { "kind": "interface", "name": { "name": "ReloadResult", "namespace": "indices.reload_search_analyzers" }, "properties": [ { "name": "reload_details", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ReloadDetails", "namespace": "indices.reload_search_analyzers" } } } }, { "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } } ], "specLocation": "indices/reload_search_analyzers/types.ts#L22-L25" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Reloads an index's search analyzers and their resources.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.reload_search_analyzers" }, "path": [ { "description": "A comma-separated list of index names to reload analyzers for", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", "name": "allow_no_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", "name": "ignore_unavailable", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/reload_search_analyzers/ReloadSearchAnalyzersRequest.ts#L23-L36" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "ReloadResult", "namespace": "indices.reload_search_analyzers" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.reload_search_analyzers" }, "specLocation": "indices/reload_search_analyzers/ReloadSearchAnalyzersResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Resolves the specified index expressions to return information about each cluster, including\nthe local cluster, if included.\nMultiple patterns and remote clusters are supported.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.resolve_cluster" }, "path": [ { "description": "Comma-separated name(s) or index pattern(s) of the indices, aliases, and data streams to resolve.\nResources on remote clusters can be specified using the ``:`` syntax.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing\nor closed indices. This behavior applies even if the request targets other open indices. For example, a request\ntargeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.", "name": "allow_no_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If true, concrete, expanded or aliased indices are ignored when frozen. Defaults to false.", "name": "ignore_throttled", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If false, the request returns an error if it targets a missing or closed index. Defaults to false.", "name": "ignore_unavailable", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/resolve_cluster/ResolveClusterRequest.ts#L23-L62" }, { "description": "Provides information about each cluster request relevant to doing a cross-cluster search.", "kind": "interface", "name": { "name": "ResolveClusterInfo", "namespace": "indices.resolve_cluster" }, "properties": [ { "description": "Whether the remote cluster is connected to the local (querying) cluster.", "name": "connected", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The skip_unavailable setting for a remote cluster.", "name": "skip_unavailable", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Whether the index expression provided in the request matches any indices, aliases or data streams\non the cluster.", "name": "matching_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Provides error messages that are likely to occur if you do a search with this index expression\non the specified cluster (e.g., lack of security privileges to query an index).", "name": "error", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Provides version information about the cluster.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "ElasticsearchVersionMinInfo", "namespace": "_types" } } } ], "specLocation": "indices/resolve_cluster/ResolveClusterResponse.ts#L29-L55" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "ClusterAlias", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ResolveClusterInfo", "namespace": "indices.resolve_cluster" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.resolve_cluster" }, "specLocation": "indices/resolve_cluster/ResolveClusterResponse.ts#L24-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Resolves the specified name(s) and/or index patterns for indices, aliases, and data streams.\nMultiple patterns and remote clusters are supported.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.resolve_index" }, "path": [ { "description": "Comma-separated name(s) or index pattern(s) of the indices, aliases, and data streams to resolve.\nResources on remote clusters can be specified using the ``:`` syntax.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } } ], "specLocation": "indices/resolve_index/ResolveIndexRequest.ts#L23-L48" }, { "kind": "interface", "name": { "name": "ResolveIndexAliasItem", "namespace": "indices.resolve_index" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "specLocation": "indices/resolve_index/ResolveIndexResponse.ts#L37-L40" }, { "kind": "interface", "name": { "name": "ResolveIndexDataStreamsItem", "namespace": "indices.resolve_index" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataStreamName", "namespace": "_types" } } }, { "name": "timestamp_field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "backing_indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "specLocation": "indices/resolve_index/ResolveIndexResponse.ts#L42-L46" }, { "kind": "interface", "name": { "name": "ResolveIndexItem", "namespace": "indices.resolve_index" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "aliases", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "attributes", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "data_stream", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataStreamName", "namespace": "_types" } } } ], "specLocation": "indices/resolve_index/ResolveIndexResponse.ts#L30-L35" }, { "body": { "kind": "properties", "properties": [ { "name": "indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ResolveIndexItem", "namespace": "indices.resolve_index" } } } }, { "name": "aliases", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ResolveIndexAliasItem", "namespace": "indices.resolve_index" } } } }, { "name": "data_streams", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ResolveIndexDataStreamsItem", "namespace": "indices.resolve_index" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.resolve_index" }, "specLocation": "indices/resolve_index/ResolveIndexResponse.ts#L22-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Aliases for the target index.\nData streams do not support this parameter.", "name": "aliases", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Alias", "namespace": "indices._types" } } } }, { "description": "Conditions for the rollover.\nIf specified, Elasticsearch only performs the rollover if the current index satisfies these conditions.\nIf this parameter is not specified, Elasticsearch performs the rollover unconditionally.\nIf conditions are specified, at least one of them must be a `max_*` condition.\nThe index will rollover if any `max_*` condition is satisfied and all `min_*` conditions are satisfied.", "name": "conditions", "required": false, "type": { "kind": "instance_of", "type": { "name": "RolloverConditions", "namespace": "indices.rollover" } } }, { "description": "Mapping for fields in the index.\nIf specified, this mapping can include field names, field data types, and mapping paramaters.", "name": "mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "TypeMapping", "namespace": "_types.mapping" } } }, { "description": "Configuration options for the index.\nData streams do not support this parameter.", "name": "settings", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ] }, "description": "Creates a new index for a data stream or index alias.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.rollover" }, "path": [ { "description": "Name of the data stream or index alias to roll over.", "name": "alias", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexAlias", "namespace": "_types" } } }, { "description": "Name of the index to create.\nSupports date math.\nData streams do not support this parameter.", "name": "new_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "If `true`, checks whether the current index satisfies the specified conditions but does not perform a rollover.", "name": "dry_run", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } } ], "specLocation": "indices/rollover/IndicesRolloverRequest.ts#L29-L99" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "conditions", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } }, { "name": "dry_run", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "new_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "old_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "rolled_over", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "shards_acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.rollover" }, "specLocation": "indices/rollover/IndicesRolloverResponse.ts#L22-L32" }, { "kind": "interface", "name": { "name": "RolloverConditions", "namespace": "indices.rollover" }, "properties": [ { "name": "min_age", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "max_age", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "max_age_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "min_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "max_size_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "min_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "min_size_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_primary_shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "max_primary_shard_size_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "min_primary_shard_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "min_primary_shard_size_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_primary_shard_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "min_primary_shard_docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "indices/rollover/types.ts#L24-L40" }, { "kind": "interface", "name": { "name": "IndexSegment", "namespace": "indices.segments" }, "properties": [ { "name": "shards", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "items": [ { "kind": "instance_of", "type": { "name": "ShardsSegment", "namespace": "indices.segments" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ShardsSegment", "namespace": "indices.segments" } } } ], "kind": "union_of" } } } ], "specLocation": "indices/segments/types.ts#L24-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns low-level information about the Lucene segments in index shards.\nFor data streams, the API returns information about the stream’s backing indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.segments" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases used to limit the request.\nSupports wildcards (`*`).\nTo target all data streams and indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the request returns a verbose response.", "name": "verbose", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/segments/IndicesSegmentsRequest.ts#L23-L64" }, { "body": { "kind": "properties", "properties": [ { "name": "indices", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "IndexSegment", "namespace": "indices.segments" } } } }, { "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.segments" }, "specLocation": "indices/segments/IndicesSegmentsResponse.ts#L24-L29" }, { "kind": "interface", "name": { "name": "Segment", "namespace": "indices.segments" }, "properties": [ { "name": "attributes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "committed", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "compound", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "deleted_docs", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "generation", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "search", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "num_docs", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } } ], "specLocation": "indices/segments/types.ts#L28-L38" }, { "kind": "interface", "name": { "name": "ShardSegmentRouting", "namespace": "indices.segments" }, "properties": [ { "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "primary", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "indices/segments/types.ts#L40-L44" }, { "kind": "interface", "name": { "name": "ShardsSegment", "namespace": "indices.segments" }, "properties": [ { "name": "num_committed_segments", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "routing", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardSegmentRouting", "namespace": "indices.segments" } } }, { "name": "num_search_segments", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "segments", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Segment", "namespace": "indices.segments" } } } } ], "specLocation": "indices/segments/types.ts#L46-L51" }, { "kind": "interface", "name": { "name": "IndicesShardStores", "namespace": "indices.shard_stores" }, "properties": [ { "name": "shards", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ShardStoreWrapper", "namespace": "indices.shard_stores" } } } } ], "specLocation": "indices/shard_stores/types.ts#L26-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves store information about replica shards in one or more indices.\nFor data streams, the API retrieves store information for the stream’s backing indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.shard_stores" }, "path": [ { "description": "List of data streams, indices, and aliases used to limit the request.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If false, the request returns an error if any wildcard expression, index alias, or _all\nvalue targets only missing or closed indices. This behavior applies even if the request\ntargets other open indices.", "name": "allow_no_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match. If the request can target data streams,\nthis argument determines whether wildcard expressions match hidden data streams.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If true, missing or closed indices are not included in the response.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "List of shard health statuses used to limit the request.", "name": "status", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "ShardStoreStatus", "namespace": "indices.shard_stores" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ShardStoreStatus", "namespace": "indices.shard_stores" } } } ], "kind": "union_of" } } ], "specLocation": "indices/shard_stores/IndicesShardStoresRequest.ts#L24-L60" }, { "body": { "kind": "properties", "properties": [ { "name": "indices", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "IndicesShardStores", "namespace": "indices.shard_stores" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.shard_stores" }, "specLocation": "indices/shard_stores/IndicesShardStoresResponse.ts#L24-L26" }, { "attachedBehaviors": [ "AdditionalProperty" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "ShardStoreNode", "namespace": "indices.shard_stores" } } ], "type": { "name": "AdditionalProperty", "namespace": "_spec_utils" } } ], "kind": "interface", "name": { "name": "ShardStore", "namespace": "indices.shard_stores" }, "properties": [ { "name": "allocation", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStoreAllocation", "namespace": "indices.shard_stores" } } }, { "name": "allocation_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "store_exception", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardStoreException", "namespace": "indices.shard_stores" } } } ], "specLocation": "indices/shard_stores/types.ts#L30-L34" }, { "kind": "enum", "members": [ { "name": "primary" }, { "name": "replica" }, { "name": "unused" } ], "name": { "name": "ShardStoreAllocation", "namespace": "indices.shard_stores" }, "specLocation": "indices/shard_stores/types.ts#L45-L49" }, { "kind": "interface", "name": { "name": "ShardStoreException", "namespace": "indices.shard_stores" }, "properties": [ { "name": "reason", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "indices/shard_stores/types.ts#L51-L54" }, { "kind": "interface", "name": { "name": "ShardStoreNode", "namespace": "indices.shard_stores" }, "properties": [ { "name": "attributes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "ephemeral_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "external_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "roles", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "transport_address", "required": true, "type": { "kind": "instance_of", "type": { "name": "TransportAddress", "namespace": "_types" } } } ], "specLocation": "indices/shard_stores/types.ts#L36-L43" }, { "kind": "enum", "members": [ { "description": "The primary shard and all replica shards are assigned.", "name": "green" }, { "description": "One or more replica shards are unassigned.", "name": "yellow" }, { "description": "The primary shard is unassigned.", "name": "red" }, { "description": "Return all shards, regardless of health status.", "name": "all" } ], "name": { "name": "ShardStoreStatus", "namespace": "indices.shard_stores" }, "specLocation": "indices/shard_stores/types.ts#L60-L69" }, { "kind": "interface", "name": { "name": "ShardStoreWrapper", "namespace": "indices.shard_stores" }, "properties": [ { "name": "stores", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ShardStore", "namespace": "indices.shard_stores" } } } } ], "specLocation": "indices/shard_stores/types.ts#L56-L58" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The key is the alias name.\nIndex alias names support date math.", "name": "aliases", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Alias", "namespace": "indices._types" } } } }, { "description": "Configuration options for the target index.", "name": "settings", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ] }, "description": "Shrinks an existing index into a new index with fewer primary shards.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.shrink" }, "path": [ { "description": "Name of the source index to shrink.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Name of the target index to create.", "name": "target", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } } ], "specLocation": "indices/shrink/IndicesShrinkRequest.ts#L27-L75" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "shards_acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.shrink" }, "specLocation": "indices/shrink/IndicesShrinkResponse.ts#L22-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.simulate_index_template" }, "path": [ { "description": "Name of the index to simulate", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "availability": { "serverless": { "stability": "stable" }, "stack": { "since": "8.11.0", "stability": "stable" } }, "description": "If true, returns all relevant default configurations for the index template.", "name": "include_defaults", "required": false, "serverDefault": false, "since": "8.11.0", "stability": "stable", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/simulate_index_template/IndicesSimulateIndexTemplateRequest.ts#L24-L49" }, { "body": { "kind": "properties", "properties": [ { "name": "overlapping", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Overlapping", "namespace": "indices.simulate_template" } } } }, { "name": "template", "required": true, "type": { "kind": "instance_of", "type": { "name": "Template", "namespace": "indices.simulate_template" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.simulate_index_template" }, "specLocation": "indices/simulate_index_template/IndicesSimulateIndexTemplateResponse.ts#L25-L30" }, { "kind": "interface", "name": { "name": "Overlapping", "namespace": "indices.simulate_template" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "index_patterns", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "indices/simulate_template/IndicesSimulateTemplateResponse.ts#L39-L42" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "This setting overrides the value of the `action.auto_create_index` cluster setting.\nIf set to `true` in a template, then indices can be automatically created using that template even if auto-creation of indices is disabled via `actions.auto_create_index`.\nIf set to `false`, then indices or data streams matching the template must always be explicitly created, and may never be automatically created.", "name": "allow_auto_create", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Array of wildcard (`*`) expressions used to match the names of data streams and indices during creation.", "docId": "avoid-index-pattern-collisions", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/index-templates.html#avoid-index-pattern-collisions", "name": "index_patterns", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "An ordered list of component template names.\nComponent templates are merged in the order specified, meaning that the last component template specified has the highest precedence.", "name": "composed_of", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } }, { "description": "Template to be applied.\nIt may optionally include an `aliases`, `mappings`, or `settings` configuration.", "name": "template", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexTemplateMapping", "namespace": "indices.put_index_template" } } }, { "description": "If this object is included, the template is used to create data streams and their backing indices.\nSupports an empty object.\nData streams require a matching index template with a `data_stream` object.", "name": "data_stream", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataStreamVisibility", "namespace": "indices._types" } } }, { "description": "Priority to determine index template precedence when a new data stream or index is created.\nThe index template with the highest priority is chosen.\nIf no priority is specified the template is treated as though it is of priority 0 (lowest priority).\nThis number is not automatically generated by Elasticsearch.", "name": "priority", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Version number used to manage index templates externally.\nThis number is not automatically generated by Elasticsearch.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "Optional user metadata about the index template.\nMay have any contents.\nThis map is not automatically generated by Elasticsearch.", "docId": "mapping-meta-field", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-meta-field.html", "name": "_meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "The configuration option ignore_missing_component_templates can be used when an index template\nreferences a component template that might not exist", "name": "ignore_missing_component_templates", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Marks this index template as deprecated. When creating or updating a non-deprecated index template\nthat uses deprecated components, Elasticsearch will emit a deprecation warning.", "name": "deprecated", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "description": "Returns the index configuration that would be applied by a particular index template.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.simulate_template" }, "path": [ { "description": "Name of the index template to simulate. To test a template configuration before you add it to the cluster, omit\nthis parameter and specify the template configuration in the request body.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "If true, the template passed in the body is only used if no existing templates match the same index patterns. If false, the simulation uses the template with the highest priority. Note that the template is not permanently added or updated in either case; it is only used for the simulation.", "name": "create", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "availability": { "serverless": { "stability": "stable" }, "stack": { "since": "8.11.0", "stability": "stable" } }, "description": "If true, returns all relevant default configurations for the index template.", "name": "include_defaults", "required": false, "serverDefault": false, "since": "8.11.0", "stability": "stable", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/simulate_template/IndicesSimulateTemplateRequest.ts#L27-L119" }, { "body": { "kind": "properties", "properties": [ { "name": "overlapping", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Overlapping", "namespace": "indices.simulate_template" } } } }, { "name": "template", "required": true, "type": { "kind": "instance_of", "type": { "name": "Template", "namespace": "indices.simulate_template" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.simulate_template" }, "specLocation": "indices/simulate_template/IndicesSimulateTemplateResponse.ts#L26-L31" }, { "kind": "interface", "name": { "name": "Template", "namespace": "indices.simulate_template" }, "properties": [ { "name": "aliases", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Alias", "namespace": "indices._types" } } } }, { "name": "mappings", "required": true, "type": { "kind": "instance_of", "type": { "name": "TypeMapping", "namespace": "_types.mapping" } } }, { "name": "settings", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexSettings", "namespace": "indices._types" } } } ], "specLocation": "indices/simulate_template/IndicesSimulateTemplateResponse.ts#L33-L37" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Aliases for the resulting index.", "name": "aliases", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Alias", "namespace": "indices._types" } } } }, { "description": "Configuration options for the target index.", "name": "settings", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ] }, "description": "Splits an existing index into a new index with more primary shards.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.split" }, "path": [ { "description": "Name of the source index to split.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Name of the target index to create.", "name": "target", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "WaitForActiveShards", "namespace": "_types" } } } ], "specLocation": "indices/split/IndicesSplitRequest.ts#L27-L74" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "shards_acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.split" }, "specLocation": "indices/split/IndicesSplitResponse.ts#L22-L28" }, { "kind": "enum", "members": [ { "name": "open" }, { "name": "close" } ], "name": { "name": "IndexMetadataState", "namespace": "indices.stats" }, "specLocation": "indices/stats/types.ts#L225-L232" }, { "kind": "interface", "name": { "name": "IndexStats", "namespace": "indices.stats" }, "properties": [ { "description": "Contains statistics about completions across all shards assigned to the node.", "name": "completion", "required": false, "type": { "kind": "instance_of", "type": { "name": "CompletionStats", "namespace": "_types" } } }, { "description": "Contains statistics about documents across all primary shards assigned to the node.", "name": "docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "DocStats", "namespace": "_types" } } }, { "description": "Contains statistics about the field data cache across all shards assigned to the node.", "name": "fielddata", "required": false, "type": { "kind": "instance_of", "type": { "name": "FielddataStats", "namespace": "_types" } } }, { "description": "Contains statistics about flush operations for the node.", "name": "flush", "required": false, "type": { "kind": "instance_of", "type": { "name": "FlushStats", "namespace": "_types" } } }, { "description": "Contains statistics about get operations for the node.", "name": "get", "required": false, "type": { "kind": "instance_of", "type": { "name": "GetStats", "namespace": "_types" } } }, { "description": "Contains statistics about indexing operations for the node.", "name": "indexing", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexingStats", "namespace": "_types" } } }, { "description": "Contains statistics about indices operations for the node.", "name": "indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndicesStats", "namespace": "indices.stats" } } }, { "description": "Contains statistics about merge operations for the node.", "name": "merges", "required": false, "type": { "kind": "instance_of", "type": { "name": "MergesStats", "namespace": "_types" } } }, { "description": "Contains statistics about the query cache across all shards assigned to the node.", "name": "query_cache", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryCacheStats", "namespace": "_types" } } }, { "description": "Contains statistics about recovery operations for the node.", "name": "recovery", "required": false, "type": { "kind": "instance_of", "type": { "name": "RecoveryStats", "namespace": "_types" } } }, { "description": "Contains statistics about refresh operations for the node.", "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "RefreshStats", "namespace": "_types" } } }, { "description": "Contains statistics about the request cache across all shards assigned to the node.", "name": "request_cache", "required": false, "type": { "kind": "instance_of", "type": { "name": "RequestCacheStats", "namespace": "_types" } } }, { "description": "Contains statistics about search operations for the node.", "name": "search", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchStats", "namespace": "_types" } } }, { "description": "Contains statistics about segments across all shards assigned to the node.", "name": "segments", "required": false, "type": { "kind": "instance_of", "type": { "name": "SegmentsStats", "namespace": "_types" } } }, { "description": "Contains statistics about the size of shards assigned to the node.", "name": "store", "required": false, "type": { "kind": "instance_of", "type": { "name": "StoreStats", "namespace": "_types" } } }, { "description": "Contains statistics about transaction log operations for the node.", "name": "translog", "required": false, "type": { "kind": "instance_of", "type": { "name": "TranslogStats", "namespace": "_types" } } }, { "description": "Contains statistics about index warming operations for the node.", "name": "warmer", "required": false, "type": { "kind": "instance_of", "type": { "name": "WarmerStats", "namespace": "_types" } } }, { "name": "bulk", "required": false, "type": { "kind": "instance_of", "type": { "name": "BulkStats", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.15.0" } }, "name": "shard_stats", "required": false, "since": "7.15.0", "type": { "kind": "instance_of", "type": { "name": "ShardsTotalStats", "namespace": "indices.stats" } } } ], "specLocation": "indices/stats/types.ts#L52-L93" }, { "kind": "interface", "name": { "name": "IndicesStats", "namespace": "indices.stats" }, "properties": [ { "name": "primaries", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexStats", "namespace": "indices.stats" } } }, { "name": "shards", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ShardStats", "namespace": "indices.stats" } } } } }, { "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexStats", "namespace": "indices.stats" } } }, { "name": "uuid", "required": false, "type": { "kind": "instance_of", "type": { "name": "Uuid", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.1.0" } }, "name": "health", "required": false, "since": "8.1.0", "type": { "kind": "instance_of", "type": { "name": "HealthStatus", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.1.0" } }, "name": "status", "required": false, "since": "8.1.0", "type": { "kind": "instance_of", "type": { "name": "IndexMetadataState", "namespace": "indices.stats" } } } ], "specLocation": "indices/stats/types.ts#L95-L110" }, { "kind": "interface", "name": { "name": "MappingStats", "namespace": "indices.stats" }, "properties": [ { "name": "total_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_estimated_overhead", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "total_estimated_overhead_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "indices/stats/types.ts#L186-L190" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns statistics for one or more indices.\nFor data streams, the API retrieves statistics for the stream’s backing indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.stats" }, "path": [ { "description": "Limit the information returned the specific metrics.", "name": "metric", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metrics", "namespace": "_types" } } }, { "description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.", "name": "completion_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument\ndetermines whether wildcard expressions match hidden data streams. Supports comma-separated values,\nsuch as `open,hidden`.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "Comma-separated list or wildcard expressions of fields to include in fielddata statistics.", "name": "fielddata_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.", "name": "fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "If true, statistics are not collected from closed indices.", "name": "forbid_closed_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Comma-separated list of search groups to include in the search statistics.", "name": "groups", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } }, { "description": "If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).", "name": "include_segment_file_sizes", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, the response includes information from segments that are not loaded into memory.", "name": "include_unloaded_segments", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Indicates whether statistics are aggregated at the cluster, index, or shard level.", "name": "level", "required": false, "type": { "kind": "instance_of", "type": { "name": "Level", "namespace": "_types" } } } ], "specLocation": "indices/stats/IndicesStatsRequest.ts#L29-L85" }, { "body": { "kind": "properties", "properties": [ { "name": "indices", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "IndicesStats", "namespace": "indices.stats" } } } }, { "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } }, { "name": "_all", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndicesStats", "namespace": "indices.stats" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.stats" }, "specLocation": "indices/stats/IndicesStatsResponse.ts#L24-L30" }, { "kind": "interface", "name": { "name": "ShardCommit", "namespace": "indices.stats" }, "properties": [ { "name": "generation", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "num_docs", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "user_data", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "indices/stats/types.ts#L112-L117" }, { "kind": "interface", "name": { "name": "ShardFileSizeInfo", "namespace": "indices.stats" }, "properties": [ { "name": "description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "min_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "average_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "indices/stats/types.ts#L124-L131" }, { "kind": "interface", "name": { "name": "ShardLease", "namespace": "indices.stats" }, "properties": [ { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "retaining_seq_no", "required": true, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "name": "timestamp", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "source", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "indices/stats/types.ts#L133-L138" }, { "kind": "interface", "name": { "name": "ShardPath", "namespace": "indices.stats" }, "properties": [ { "name": "data_path", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "is_custom_data_path", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "state_path", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "indices/stats/types.ts#L140-L144" }, { "kind": "interface", "name": { "name": "ShardQueryCache", "namespace": "indices.stats" }, "properties": [ { "name": "cache_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "cache_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "evictions", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "hit_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "memory_size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "miss_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "indices/stats/types.ts#L146-L154" }, { "kind": "interface", "name": { "name": "ShardRetentionLeases", "namespace": "indices.stats" }, "properties": [ { "name": "primary_term", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "leases", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ShardLease", "namespace": "indices.stats" } } } } ], "specLocation": "indices/stats/types.ts#L156-L160" }, { "kind": "interface", "name": { "name": "ShardRouting", "namespace": "indices.stats" }, "properties": [ { "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "primary", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "relocating_node", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardRoutingState", "namespace": "indices.stats" } } } ], "specLocation": "indices/stats/types.ts#L162-L167" }, { "kind": "enum", "members": [ { "name": "UNASSIGNED" }, { "name": "INITIALIZING" }, { "name": "STARTED" }, { "name": "RELOCATING" } ], "name": { "name": "ShardRoutingState", "namespace": "indices.stats" }, "specLocation": "indices/stats/types.ts#L169-L174" }, { "kind": "interface", "name": { "name": "ShardSequenceNumber", "namespace": "indices.stats" }, "properties": [ { "name": "global_checkpoint", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "local_checkpoint", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_seq_no", "required": true, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } } ], "specLocation": "indices/stats/types.ts#L176-L180" }, { "kind": "interface", "name": { "name": "ShardStats", "namespace": "indices.stats" }, "properties": [ { "name": "commit", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardCommit", "namespace": "indices.stats" } } }, { "name": "completion", "required": false, "type": { "kind": "instance_of", "type": { "name": "CompletionStats", "namespace": "_types" } } }, { "name": "docs", "required": false, "type": { "kind": "instance_of", "type": { "name": "DocStats", "namespace": "_types" } } }, { "name": "fielddata", "required": false, "type": { "kind": "instance_of", "type": { "name": "FielddataStats", "namespace": "_types" } } }, { "name": "flush", "required": false, "type": { "kind": "instance_of", "type": { "name": "FlushStats", "namespace": "_types" } } }, { "name": "get", "required": false, "type": { "kind": "instance_of", "type": { "name": "GetStats", "namespace": "_types" } } }, { "name": "indexing", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexingStats", "namespace": "_types" } } }, { "name": "mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "MappingStats", "namespace": "indices.stats" } } }, { "name": "merges", "required": false, "type": { "kind": "instance_of", "type": { "name": "MergesStats", "namespace": "_types" } } }, { "name": "shard_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardPath", "namespace": "indices.stats" } } }, { "name": "query_cache", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardQueryCache", "namespace": "indices.stats" } } }, { "name": "recovery", "required": false, "type": { "kind": "instance_of", "type": { "name": "RecoveryStats", "namespace": "_types" } } }, { "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "RefreshStats", "namespace": "_types" } } }, { "name": "request_cache", "required": false, "type": { "kind": "instance_of", "type": { "name": "RequestCacheStats", "namespace": "_types" } } }, { "name": "retention_leases", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardRetentionLeases", "namespace": "indices.stats" } } }, { "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardRouting", "namespace": "indices.stats" } } }, { "name": "search", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchStats", "namespace": "_types" } } }, { "name": "segments", "required": false, "type": { "kind": "instance_of", "type": { "name": "SegmentsStats", "namespace": "_types" } } }, { "name": "seq_no", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardSequenceNumber", "namespace": "indices.stats" } } }, { "name": "store", "required": false, "type": { "kind": "instance_of", "type": { "name": "StoreStats", "namespace": "_types" } } }, { "name": "translog", "required": false, "type": { "kind": "instance_of", "type": { "name": "TranslogStats", "namespace": "_types" } } }, { "name": "warmer", "required": false, "type": { "kind": "instance_of", "type": { "name": "WarmerStats", "namespace": "_types" } } }, { "name": "bulk", "required": false, "type": { "kind": "instance_of", "type": { "name": "BulkStats", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.15.0" } }, "name": "shards", "required": false, "since": "7.15.0", "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "shard_stats", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardsTotalStats", "namespace": "indices.stats" } } }, { "name": "indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndicesStats", "namespace": "indices.stats" } } } ], "specLocation": "indices/stats/types.ts#L192-L223" }, { "kind": "interface", "name": { "name": "ShardsTotalStats", "namespace": "indices.stats" }, "properties": [ { "name": "total_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "indices/stats/types.ts#L182-L184" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Unfreezes an index.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.unfreeze" }, "path": [ { "description": "Identifier for the index.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The number of shard copies that must be active before proceeding with the operation.\nSet to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).", "name": "wait_for_active_shards", "required": false, "serverDefault": "1", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "indices/unfreeze/IndicesUnfreezeRequest.ts#L24-L75" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "shards_acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.unfreeze" }, "specLocation": "indices/unfreeze/IndicesUnfreezeResponse.ts#L20-L25" }, { "kind": "interface", "name": { "name": "Action", "namespace": "indices.update_aliases" }, "properties": [ { "description": "Adds a data stream or index to an alias.\nIf the alias doesn’t exist, the `add` action creates it.", "name": "add", "required": false, "type": { "kind": "instance_of", "type": { "name": "AddAction", "namespace": "indices.update_aliases" } } }, { "description": "Removes a data stream or index from an alias.", "name": "remove", "required": false, "type": { "kind": "instance_of", "type": { "name": "RemoveAction", "namespace": "indices.update_aliases" } } }, { "description": "Deletes an index.\nYou cannot use this action on aliases or data streams.", "name": "remove_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "RemoveIndexAction", "namespace": "indices.update_aliases" } } } ], "specLocation": "indices/update_aliases/types.ts#L23-L39", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "AddAction", "namespace": "indices.update_aliases" }, "properties": [ { "description": "Alias for the action.\nIndex alias names support date math.", "name": "alias", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexAlias", "namespace": "_types" } } }, { "description": "Aliases for the action.\nIndex alias names support date math.", "name": "aliases", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "IndexAlias", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexAlias", "namespace": "_types" } } } ], "kind": "union_of" } }, { "description": "Query used to limit documents the alias can access.", "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Data stream or index for the action.\nSupports wildcards (`*`).", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Data streams or indices for the action.\nSupports wildcards (`*`).", "name": "indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "Value used to route indexing operations to a specific shard.\nIf specified, this overwrites the `routing` value for indexing operations.\nData stream aliases don’t support this parameter.", "name": "index_routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "If `true`, the alias is hidden.", "name": "is_hidden", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, sets the write index or data stream for the alias.", "name": "is_write_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Value used to route indexing and search operations to a specific shard.\nData stream aliases don’t support this parameter.", "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "Value used to route search operations to a specific shard.\nIf specified, this overwrites the `routing` value for search operations.\nData stream aliases don’t support this parameter.", "name": "search_routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "Routing", "namespace": "_types" } } }, { "description": "If `true`, the alias must exist to perform the action.", "name": "must_exist", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/update_aliases/types.ts#L41-L95" }, { "kind": "interface", "name": { "name": "RemoveAction", "namespace": "indices.update_aliases" }, "properties": [ { "description": "Alias for the action.\nIndex alias names support date math.", "name": "alias", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexAlias", "namespace": "_types" } } }, { "description": "Aliases for the action.\nIndex alias names support date math.", "name": "aliases", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "IndexAlias", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexAlias", "namespace": "_types" } } } ], "kind": "union_of" } }, { "description": "Data stream or index for the action.\nSupports wildcards (`*`).", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Data streams or indices for the action.\nSupports wildcards (`*`).", "name": "indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "If `true`, the alias must exist to perform the action.", "name": "must_exist", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/update_aliases/types.ts#L97-L122" }, { "kind": "interface", "name": { "name": "RemoveIndexAction", "namespace": "indices.update_aliases" }, "properties": [ { "description": "Data stream or index for the action.\nSupports wildcards (`*`).", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Data streams or indices for the action.\nSupports wildcards (`*`).", "name": "indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "If `true`, the alias must exist to perform the action.", "name": "must_exist", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/update_aliases/types.ts#L124-L139" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Actions to perform.", "name": "actions", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Action", "namespace": "indices.update_aliases" } } } } ] }, "description": "Adds a data stream or index to an alias.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.update_aliases" }, "path": [], "query": [ { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "indices/update_aliases/IndicesUpdateAliasesRequest.ts#L24-L51" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "indices.update_aliases" }, "specLocation": "indices/update_aliases/IndicesUpdateAliasesResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "IndicesValidationExplanation", "namespace": "indices.validate_query" }, "properties": [ { "name": "error", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "explanation", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "valid", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "indices/validate_query/IndicesValidateQueryResponse.ts#L32-L37" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Query in the Lucene query string syntax.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ] }, "description": "Validates a potentially expensive query without executing it.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "indices.validate_query" }, "path": [ { "description": "Comma-separated list of data streams, indices, and aliases to search.\nSupports wildcards (`*`).\nTo search all data streams or indices, omit this parameter or use `*` or `_all`.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the validation is executed on all shards instead of one random shard per index.", "name": "all_shards", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Analyzer to use for the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", "name": "analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, wildcard and prefix queries are analyzed.", "name": "analyze_wildcard", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The default operator for query string query: `AND` or `OR`.", "name": "default_operator", "required": false, "serverDefault": "OR", "type": { "kind": "instance_of", "type": { "name": "Operator", "namespace": "_types.query_dsl" } } }, { "description": "Field to use as default where no field prefix is given in the query string.\nThis parameter can only be used when the `q` query string parameter is specified.", "name": "df", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match.\nIf the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.\nSupports comma-separated values, such as `open,hidden`.\nValid values are: `all`, `open`, `closed`, `hidden`, `none`.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "If `true`, the response returns detailed information if an error has occurred.", "name": "explain", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `false`, the request returns an error if it targets a missing or closed index.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.", "name": "lenient", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, returns a more detailed explanation showing the actual Lucene query that will be executed.", "name": "rewrite", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Query in the Lucene query string syntax.", "name": "q", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "indices/validate_query/IndicesValidateQueryRequest.ts#L25-L111" }, { "body": { "kind": "properties", "properties": [ { "name": "explanations", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndicesValidationExplanation", "namespace": "indices.validate_query" } } } }, { "name": "_shards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } }, { "name": "valid", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "error", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "indices.validate_query" }, "specLocation": "indices/validate_query/IndicesValidateQueryResponse.ts#L23-L30" }, { "description": "The completion result object", "kind": "interface", "name": { "name": "CompletionResult", "namespace": "inference._types" }, "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "inference/_types/Results.ts#L59-L64" }, { "description": "Text Embedding results containing bytes are represented as Dense\nVectors of bytes.", "kind": "type_alias", "name": { "name": "DenseByteVector", "namespace": "inference._types" }, "specLocation": "inference/_types/Results.ts#L39-L43", "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "byte", "namespace": "_types" } } } }, { "description": "Text Embedding results are represented as Dense Vectors\nof floats.", "kind": "type_alias", "name": { "name": "DenseVector", "namespace": "inference._types" }, "specLocation": "inference/_types/Results.ts#L29-L33", "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } }, { "description": "Configuration options when storing the inference endpoint", "kind": "interface", "name": { "name": "InferenceEndpoint", "namespace": "inference._types" }, "properties": [ { "description": "The service type", "name": "service", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Settings specific to the service", "name": "service_settings", "required": true, "type": { "kind": "instance_of", "type": { "name": "ServiceSettings", "namespace": "inference._types" } } }, { "description": "Task settings specific to the service and task type", "name": "task_settings", "required": true, "type": { "kind": "instance_of", "type": { "name": "TaskSettings", "namespace": "inference._types" } } } ], "specLocation": "inference/_types/Services.ts#L23-L39" }, { "description": "Represents an inference endpoint as returned by the GET API", "inherits": { "type": { "name": "InferenceEndpoint", "namespace": "inference._types" } }, "kind": "interface", "name": { "name": "InferenceEndpointInfo", "namespace": "inference._types" }, "properties": [ { "description": "The inference Id", "name": "inference_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The task type", "name": "task_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "TaskType", "namespace": "inference._types" } } } ], "specLocation": "inference/_types/Services.ts#L41-L53" }, { "description": "InferenceResult is an aggregation of mutually exclusive variants", "kind": "interface", "name": { "name": "InferenceResult", "namespace": "inference._types" }, "properties": [ { "name": "text_embedding_bytes", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TextEmbeddingByteResult", "namespace": "inference._types" } } } }, { "name": "text_embedding", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TextEmbeddingResult", "namespace": "inference._types" } } } }, { "name": "sparse_embedding", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SparseEmbeddingResult", "namespace": "inference._types" } } } }, { "name": "completion", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CompletionResult", "namespace": "inference._types" } } } }, { "name": "rerank", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RankedDocument", "namespace": "inference._types" } } } } ], "specLocation": "inference/_types/Results.ts#L77-L87", "variants": { "kind": "container" } }, { "description": "The rerank result object representing a single ranked document\nid: the original index of the document in the request\nscore: the score of the document relative to the query\ntext: Optional, the text of the document, if requested", "kind": "interface", "name": { "name": "RankedDocument", "namespace": "inference._types" }, "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "score", "required": true, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "name": "text", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "inference/_types/Results.ts#L66-L76" }, { "kind": "type_alias", "name": { "name": "ServiceSettings", "namespace": "inference._types" }, "specLocation": "inference/_types/Services.ts#L55-L55", "type": { "kind": "user_defined_value" } }, { "kind": "interface", "name": { "name": "SparseEmbeddingResult", "namespace": "inference._types" }, "properties": [ { "name": "embedding", "required": true, "type": { "kind": "instance_of", "type": { "name": "SparseVector", "namespace": "inference._types" } } } ], "specLocation": "inference/_types/Results.ts#L35-L37" }, { "description": "Sparse Embedding tokens are represented as a dictionary\nof string to double.", "kind": "type_alias", "name": { "name": "SparseVector", "namespace": "inference._types" }, "specLocation": "inference/_types/Results.ts#L23-L27", "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } }, { "kind": "type_alias", "name": { "name": "TaskSettings", "namespace": "inference._types" }, "specLocation": "inference/_types/Services.ts#L57-L57", "type": { "kind": "user_defined_value" } }, { "kind": "enum", "members": [ { "name": "sparse_embedding" }, { "name": "text_embedding" }, { "name": "rerank" }, { "name": "completion" } ], "name": { "name": "TaskType", "namespace": "inference._types" }, "specLocation": "inference/_types/TaskType.ts#L20-L28" }, { "description": "The text embedding result object for byte representation", "kind": "interface", "name": { "name": "TextEmbeddingByteResult", "namespace": "inference._types" }, "properties": [ { "name": "embedding", "required": true, "type": { "kind": "instance_of", "type": { "name": "DenseByteVector", "namespace": "inference._types" } } } ], "specLocation": "inference/_types/Results.ts#L45-L50" }, { "description": "The text embedding result object", "kind": "interface", "name": { "name": "TextEmbeddingResult", "namespace": "inference._types" }, "properties": [ { "name": "embedding", "required": true, "type": { "kind": "instance_of", "type": { "name": "DenseVector", "namespace": "inference._types" } } } ], "specLocation": "inference/_types/Results.ts#L52-L57" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Delete an inference endpoint", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "inference.delete" }, "path": [ { "description": "The task type", "name": "task_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "TaskType", "namespace": "inference._types" } } }, { "description": "The inference Id", "name": "inference_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "inference/delete/DeleteRequest.ts#L24-L41" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "inference.delete" }, "specLocation": "inference/delete/DeleteResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Get an inference endpoint", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "inference.get" }, "path": [ { "description": "The task type", "name": "task_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "TaskType", "namespace": "inference._types" } } }, { "description": "The inference Id", "name": "inference_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "inference/get/GetRequest.ts#L24-L41" }, { "body": { "kind": "properties", "properties": [ { "name": "endpoints", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "InferenceEndpointInfo", "namespace": "inference._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "inference.get" }, "specLocation": "inference/get/GetResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Query input, required for rerank task.\nNot required for other tasks.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Inference input.\nEither a string or an array of strings.", "name": "input", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } }, { "description": "Optional task settings", "name": "task_settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "TaskSettings", "namespace": "inference._types" } } } ] }, "description": "Perform inference on the service", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "inference.inference" }, "path": [ { "description": "The task type", "name": "task_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "TaskType", "namespace": "inference._types" } } }, { "description": "The inference Id", "name": "inference_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies the amount of time to wait for the inference request to complete.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "inference/inference/InferenceRequest.ts#L26-L66" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "InferenceResult", "namespace": "inference._types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "inference.inference" }, "specLocation": "inference/inference/InferenceResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "inference_config", "kind": "value", "value": { "kind": "instance_of", "type": { "name": "InferenceEndpoint", "namespace": "inference._types" } } }, "description": "Create an inference endpoint", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "inference.put" }, "path": [ { "description": "The task type", "name": "task_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "TaskType", "namespace": "inference._types" } } }, { "description": "The inference Id", "name": "inference_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "inference/put/PutRequest.ts#L25-L44" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "InferenceEndpointInfo", "namespace": "inference._types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "inference.put" }, "specLocation": "inference/put/PutResponse.ts#L22-L24" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "AppendProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field to be appended to.\nSupports template snippets.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The value to be appended. Supports template snippets.", "name": "value", "required": true, "type": { "kind": "array_of", "value": { "kind": "user_defined_value" } } }, { "description": "If `false`, the processor does not append values already present in the field.", "name": "allow_duplicates", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ingest/_types/Processors.ts#L279-L294" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "AttachmentProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field to get the base64 encoded field from.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and field does not exist, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The number of chars being used for extraction to prevent huge fields.\nUse `-1` for no limit.", "name": "indexed_chars", "required": false, "serverDefault": 100000, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Field name from which you can overwrite the number of chars being used for extraction.", "name": "indexed_chars_field", "required": false, "serverDefault": "null", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Array of properties to select to be stored.\nCan be `content`, `title`, `name`, `author`, `keywords`, `date`, `content_type`, `content_length`, `language`.", "name": "properties", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "The field that will hold the attachment information.", "name": "target_field", "required": false, "serverDefault": "attachment", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If true, the binary field will be removed from the document", "name": "remove_binary", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Field containing the name of the resource to decode.\nIf specified, the processor passes this resource name to the underlying Tika library to enable Resource Name Based Detection.", "name": "resource_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ingest/_types/Processors.ts#L296-L337" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "BytesProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field to convert.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The field to assign the converted value to.\nBy default, the field is updated in-place.", "name": "target_field", "required": false, "serverDefault": "field", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Processors.ts#L392-L408" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "CircleProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The difference between the resulting inscribed distance from center to side and the circle’s radius (measured in meters for `geo_shape`, unit-less for `shape`).", "name": "error_distance", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "The field to interpret as a circle. Either a string in WKT format or a map for GeoJSON.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Which field mapping type is to be used when processing the circle: `geo_shape` or `shape`.", "name": "shape_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShapeType", "namespace": "ingest._types" } } }, { "description": "The field to assign the polygon shape to\nBy default, the field is updated in-place.", "name": "target_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Processors.ts#L410-L433" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "ConvertProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field whose value is to be converted.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The field to assign the converted value to.\nBy default, the `field` is updated in-place.", "name": "target_field", "required": false, "serverDefault": "field", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The type to convert the existing value to.", "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "ConvertType", "namespace": "ingest._types" } } } ], "specLocation": "ingest/_types/Processors.ts#L445-L465" }, { "kind": "enum", "members": [ { "name": "integer" }, { "name": "long" }, { "name": "float" }, { "name": "double" }, { "name": "string" }, { "name": "boolean" }, { "name": "auto" } ], "name": { "name": "ConvertType", "namespace": "ingest._types" }, "specLocation": "ingest/_types/Processors.ts#L435-L443" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "CsvProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "Value used to fill empty fields.\nEmpty fields are skipped if this is not provided.\nAn empty field is one with no value (2 consecutive separators) or empty quotes (`\"\"`).", "name": "empty_value", "required": false, "type": { "kind": "user_defined_value" } }, { "description": "The field to extract data from.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Quote used in CSV, has to be single character string.", "name": "quote", "required": false, "serverDefault": "\"", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Separator used in CSV, has to be single character string.", "name": "separator", "required": false, "serverDefault": ",", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The array of fields to assign extracted values to.", "name": "target_fields", "required": true, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Trim whitespaces in unquoted fields.", "name": "trim", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ingest/_types/Processors.ts#L467-L500" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "DateIndexNameProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "An array of the expected date formats for parsing dates / timestamps in the document being preprocessed.\nCan be a java time pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N.", "name": "date_formats", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "How to round the date when formatting the date into the index name. Valid values are:\n`y` (year), `M` (month), `w` (week), `d` (day), `h` (hour), `m` (minute) and `s` (second).\nSupports template snippets.", "name": "date_rounding", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The field to get the date or timestamp from.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The format to be used when printing the parsed date into the index name.\nA valid java time pattern is expected here.\nSupports template snippets.", "name": "index_name_format", "required": false, "serverDefault": "yyyy-MM-dd", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A prefix of the index name to be prepended before the printed date.\nSupports template snippets.", "name": "index_name_prefix", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The locale to use when parsing the date from the document being preprocessed, relevant when parsing month names or week days.", "name": "locale", "required": false, "serverDefault": "ENGLISH", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The timezone to use when parsing the date and when date math index supports resolves expressions into concrete index names.", "name": "timezone", "required": false, "serverDefault": "UTC", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ingest/_types/Processors.ts#L502-L540" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "DateProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field to get the date from.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "An array of the expected date formats.\nCan be a java time pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N.", "name": "formats", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "The locale to use when parsing the date, relevant when parsing month names or week days.\nSupports template snippets.", "name": "locale", "required": false, "serverDefault": "ENGLISH", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The field that will hold the parsed date.", "name": "target_field", "required": false, "serverDefault": "`@timestamp`", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The timezone to use when parsing the date.\nSupports template snippets.", "name": "timezone", "required": false, "serverDefault": "UTC", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ingest/_types/Processors.ts#L542-L569" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "DissectProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The character(s) that separate the appended fields.", "name": "append_separator", "required": false, "serverDefault": "\"\"", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The field to dissect.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The pattern to apply to the field.", "name": "pattern", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ingest/_types/Processors.ts#L571-L590" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "DotExpanderProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field to expand into an object field.\nIf set to `*`, all top-level fields will be expanded.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The field that contains the field to expand.\nOnly required if the field to expand is part another object field, because the `field` option can only understand leaf fields.", "name": "path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ingest/_types/Processors.ts#L592-L603" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "DropProcessor", "namespace": "ingest._types" }, "properties": [], "specLocation": "ingest/_types/Processors.ts#L605-L605" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "EnrichProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field in the input document that matches the policies match_field used to retrieve the enrichment data.\nSupports template snippets.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The maximum number of matched documents to include under the configured target field.\nThe `target_field` will be turned into a json array if `max_matches` is higher than 1, otherwise `target_field` will become a json object.\nIn order to avoid documents getting too large, the maximum allowed value is 128.", "name": "max_matches", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "If processor will update fields with pre-existing non-null-valued field.\nWhen set to `false`, such fields will not be touched.", "name": "override", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The name of the enrich policy to use.", "name": "policy_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A spatial relation operator used to match the geoshape of incoming documents to documents in the enrich index.\nThis option is only used for `geo_match` enrich policy types.", "name": "shape_relation", "required": false, "serverDefault": "INTERSECTS", "type": { "kind": "instance_of", "type": { "name": "GeoShapeRelation", "namespace": "_types" } } }, { "description": "Field added to incoming documents to contain enrich data. This field contains both the `match_field` and `enrich_fields` specified in the enrich policy.\nSupports template snippets.", "name": "target_field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Processors.ts#L607-L646" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "FailProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The error message thrown by the processor.\nSupports template snippets.", "name": "message", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ingest/_types/Processors.ts#L648-L654" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "ForeachProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "Field containing array or object values.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true`, the processor silently exits without changing the document if the `field` is `null` or missing.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Ingest processor to run on each element.", "name": "processor", "required": true, "type": { "kind": "instance_of", "type": { "name": "ProcessorContainer", "namespace": "ingest._types" } } } ], "specLocation": "ingest/_types/Processors.ts#L656-L670" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "GeoIpProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory.", "name": "database_file", "required": false, "serverDefault": "GeoLite2-City.mmdb", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The field to get the ip address from for the geographical lookup.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true`, only the first found geoip data will be returned, even if the field contains an array.", "name": "first_only", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Controls what properties are added to the `target_field` based on the geoip lookup.", "name": "properties", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "The field that will hold the geographical information looked up from the MaxMind database.", "name": "target_field", "required": false, "serverDefault": "geoip", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Processors.ts#L339-L368" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "GrokProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field to use for grok expression parsing.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "A map of pattern-name and pattern tuples defining custom patterns to be used by the current processor.\nPatterns matching existing names will override the pre-existing definition.", "name": "pattern_definitions", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "An ordered list of grok expression to match and extract named captures with.\nReturns on the first expression in the list that matches.", "name": "patterns", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "When `true`, `_ingest._grok_match_index` will be inserted into your matched document’s metadata with the index into the pattern found in `patterns` that matched.", "name": "trace_match", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ingest/_types/Processors.ts#L672-L697" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "GsubProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field to apply the replacement to.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The pattern to be replaced.", "name": "pattern", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The string to replace the matching patterns with.", "name": "replacement", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The field to assign the converted value to\nBy default, the `field` is updated in-place.", "name": "target_field", "required": false, "serverDefault": "field", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Processors.ts#L699-L723" }, { "kind": "interface", "name": { "name": "InferenceConfig", "namespace": "ingest._types" }, "properties": [ { "description": "Regression configuration for inference.", "name": "regression", "required": false, "type": { "kind": "instance_of", "type": { "name": "InferenceConfigRegression", "namespace": "ingest._types" } } }, { "description": "Classification configuration for inference.", "name": "classification", "required": false, "type": { "kind": "instance_of", "type": { "name": "InferenceConfigClassification", "namespace": "ingest._types" } } } ], "specLocation": "ingest/_types/Processors.ts#L746-L758", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "InferenceConfigClassification", "namespace": "ingest._types" }, "properties": [ { "description": "Specifies the number of top class predictions to return.", "name": "num_top_classes", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the maximum number of feature importance values per document.", "name": "num_top_feature_importance_values", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction.", "name": "results_field", "required": false, "serverDefault": "_prediction", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Specifies the field to which the top classes are written.", "name": "top_classes_results_field", "required": false, "serverDefault": "top_classes", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Specifies the type of the predicted field to write.\nValid values are: `string`, `number`, `boolean`.", "name": "prediction_field_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ingest/_types/Processors.ts#L773-L799" }, { "kind": "interface", "name": { "name": "InferenceConfigRegression", "namespace": "ingest._types" }, "properties": [ { "description": "The field that is added to incoming documents to contain the inference prediction.", "name": "results_field", "required": false, "serverDefault": "_prediction", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Specifies the maximum number of feature importance values per document.", "name": "num_top_feature_importance_values", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Processors.ts#L760-L771" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "InferenceProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The ID or alias for the trained model, or the ID of the deployment.", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Field added to incoming documents to contain results objects.", "name": "target_field", "required": false, "serverDefault": "ml.inference.", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Maps the document field names to the known field names of the model.\nThis mapping takes precedence over any default mappings provided in the model configuration.", "name": "field_map", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "Contains the inference type and its options.", "name": "inference_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "InferenceConfig", "namespace": "ingest._types" } } } ], "specLocation": "ingest/_types/Processors.ts#L725-L744" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "JoinProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "Field containing array values to join.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The separator character.", "name": "separator", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The field to assign the joined value to.\nBy default, the field is updated in-place.", "name": "target_field", "required": false, "serverDefault": "field", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Processors.ts#L801-L816" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "JsonProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "Flag that forces the parsed JSON to be added at the top level of the document.\n`target_field` must not be set when this option is chosen.", "name": "add_to_root", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "When set to `replace`, root fields that conflict with fields from the parsed JSON will be overridden.\nWhen set to `merge`, conflicting fields will be merged.\nOnly applicable `if add_to_root` is set to true.", "name": "add_to_root_conflict_strategy", "required": false, "type": { "kind": "instance_of", "type": { "name": "JsonProcessorConflictStrategy", "namespace": "ingest._types" } } }, { "description": "When set to `true`, the JSON parser will not fail if the JSON contains duplicate keys.\nInstead, the last encountered value for any duplicate key wins.", "name": "allow_duplicate_keys", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The field to be parsed.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The field that the converted structured object will be written into.\nAny existing content in this field will be overwritten.", "name": "target_field", "required": false, "serverDefault": "field", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Processors.ts#L818-L847" }, { "kind": "enum", "members": [ { "description": "Root fields that conflict with fields from the parsed JSON will be overridden.", "name": "replace" }, { "description": "Conflicting fields will be merged.", "name": "merge" } ], "name": { "name": "JsonProcessorConflictStrategy", "namespace": "ingest._types" }, "specLocation": "ingest/_types/Processors.ts#L849-L854" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "KeyValueProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "List of keys to exclude from document.", "name": "exclude_keys", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "The field to be parsed.\nSupports template snippets.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Regex pattern to use for splitting key-value pairs.", "name": "field_split", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "List of keys to filter and insert into document.\nDefaults to including all keys.", "name": "include_keys", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Prefix to be added to extracted keys.", "name": "prefix", "required": false, "serverDefault": "null", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`. strip brackets `()`, `<>`, `[]` as well as quotes `'` and `\"` from extracted values.", "name": "strip_brackets", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The field to insert the extracted keys into.\nDefaults to the root of the document.\nSupports template snippets.", "name": "target_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "String of characters to trim from extracted keys.", "name": "trim_key", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "String of characters to trim from extracted values.", "name": "trim_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Regex pattern to use for splitting the key from the value within a key-value pair.", "name": "value_split", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ingest/_types/Processors.ts#L856-L908" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "LowercaseProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field to make lowercase.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The field to assign the converted value to.\nBy default, the field is updated in-place.", "name": "target_field", "required": false, "serverDefault": "field", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Processors.ts#L910-L926" }, { "kind": "interface", "name": { "name": "Pipeline", "namespace": "ingest._types" }, "properties": [ { "description": "Description of the ingest pipeline.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Processors to run immediately after a processor failure.", "name": "on_failure", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ProcessorContainer", "namespace": "ingest._types" } } } }, { "description": "Processors used to perform transformations on documents before indexing.\nProcessors run sequentially in the order specified.", "name": "processors", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ProcessorContainer", "namespace": "ingest._types" } } } }, { "description": "Version number used by external systems to track ingest pipelines.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "Arbitrary metadata about the ingest pipeline. This map is not automatically generated by Elasticsearch.", "name": "_meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Pipeline.ts#L23-L45" }, { "kind": "interface", "name": { "name": "PipelineConfig", "namespace": "ingest._types" }, "properties": [ { "description": "Description of the ingest pipeline.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Version number used by external systems to track ingest pipelines.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "Processors used to perform transformations on documents before indexing.\nProcessors run sequentially in the order specified.", "name": "processors", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ProcessorContainer", "namespace": "ingest._types" } } } } ], "specLocation": "ingest/_types/Pipeline.ts#L61-L75" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "PipelineProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The name of the pipeline to execute.\nSupports template snippets.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Whether to ignore missing pipelines instead of failing.", "name": "ignore_missing_pipeline", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ingest/_types/Processors.ts#L928-L939" }, { "kind": "interface", "name": { "name": "ProcessorBase", "namespace": "ingest._types" }, "properties": [ { "description": "Description of the processor.\nUseful for describing the purpose of the processor or its configuration.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Conditionally execute the processor.", "name": "if", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Ignore failures for the processor.", "name": "ignore_failure", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Handle failures for the processor.", "name": "on_failure", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ProcessorContainer", "namespace": "ingest._types" } } } }, { "description": "Identifier for the processor.\nUseful for debugging and metrics.", "name": "tag", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ingest/_types/Processors.ts#L241-L264" }, { "kind": "interface", "name": { "name": "ProcessorContainer", "namespace": "ingest._types" }, "properties": [ { "description": "The attachment processor lets Elasticsearch extract file attachments in common formats (such as PPT, XLS, and PDF) by using the Apache text extraction library Tika.", "docId": "attachment", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/attachment.html", "name": "attachment", "required": false, "type": { "kind": "instance_of", "type": { "name": "AttachmentProcessor", "namespace": "ingest._types" } } }, { "description": "Appends one or more values to an existing array if the field already exists and it is an array.\nConverts a scalar to an array and appends one or more values to it if the field exists and it is a scalar.\nCreates an array containing the provided values if the field doesn’t exist.\nAccepts a single value or an array of values.", "docId": "append-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/append-processor.html", "name": "append", "required": false, "type": { "kind": "instance_of", "type": { "name": "AppendProcessor", "namespace": "ingest._types" } } }, { "description": "Extracts fields from CSV line out of a single text field within a document.\nAny empty field in CSV will be skipped.", "docId": "csv-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/csv-processor.html", "name": "csv", "required": false, "type": { "kind": "instance_of", "type": { "name": "CsvProcessor", "namespace": "ingest._types" } } }, { "description": "Converts a field in the currently ingested document to a different type, such as converting a string to an integer.\nIf the field value is an array, all members will be converted.", "docId": "convert-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/convert-processor.html", "name": "convert", "required": false, "type": { "kind": "instance_of", "type": { "name": "ConvertProcessor", "namespace": "ingest._types" } } }, { "description": "Parses dates from fields, and then uses the date or timestamp as the timestamp for the document.", "docId": "data-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/date-processor.html", "name": "date", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateProcessor", "namespace": "ingest._types" } } }, { "description": "The purpose of this processor is to point documents to the right time based index based on a date or timestamp field in a document by using the date math index name support.", "docId": "date-index-name-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/date-index-name-processor.html", "name": "date_index_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateIndexNameProcessor", "namespace": "ingest._types" } } }, { "description": "Expands a field with dots into an object field.\nThis processor allows fields with dots in the name to be accessible by other processors in the pipeline.\nOtherwise these fields can’t be accessed by any processor.", "docId": "dot-expand-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/dot-expand-processor.html", "name": "dot_expander", "required": false, "type": { "kind": "instance_of", "type": { "name": "DotExpanderProcessor", "namespace": "ingest._types" } } }, { "description": "The `enrich` processor can enrich documents with data from another index.", "docId": "enrich-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/enrich-processor.html", "name": "enrich", "required": false, "type": { "kind": "instance_of", "type": { "name": "EnrichProcessor", "namespace": "ingest._types" } } }, { "description": "Raises an exception.\nThis is useful for when you expect a pipeline to fail and want to relay a specific message to the requester.", "docId": "fail-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/fail-processor.html", "name": "fail", "required": false, "type": { "kind": "instance_of", "type": { "name": "FailProcessor", "namespace": "ingest._types" } } }, { "description": "Runs an ingest processor on each element of an array or object.", "docId": "foreach-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/foreach-processor.html", "name": "foreach", "required": false, "type": { "kind": "instance_of", "type": { "name": "ForeachProcessor", "namespace": "ingest._types" } } }, { "description": "Converts a JSON string into a structured JSON object.", "docId": "json-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/json-processor.html", "name": "json", "required": false, "type": { "kind": "instance_of", "type": { "name": "JsonProcessor", "namespace": "ingest._types" } } }, { "description": "The `user_agent` processor extracts details from the user agent string a browser sends with its web requests.\nThis processor adds this information by default under the `user_agent` field.", "docId": "user-agent-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/user-agent-processor.html", "name": "user_agent", "required": false, "type": { "kind": "instance_of", "type": { "name": "UserAgentProcessor", "namespace": "ingest._types" } } }, { "description": "This processor helps automatically parse messages (or specific event fields) which are of the `foo=bar` variety.", "docId": "kv-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/kv-processor.html", "name": "kv", "required": false, "type": { "kind": "instance_of", "type": { "name": "KeyValueProcessor", "namespace": "ingest._types" } } }, { "description": "The `geoip` processor adds information about the geographical location of an IPv4 or IPv6 address.", "docId": "geoip-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/geoip-processor.html", "name": "geoip", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoIpProcessor", "namespace": "ingest._types" } } }, { "description": "Extracts structured fields out of a single text field within a document.\nYou choose which field to extract matched fields from, as well as the grok pattern you expect will match.\nA grok pattern is like a regular expression that supports aliased expressions that can be reused.", "docId": "grok-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/grok-processor.html", "name": "grok", "required": false, "type": { "kind": "instance_of", "type": { "name": "GrokProcessor", "namespace": "ingest._types" } } }, { "description": "Converts a string field by applying a regular expression and a replacement.\nIf the field is an array of string, all members of the array will be converted.\nIf any non-string values are encountered, the processor will throw an exception.", "docId": "gsub-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/gsub-processor.html", "name": "gsub", "required": false, "type": { "kind": "instance_of", "type": { "name": "GsubProcessor", "namespace": "ingest._types" } } }, { "description": "Joins each element of an array into a single string using a separator character between each element.\nThrows an error when the field is not an array.", "docId": "join-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/join-processor.html", "name": "join", "required": false, "type": { "kind": "instance_of", "type": { "name": "JoinProcessor", "namespace": "ingest._types" } } }, { "description": "Converts a string to its lowercase equivalent.\nIf the field is an array of strings, all members of the array will be converted.", "docId": "lowercase-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/lowercase-processor.html", "name": "lowercase", "required": false, "type": { "kind": "instance_of", "type": { "name": "LowercaseProcessor", "namespace": "ingest._types" } } }, { "description": "Removes existing fields.\nIf one field doesn’t exist, an exception will be thrown.", "docId": "remove-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/remove-processor.html", "name": "remove", "required": false, "type": { "kind": "instance_of", "type": { "name": "RemoveProcessor", "namespace": "ingest._types" } } }, { "description": "Renames an existing field.\nIf the field doesn’t exist or the new name is already used, an exception will be thrown.", "docId": "rename-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/rename-processor.html", "name": "rename", "required": false, "type": { "kind": "instance_of", "type": { "name": "RenameProcessor", "namespace": "ingest._types" } } }, { "description": "Routes a document to another target index or data stream.\nWhen setting the `destination` option, the target is explicitly specified and the dataset and namespace options can’t be set.\nWhen the `destination` option is not set, this processor is in a data stream mode. Note that in this mode, the reroute processor can only be used on data streams that follow the data stream naming scheme.", "docId": "reroute-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/reroute-processor.html", "name": "reroute", "required": false, "type": { "kind": "instance_of", "type": { "name": "RerouteProcessor", "namespace": "ingest._types" } } }, { "description": "Runs an inline or stored script on incoming documents.\nThe script runs in the `ingest` context.", "docId": "script-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/script-processor.html", "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScriptProcessor", "namespace": "ingest._types" } } }, { "description": "Adds a field with the specified value.\nIf the field already exists, its value will be replaced with the provided one.", "docId": "set-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/set-processor.html", "name": "set", "required": false, "type": { "kind": "instance_of", "type": { "name": "SetProcessor", "namespace": "ingest._types" } } }, { "description": "Sorts the elements of an array ascending or descending.\nHomogeneous arrays of numbers will be sorted numerically, while arrays of strings or heterogeneous arrays of strings + numbers will be sorted lexicographically.\nThrows an error when the field is not an array.", "docId": "sort-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/sort-processor.html", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortProcessor", "namespace": "ingest._types" } } }, { "description": "Splits a field into an array using a separator character.\nOnly works on string fields.", "docId": "split-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/split-processor.html", "name": "split", "required": false, "type": { "kind": "instance_of", "type": { "name": "SplitProcessor", "namespace": "ingest._types" } } }, { "description": "Trims whitespace from a field.\nIf the field is an array of strings, all members of the array will be trimmed.\nThis only works on leading and trailing whitespace.", "docId": "trim-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/trim-processor.html", "name": "trim", "required": false, "type": { "kind": "instance_of", "type": { "name": "TrimProcessor", "namespace": "ingest._types" } } }, { "description": "Converts a string to its uppercase equivalent.\nIf the field is an array of strings, all members of the array will be converted.", "docId": "uppercase-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/uppercase-processor.html", "name": "uppercase", "required": false, "type": { "kind": "instance_of", "type": { "name": "UppercaseProcessor", "namespace": "ingest._types" } } }, { "description": "URL-decodes a string.\nIf the field is an array of strings, all members of the array will be decoded.", "docId": "urldecode-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/urldecode-processor.html", "name": "urldecode", "required": false, "type": { "kind": "instance_of", "type": { "name": "UrlDecodeProcessor", "namespace": "ingest._types" } } }, { "description": "Converts a human readable byte value (for example `1kb`) to its value in bytes (for example `1024`).\nIf the field is an array of strings, all members of the array will be converted.\nSupported human readable units are \"b\", \"kb\", \"mb\", \"gb\", \"tb\", \"pb\" case insensitive.\nAn error will occur if the field is not a supported format or resultant value exceeds 2^63.", "docId": "bytes-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/bytes-processor.html", "name": "bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "BytesProcessor", "namespace": "ingest._types" } } }, { "description": "Extracts structured fields out of a single text field by matching the text field against a delimiter-based pattern.", "docId": "dissect-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/dissect-processor.html", "name": "dissect", "required": false, "type": { "kind": "instance_of", "type": { "name": "DissectProcessor", "namespace": "ingest._types" } } }, { "description": "Sets user-related details (such as `username`, `roles`, `email`, `full_name`, `metadata`, `api_key`, `realm` and `authentication_type`) from the current authenticated user to the current document by pre-processing the ingest.", "docId": "ingest-node-set-security-user-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{banch}/ingest-node-set-security-user-processor.html", "name": "set_security_user", "required": false, "type": { "kind": "instance_of", "type": { "name": "SetSecurityUserProcessor", "namespace": "ingest._types" } } }, { "description": "Executes another pipeline.", "docId": "pipeline-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/pipeline-processor.html", "name": "pipeline", "required": false, "type": { "kind": "instance_of", "type": { "name": "PipelineProcessor", "namespace": "ingest._types" } } }, { "description": "Drops the document without raising any errors.\nThis is useful to prevent the document from getting indexed based on some condition.", "docId": "drop-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/drop-processor.html", "name": "drop", "required": false, "type": { "kind": "instance_of", "type": { "name": "DropProcessor", "namespace": "ingest._types" } } }, { "description": "Converts circle definitions of shapes to regular polygons which approximate them.", "docId": "ingest-circle-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ingest-circle-processor.html", "name": "circle", "required": false, "type": { "kind": "instance_of", "type": { "name": "CircleProcessor", "namespace": "ingest._types" } } }, { "description": "Uses a pre-trained data frame analytics model or a model deployed for natural language processing tasks to infer against the data that is being ingested in the pipeline.", "docId": "inference-processor", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/inference-processor.html", "name": "inference", "required": false, "type": { "kind": "instance_of", "type": { "name": "InferenceProcessor", "namespace": "ingest._types" } } } ], "specLocation": "ingest/_types/Processors.ts#L27-L239", "variants": { "kind": "container", "nonExhaustive": true } }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "RemoveProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "Fields to be removed. Supports template snippets.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ingest/_types/Processors.ts#L941-L951" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "RenameProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field to be renamed.\nSupports template snippets.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The new name of the field.\nSupports template snippets.", "name": "target_field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Processors.ts#L953-L969" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "RerouteProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "A static value for the target. Can’t be set when the dataset or namespace option is set.", "name": "destination", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Field references or a static value for the dataset part of the data stream name.\nIn addition to the criteria for index names, cannot contain - and must be no longer than 100 characters.\nExample values are nginx.access and nginx.error.\n\nSupports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces).\nWhen resolving field references, the processor replaces invalid characters with _. Uses the part\nof the index name as a fallback if all field references resolve to a null, missing, or non-string value.\n\ndefault {{data_stream.dataset}}", "name": "dataset", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } }, { "description": "Field references or a static value for the namespace part of the data stream name. See the criteria for\nindex names for allowed characters. Must be no longer than 100 characters.\n\nSupports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces).\nWhen resolving field references, the processor replaces invalid characters with _. Uses the part\nof the index name as a fallback if all field references resolve to a null, missing, or non-string value.\n\ndefault {{data_stream.namespace}}", "name": "namespace", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } } ], "specLocation": "ingest/_types/Processors.ts#L971-L999" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "ScriptProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "ID of a stored script.\nIf no `source` is specified, this parameter is required.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Script language.", "name": "lang", "required": false, "serverDefault": "painless", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Object containing parameters for the script.", "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "Inline script.\nIf no `id` is specified, this parameter is required.", "name": "source", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ingest/_types/Processors.ts#L1001-L1021" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "SetProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The origin field which will be copied to `field`, cannot set `value` simultaneously.\nSupported data types are `boolean`, `number`, `array`, `object`, `string`, `date`, etc.", "name": "copy_from", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The field to insert, upsert, or update.\nSupports template snippets.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and `value` is a template snippet that evaluates to `null` or the empty string, the processor quietly exits without modifying the document.", "name": "ignore_empty_value", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The media type for encoding `value`.\nApplies only when value is a template snippet.\nMust be one of `application/json`, `text/plain`, or `application/x-www-form-urlencoded`.", "name": "media_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true` processor will update fields with pre-existing non-null-valued field.\nWhen set to `false`, such fields will not be touched.", "name": "override", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The value to be set for the field.\nSupports template snippets.\nMay specify only one of `value` or `copy_from`.", "name": "value", "required": false, "type": { "kind": "user_defined_value" } } ], "specLocation": "ingest/_types/Processors.ts#L1023-L1057" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "SetSecurityUserProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field to store the user information into.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Controls what user related properties are added to the field.", "name": "properties", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "ingest/_types/Processors.ts#L1059-L1068" }, { "kind": "enum", "members": [ { "name": "geo_shape" }, { "name": "shape" } ], "name": { "name": "ShapeType", "namespace": "ingest._types" }, "specLocation": "ingest/_types/Processors.ts#L1070-L1073" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "SortProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field to be sorted.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The sort order to use.\nAccepts `\"asc\"` or `\"desc\"`.", "name": "order", "required": false, "serverDefault": "asc", "type": { "kind": "instance_of", "type": { "name": "SortOrder", "namespace": "_types" } } }, { "description": "The field to assign the sorted value to.\nBy default, the field is updated in-place.", "name": "target_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Processors.ts#L1075-L1091" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "SplitProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field to split.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Preserves empty trailing fields, if any.", "name": "preserve_trailing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "A regex which matches the separator, for example, `,` or `\\s+`.", "name": "separator", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The field to assign the split value to.\nBy default, the field is updated in-place.", "name": "target_field", "required": false, "serverDefault": "field", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Processors.ts#L1093-L1118" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "TrimProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The string-valued field to trim whitespace from.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The field to assign the trimmed value to.\nBy default, the field is updated in-place.", "name": "target_field", "required": false, "serverDefault": "field", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Processors.ts#L1120-L1136" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "UppercaseProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field to make uppercase.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The field to assign the converted value to.\nBy default, the field is updated in-place.", "name": "target_field", "required": false, "serverDefault": "field", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Processors.ts#L1138-L1154" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "UrlDecodeProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field to decode.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The field to assign the converted value to.\nBy default, the field is updated in-place.", "name": "target_field", "required": false, "serverDefault": "field", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Processors.ts#L1156-L1172" }, { "inherits": { "type": { "name": "ProcessorBase", "namespace": "ingest._types" } }, "kind": "interface", "name": { "name": "UserAgentProcessor", "namespace": "ingest._types" }, "properties": [ { "description": "The field containing the user agent string.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document.", "name": "ignore_missing", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "options", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "UserAgentProperty", "namespace": "ingest._types" } } } }, { "description": "The name of the file in the `config/ingest-user-agent` directory containing the regular expressions for parsing the user agent string. Both the directory and the file have to be created before starting Elasticsearch. If not specified, ingest-user-agent will use the `regexes.yaml` from uap-core it ships with.", "name": "regex_file", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The field that will be filled with the user agent details.", "name": "target_field", "required": false, "serverDefault": "user_agent", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ingest/_types/Processors.ts#L370-L390" }, { "kind": "enum", "members": [ { "name": "NAME" }, { "name": "MAJOR" }, { "name": "MINOR" }, { "name": "PATCH" }, { "name": "OS" }, { "name": "OS_NAME" }, { "name": "OS_MAJOR" }, { "name": "OS_MINOR" }, { "name": "DEVICE" }, { "name": "BUILD" } ], "name": { "name": "UserAgentProperty", "namespace": "ingest._types" }, "specLocation": "ingest/_types/Processors.ts#L266-L277" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes one or more existing ingest pipeline.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ingest.delete_pipeline" }, "path": [ { "description": "Pipeline ID or wildcard expression of pipeline IDs used to limit the request.\nTo delete all ingest pipelines in a cluster, use a value of `*`.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ingest/delete_pipeline/DeletePipelineRequest.ts#L24-L52" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ingest.delete_pipeline" }, "specLocation": "ingest/delete_pipeline/DeletePipelineResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "GeoIpDownloadStatistics", "namespace": "ingest.geo_ip_stats" }, "properties": [ { "description": "Total number of successful database downloads.", "name": "successful_downloads", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Total number of failed database downloads.", "name": "failed_downloads", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Total milliseconds spent downloading databases.", "name": "total_download_time", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "Current number of databases available for use.", "name": "database_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Total number of database updates skipped.", "name": "skipped_updates", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ingest/geo_ip_stats/types.ts#L24-L35" }, { "kind": "interface", "name": { "name": "GeoIpNodeDatabaseName", "namespace": "ingest.geo_ip_stats" }, "properties": [ { "description": "Name of the database.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "specLocation": "ingest/geo_ip_stats/types.ts#L45-L48" }, { "description": "Downloaded databases for the node. The field key is the node ID.", "kind": "interface", "name": { "name": "GeoIpNodeDatabases", "namespace": "ingest.geo_ip_stats" }, "properties": [ { "description": "Downloaded databases for the node.", "name": "databases", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "GeoIpNodeDatabaseName", "namespace": "ingest.geo_ip_stats" } } } }, { "description": "Downloaded database files, including related license files. Elasticsearch stores these files in the node’s temporary directory: $ES_TMPDIR/geoip-databases/.", "name": "files_in_temp", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "ingest/geo_ip_stats/types.ts#L37-L43" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Gets download statistics for GeoIP2 databases used with the geoip processor.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ingest.geo_ip_stats" }, "path": [], "query": [], "specLocation": "ingest/geo_ip_stats/IngestGeoIpStatsRequest.ts#L22-L29" }, { "body": { "kind": "properties", "properties": [ { "description": "Download statistics for all GeoIP2 databases.", "name": "stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "GeoIpDownloadStatistics", "namespace": "ingest.geo_ip_stats" } } }, { "description": "Downloaded GeoIP2 databases for each node.", "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "GeoIpNodeDatabases", "namespace": "ingest.geo_ip_stats" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ingest.geo_ip_stats" }, "specLocation": "ingest/geo_ip_stats/IngestGeoIpStatsResponse.ts#L24-L31" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about one or more ingest pipelines.\nThis API returns a local reference of the pipeline.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ingest.get_pipeline" }, "path": [ { "description": "Comma-separated list of pipeline IDs to retrieve.\nWildcard (`*`) expressions are supported.\nTo get all ingest pipelines, omit this parameter or use `*`.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Return pipelines without their definitions (default: false)", "name": "summary", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ingest/get_pipeline/GetPipelineRequest.ts#L24-L50" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Pipeline", "namespace": "ingest._types" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "ingest.get_pipeline" }, "specLocation": "ingest/get_pipeline/GetPipelineResponse.ts#L23-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Extracts structured fields out of a single text field within a document.\nYou choose which field to extract matched fields from, as well as the grok pattern you expect will match.\nA grok pattern is like a regular expression that supports aliased expressions that can be reused.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ingest.processor_grok" }, "path": [], "query": [], "specLocation": "ingest/processor_grok/GrokProcessorPatternsRequest.ts#L22-L31" }, { "body": { "kind": "properties", "properties": [ { "name": "patterns", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ingest.processor_grok" }, "specLocation": "ingest/processor_grok/GrokProcessorPatternsResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Optional metadata about the ingest pipeline. May have any contents. This map is not automatically generated by Elasticsearch.", "name": "_meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "Description of the ingest pipeline.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Processors to run immediately after a processor failure. Each processor supports a processor-level `on_failure` value. If a processor without an `on_failure` value fails, Elasticsearch uses this pipeline-level parameter as a fallback. The processors in this parameter run sequentially in the order specified. Elasticsearch will not attempt to run the pipeline's remaining processors.", "name": "on_failure", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ProcessorContainer", "namespace": "ingest._types" } } } }, { "description": "Processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.", "name": "processors", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ProcessorContainer", "namespace": "ingest._types" } } } }, { "description": "Version number used by external systems to track ingest pipelines. This parameter is intended for external systems only. Elasticsearch does not use or validate pipeline version numbers.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } } ] }, "description": "Creates or updates an ingest pipeline.\nChanges made using this API take effect immediately.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ingest.put_pipeline" }, "path": [ { "description": "ID of the ingest pipeline to create or update.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Required version for optimistic concurrency control for pipeline updates", "name": "if_version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } } ], "specLocation": "ingest/put_pipeline/PutPipelineRequest.ts#L25-L77" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ingest.put_pipeline" }, "specLocation": "ingest/put_pipeline/PutPipelineResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "Document", "namespace": "ingest.simulate" }, "properties": [ { "description": "Unique identifier for the document.\nThis ID must be unique within the `_index`.", "name": "_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Name of the index containing the document.", "name": "_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "JSON body for the document.", "name": "_source", "required": true, "type": { "kind": "user_defined_value" } } ], "specLocation": "ingest/simulate/types.ts#L41-L55" }, { "attachedBehaviors": [ "AdditionalProperties" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "type": { "name": "AdditionalProperties", "namespace": "_spec_utils" } } ], "description": "The simulated document, with optional metadata.", "kind": "interface", "name": { "name": "DocumentSimulation", "namespace": "ingest.simulate" }, "properties": [ { "description": "Unique identifier for the document. This ID must be unique within the `_index`.", "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Name of the index containing the document.", "name": "_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "_ingest", "required": true, "type": { "kind": "instance_of", "type": { "name": "Ingest", "namespace": "ingest.simulate" } } }, { "description": "Value used to send the document to a specific primary shard.", "name": "_routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "JSON body for the document.", "name": "_source", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "", "name": "_version", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "Stringified", "namespace": "_spec_utils" } } }, { "name": "_version_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionType", "namespace": "_types" } } } ], "specLocation": "ingest/simulate/types.ts#L57-L85" }, { "kind": "interface", "name": { "name": "Ingest", "namespace": "ingest.simulate" }, "properties": [ { "name": "timestamp", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "pipeline", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "specLocation": "ingest/simulate/types.ts#L28-L31" }, { "kind": "interface", "name": { "name": "PipelineSimulation", "namespace": "ingest.simulate" }, "properties": [ { "name": "doc", "required": false, "type": { "kind": "instance_of", "type": { "name": "DocumentSimulation", "namespace": "ingest.simulate" } } }, { "name": "processor_results", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "PipelineSimulation", "namespace": "ingest.simulate" } } } }, { "name": "tag", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "processor_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "status", "required": false, "type": { "kind": "instance_of", "type": { "name": "ActionStatusOptions", "namespace": "watcher._types" } } } ], "specLocation": "ingest/simulate/types.ts#L33-L39" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Sample documents to test in the pipeline.", "name": "docs", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Document", "namespace": "ingest.simulate" } } } }, { "description": "Pipeline to test.\nIf you don’t specify the `pipeline` request path parameter, this parameter is required.\nIf you specify both this and the request path parameter, the API only uses the request path parameter.", "name": "pipeline", "required": false, "type": { "kind": "instance_of", "type": { "name": "Pipeline", "namespace": "ingest._types" } } } ] }, "description": "Executes an ingest pipeline against a set of provided documents.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ingest.simulate" }, "path": [ { "description": "Pipeline to test.\nIf you don’t specify a `pipeline` in the request body, this parameter is required.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "If `true`, the response includes output data for each processor in the executed pipeline.", "name": "verbose", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ingest/simulate/SimulatePipelineRequest.ts#L25-L57" }, { "body": { "kind": "properties", "properties": [ { "name": "docs", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "PipelineSimulation", "namespace": "ingest.simulate" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ingest.simulate" }, "specLocation": "ingest/simulate/SimulatePipelineResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "License", "namespace": "license._types" }, "properties": [ { "name": "expiry_date_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "issue_date_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "start_date_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "issued_to", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "issuer", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_nodes", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "max_resource_units", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "signature", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "LicenseType", "namespace": "license._types" } } }, { "name": "uid", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "license/_types/License.ts#L42-L53" }, { "kind": "enum", "members": [ { "name": "active" }, { "name": "valid" }, { "name": "invalid" }, { "name": "expired" } ], "name": { "name": "LicenseStatus", "namespace": "license._types" }, "specLocation": "license/_types/License.ts#L35-L40" }, { "kind": "enum", "members": [ { "name": "missing" }, { "name": "trial" }, { "name": "basic" }, { "name": "standard" }, { "name": "dev" }, { "name": "silver" }, { "name": "gold" }, { "name": "platinum" }, { "name": "enterprise" } ], "name": { "name": "LicenseType", "namespace": "license._types" }, "specLocation": "license/_types/License.ts#L23-L33" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes licensing information for the cluster", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "license.delete" }, "path": [], "query": [], "specLocation": "license/delete/DeleteLicenseRequest.ts#L22-L26" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "license.delete" }, "specLocation": "license/delete/DeleteLicenseResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "LicenseInformation", "namespace": "license.get" }, "properties": [ { "name": "expiry_date", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "expiry_date_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "issue_date", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "issue_date_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "issued_to", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "issuer", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_nodes", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "max_resource_units", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "LicenseStatus", "namespace": "license._types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "LicenseType", "namespace": "license._types" } } }, { "name": "uid", "required": true, "type": { "kind": "instance_of", "type": { "name": "Uuid", "namespace": "_types" } } }, { "name": "start_date_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } } ], "specLocation": "license/get/types.ts#L25-L38" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "This API returns information about the type of license, when it was issued, and when it expires, for example.\nFor more information about the different types of licenses, see https://www.elastic.co/subscriptions.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "license.get" }, "path": [], "query": [ { "deprecation": { "description": "", "version": "7.6.0" }, "description": "If `true`, this parameter returns enterprise for Enterprise license types. If `false`, this parameter returns platinum for both platinum and enterprise license types. This behavior is maintained for backwards compatibility.\nThis parameter is deprecated and will always be set to true in 8.x.", "name": "accept_enterprise", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies whether to retrieve local information. The default value is `false`, which means the information is retrieved from the master node.", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "license/get/GetLicenseRequest.ts#L22-L44" }, { "body": { "kind": "properties", "properties": [ { "name": "license", "required": true, "type": { "kind": "instance_of", "type": { "name": "LicenseInformation", "namespace": "license.get" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "license.get" }, "specLocation": "license/get/GetLicenseResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves information about the status of the basic license.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "license.get_basic_status" }, "path": [], "query": [], "specLocation": "license/get_basic_status/GetBasicLicenseStatusRequest.ts#L22-L26" }, { "body": { "kind": "properties", "properties": [ { "name": "eligible_to_start_basic", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "license.get_basic_status" }, "specLocation": "license/get_basic_status/GetBasicLicenseStatusResponse.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves information about the status of the trial license.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "license.get_trial_status" }, "path": [], "query": [], "specLocation": "license/get_trial_status/GetTrialLicenseStatusRequest.ts#L22-L26" }, { "body": { "kind": "properties", "properties": [ { "name": "eligible_to_start_trial", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "license.get_trial_status" }, "specLocation": "license/get_trial_status/GetTrialLicenseStatusResponse.ts#L20-L22" }, { "kind": "interface", "name": { "name": "Acknowledgement", "namespace": "license.post" }, "properties": [ { "name": "license", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "message", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "license/post/types.ts#L20-L23" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "license", "required": false, "type": { "kind": "instance_of", "type": { "name": "License", "namespace": "license._types" } } }, { "description": "A sequence of one or more JSON documents containing the license information.", "name": "licenses", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "License", "namespace": "license._types" } } } } ] }, "description": "Updates the license for the cluster.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "license.post" }, "path": [], "query": [ { "description": "Specifies whether you acknowledge the license changes.", "name": "acknowledge", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "license/post/PostLicenseRequest.ts#L23-L43" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledge", "required": false, "type": { "kind": "instance_of", "type": { "name": "Acknowledgement", "namespace": "license.post" } } }, { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "license_status", "required": true, "type": { "kind": "instance_of", "type": { "name": "LicenseStatus", "namespace": "license._types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "license.post" }, "specLocation": "license/post/PostLicenseResponse.ts#L23-L29" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "The start basic API enables you to initiate an indefinite basic license, which gives access to all the basic features. If the basic license does not support all of the features that are available with your current license, however, you are notified in the response. You must then re-submit the API request with the acknowledge parameter set to true.\nTo check the status of your basic license, use the following API: [Get basic status](https://www.elastic.co/guide/en/elasticsearch/reference/current/get-basic-status.html).", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "license.post_start_basic" }, "path": [], "query": [ { "description": "whether the user has acknowledged acknowledge messages (default: false)", "name": "acknowledge", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "license/post_start_basic/StartBasicLicenseRequest.ts#L22-L32" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "basic_was_started", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "error_message", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "LicenseType", "namespace": "license._types" } } }, { "name": "acknowledge", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "license.post_start_basic" }, "specLocation": "license/post_start_basic/StartBasicLicenseResponse.ts#L23-L31" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "The start trial API enables you to start a 30-day trial, which gives access to all subscription features.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "license.post_start_trial" }, "path": [], "query": [ { "description": "whether the user has acknowledged acknowledge messages (default: false)", "name": "acknowledge", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "type_query_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "license/post_start_trial/StartTrialLicenseRequest.ts#L22-L33" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "error_message", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "trial_was_started", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "LicenseType", "namespace": "license._types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "license.post_start_trial" }, "specLocation": "license/post_start_trial/StartTrialLicenseResponse.ts#L22-L29" }, { "kind": "interface", "name": { "name": "Pipeline", "namespace": "logstash._types" }, "properties": [ { "description": "Description of the pipeline.\nThis description is not used by Elasticsearch or Logstash.", "name": "description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Date the pipeline was last updated.\nMust be in the `yyyy-MM-dd'T'HH:mm:ss.SSSZZ` strict_date_time format.", "name": "last_modified", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Optional metadata about the pipeline.\nMay have any contents.\nThis metadata is not generated or used by Elasticsearch or Logstash.", "name": "pipeline_metadata", "required": true, "type": { "kind": "instance_of", "type": { "name": "PipelineMetadata", "namespace": "logstash._types" } } }, { "description": "User who last updated the pipeline.", "name": "username", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Configuration for the pipeline.", "docId": "logstash-configuration-file-structure", "docUrl": "https://www.elastic.co/guide/en/logstash/{branch}/configuration-file-structure.html", "name": "pipeline", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Settings for the pipeline.\nSupports only flat keys in dot notation.", "docId": "logstash-logstash-settings-file", "docUrl": "https://www.elastic.co/guide/en/logstash/{branch}/logstash-settings-file.html", "name": "pipeline_settings", "required": true, "type": { "kind": "instance_of", "type": { "name": "PipelineSettings", "namespace": "logstash._types" } } } ], "specLocation": "logstash/_types/Pipeline.ts#L60-L92" }, { "kind": "interface", "name": { "name": "PipelineMetadata", "namespace": "logstash._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "logstash/_types/Pipeline.ts#L23-L26" }, { "kind": "interface", "name": { "name": "PipelineSettings", "namespace": "logstash._types" }, "properties": [ { "description": "The number of workers that will, in parallel, execute the filter and output stages of the pipeline.", "docId": "logstash-logstash-settings-file", "docUrl": "https://www.elastic.co/guide/en/logstash/{branch}/logstash-settings-file.html", "name": "pipeline.workers", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum number of events an individual worker thread will collect from inputs before attempting to execute its filters and outputs.", "name": "pipeline.batch.size", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "When creating pipeline event batches, how long in milliseconds to wait for each event before dispatching an undersized batch to pipeline workers.", "name": "pipeline.batch.delay", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The internal queuing model to use for event buffering.", "docId": "logstash-logstash-settings-file", "docUrl": "https://www.elastic.co/guide/en/logstash/{branch}/logstash-settings-file.html", "name": "queue.type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The total capacity of the queue (`queue.type: persisted`) in number of bytes.", "name": "queue.max_bytes.number", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The total capacity of the queue (`queue.type: persisted`) in terms of units of bytes.", "name": "queue.max_bytes.units", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The maximum number of written events before forcing a checkpoint when persistent queues are enabled (`queue.type: persisted`).", "name": "queue.checkpoint.writes", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "logstash/_types/Pipeline.ts#L28-L59" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes a pipeline used for Logstash Central Management.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "logstash.delete_pipeline" }, "path": [ { "description": "Identifier for the pipeline.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "logstash/delete_pipeline/LogstashDeletePipelineRequest.ts#L23-L37" }, { "body": { "kind": "no_body" }, "kind": "response", "name": { "name": "Response", "namespace": "logstash.delete_pipeline" }, "specLocation": "logstash/delete_pipeline/LogstashDeletePipelineResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves pipelines used for Logstash Central Management.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "logstash.get_pipeline" }, "path": [ { "description": "Comma-separated list of pipeline identifiers.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } } ], "query": [], "specLocation": "logstash/get_pipeline/LogstashGetPipelineRequest.ts#L23-L37" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Pipeline", "namespace": "logstash._types" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "logstash.get_pipeline" }, "specLocation": "logstash/get_pipeline/LogstashGetPipelineResponse.ts#L24-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "pipeline", "kind": "value", "value": { "kind": "instance_of", "type": { "name": "Pipeline", "namespace": "logstash._types" } } }, "description": "Creates or updates a pipeline used for Logstash Central Management.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "logstash.put_pipeline" }, "path": [ { "description": "Identifier for the pipeline.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "logstash/put_pipeline/LogstashPutPipelineRequest.ts#L24-L39" }, { "body": { "kind": "no_body" }, "kind": "response", "name": { "name": "Response", "namespace": "logstash.put_pipeline" }, "specLocation": "logstash/put_pipeline/LogstashPutPipelineResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "Deprecation", "namespace": "migration.deprecations" }, "properties": [ { "name": "details", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The level property describes the significance of the issue.", "name": "level", "required": true, "type": { "kind": "instance_of", "type": { "name": "DeprecationLevel", "namespace": "migration.deprecations" } } }, { "name": "message", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "url", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "migration/deprecations/types.ts#L29-L35" }, { "kind": "enum", "members": [ { "name": "none" }, { "name": "info" }, { "description": "You can upgrade directly, but you are using deprecated functionality which will not be available or behave differently in the next major version.", "name": "warning" }, { "description": "You cannot upgrade without fixing this problem.", "name": "critical" } ], "name": { "name": "DeprecationLevel", "namespace": "migration.deprecations" }, "specLocation": "migration/deprecations/types.ts#L20-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "migration.deprecations" }, "path": [ { "description": "Comma-separate list of data streams or indices to check. Wildcard (*) expressions are supported.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "query": [], "specLocation": "migration/deprecations/DeprecationInfoRequest.ts#L23-L32" }, { "body": { "kind": "properties", "properties": [ { "name": "cluster_settings", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Deprecation", "namespace": "migration.deprecations" } } } }, { "name": "index_settings", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Deprecation", "namespace": "migration.deprecations" } } } } }, { "name": "node_settings", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Deprecation", "namespace": "migration.deprecations" } } } }, { "name": "ml_settings", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Deprecation", "namespace": "migration.deprecations" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "migration.deprecations" }, "specLocation": "migration/deprecations/DeprecationInfoResponse.ts#L23-L30" }, { "kind": "interface", "name": { "name": "MigrationFeature", "namespace": "migration.get_feature_upgrade_status" }, "properties": [ { "name": "feature_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "minimum_index_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "migration_status", "required": true, "type": { "kind": "instance_of", "type": { "name": "MigrationStatus", "namespace": "migration.get_feature_upgrade_status" } } }, { "name": "indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "MigrationFeatureIndexInfo", "namespace": "migration.get_feature_upgrade_status" } } } } ], "specLocation": "migration/get_feature_upgrade_status/GetFeatureUpgradeStatusResponse.ts#L37-L42" }, { "kind": "interface", "name": { "name": "MigrationFeatureIndexInfo", "namespace": "migration.get_feature_upgrade_status" }, "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "failure_cause", "required": false, "type": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } } ], "specLocation": "migration/get_feature_upgrade_status/GetFeatureUpgradeStatusResponse.ts#L44-L48" }, { "kind": "enum", "members": [ { "name": "NO_MIGRATION_NEEDED" }, { "name": "MIGRATION_NEEDED" }, { "name": "IN_PROGRESS" }, { "name": "ERROR" } ], "name": { "name": "MigrationStatus", "namespace": "migration.get_feature_upgrade_status" }, "specLocation": "migration/get_feature_upgrade_status/GetFeatureUpgradeStatusResponse.ts#L30-L35" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Find out whether system features need to be upgraded or not", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "migration.get_feature_upgrade_status" }, "path": [], "query": [], "specLocation": "migration/get_feature_upgrade_status/GetFeatureUpgradeStatusRequest.ts#L22-L27" }, { "body": { "kind": "properties", "properties": [ { "name": "features", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "MigrationFeature", "namespace": "migration.get_feature_upgrade_status" } } } }, { "name": "migration_status", "required": true, "type": { "kind": "instance_of", "type": { "name": "MigrationStatus", "namespace": "migration.get_feature_upgrade_status" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "migration.get_feature_upgrade_status" }, "specLocation": "migration/get_feature_upgrade_status/GetFeatureUpgradeStatusResponse.ts#L23-L28" }, { "kind": "interface", "name": { "name": "MigrationFeature", "namespace": "migration.post_feature_upgrade" }, "properties": [ { "name": "feature_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "migration/post_feature_upgrade/PostFeatureUpgradeResponse.ts#L27-L29" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Begin upgrades for system features", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "migration.post_feature_upgrade" }, "path": [], "query": [], "specLocation": "migration/post_feature_upgrade/PostFeatureUpgradeRequest.ts#L22-L27" }, { "body": { "kind": "properties", "properties": [ { "name": "accepted", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "features", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "MigrationFeature", "namespace": "migration.post_feature_upgrade" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "migration.post_feature_upgrade" }, "specLocation": "migration/post_feature_upgrade/PostFeatureUpgradeResponse.ts#L20-L25" }, { "kind": "interface", "name": { "name": "AnalysisConfig", "namespace": "ml._types" }, "properties": [ { "description": "The size of the interval that the analysis is aggregated into, typically between `5m` and `1h`. This value should be either a whole number of days or equate to a\nwhole number of buckets in one day. If the anomaly detection job uses a datafeed with aggregations, this value must also be divisible by the interval of the date histogram aggregation.", "name": "bucket_span", "required": false, "serverDefault": "5m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If `categorization_field_name` is specified, you can also define the analyzer that is used to interpret the categorization field. This property cannot be used at the same time as `categorization_filters`. The categorization analyzer specifies how the `categorization_field` is interpreted by the categorization process. The `categorization_analyzer` field can be specified either as a string or as an object. If it is a string, it must refer to a built-in analyzer or one added by another plugin.", "name": "categorization_analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "CategorizationAnalyzer", "namespace": "ml._types" } } }, { "description": "If this property is specified, the values of the specified field will be categorized. The resulting categories must be used in a detector by setting `by_field_name`, `over_field_name`, or `partition_field_name` to the keyword `mlcategory`.", "name": "categorization_field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `categorization_field_name` is specified, you can also define optional filters. This property expects an array of regular expressions. The expressions are used to filter out matching sequences from the categorization field values. You can use this functionality to fine tune the categorization by excluding sequences from consideration when categories are defined. For example, you can exclude SQL statements that appear in your log files. This property cannot be used at the same time as `categorization_analyzer`. If you only want to define simple regular expression filters that are applied prior to tokenization, setting this property is the easiest method. If you also want to customize the tokenizer or post-tokenization filtering, use the `categorization_analyzer` property instead and include the filters as pattern_replace character filters. The effect is exactly the same.", "name": "categorization_filters", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Detector configuration objects specify which data fields a job analyzes. They also specify which analytical functions are used. You can specify multiple detectors for a job. If the detectors array does not contain at least one detector, no analysis can occur and an error is returned.", "name": "detectors", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Detector", "namespace": "ml._types" } } } }, { "description": "A comma separated list of influencer field names. Typically these can be the by, over, or partition fields that are used in the detector configuration. You might also want to use a field name that is not specifically named in a detector, but is available as part of the input data. When you use multiple detectors, the use of influencers is recommended as it aggregates results for each influencer entity.", "name": "influencers", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } }, { "description": "The size of the window in which to expect data that is out of time order. If you specify a non-zero value, it must be greater than or equal to one second. NOTE: Latency is applicable only when you send data by using the post data API.", "name": "latency", "required": false, "serverDefault": "0", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Advanced configuration option. Affects the pruning of models that have not been updated for the given time duration. The value must be set to a multiple of the `bucket_span`. If set too low, important information may be removed from the model. For jobs created in 8.1 and later, the default value is the greater of `30d` or 20 times `bucket_span`.", "name": "model_prune_window", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "This functionality is reserved for internal use. It is not supported for use in customer environments and is not subject to the support SLA of official GA features. If set to `true`, the analysis will automatically find correlations between metrics for a given by field value and report anomalies when those correlations cease to hold. For example, suppose CPU and memory usage on host A is usually highly correlated with the same metrics on host B. Perhaps this correlation occurs because they are running a load-balanced application. If you enable this property, anomalies will be reported when, for example, CPU usage on host A is high and the value of CPU usage on host B is low. That is to say, you’ll see an anomaly when the CPU of host A is unusual given the CPU of host B. To use the `multivariate_by_fields` property, you must also specify `by_field_name` in your detector.", "name": "multivariate_by_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Settings related to how categorization interacts with partition fields.", "name": "per_partition_categorization", "required": false, "type": { "kind": "instance_of", "type": { "name": "PerPartitionCategorization", "namespace": "ml._types" } } }, { "description": "If this property is specified, the data that is fed to the job is expected to be pre-summarized. This property value is the name of the field that contains the count of raw data points that have been summarized. The same `summary_count_field_name` applies to all detectors in the job. NOTE: The `summary_count_field_name` property cannot be used with the `metric` function.", "name": "summary_count_field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ml/_types/Analysis.ts#L29-L77" }, { "attachedBehaviors": [ "OverloadOf" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "AnalysisConfig", "namespace": "ml._types" } } ], "type": { "name": "OverloadOf", "namespace": "_spec_utils" } } ], "kind": "interface", "name": { "name": "AnalysisConfigRead", "namespace": "ml._types" }, "properties": [ { "description": "The size of the interval that the analysis is aggregated into, typically between `5m` and `1h`.", "name": "bucket_span", "required": true, "serverDefault": "5m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If `categorization_field_name` is specified, you can also define the analyzer that is used to interpret the categorization field.\nThis property cannot be used at the same time as `categorization_filters`.\nThe categorization analyzer specifies how the `categorization_field` is interpreted by the categorization process.", "name": "categorization_analyzer", "required": false, "type": { "kind": "instance_of", "type": { "name": "CategorizationAnalyzer", "namespace": "ml._types" } } }, { "description": "If this property is specified, the values of the specified field will be categorized.\nThe resulting categories must be used in a detector by setting `by_field_name`, `over_field_name`, or `partition_field_name` to the keyword `mlcategory`.", "name": "categorization_field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "If `categorization_field_name` is specified, you can also define optional filters.\nThis property expects an array of regular expressions.\nThe expressions are used to filter out matching sequences from the categorization field values.", "name": "categorization_filters", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "An array of detector configuration objects.\nDetector configuration objects specify which data fields a job analyzes.\nThey also specify which analytical functions are used.\nYou can specify multiple detectors for a job.", "name": "detectors", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DetectorRead", "namespace": "ml._types" } } } }, { "description": "A comma separated list of influencer field names.\nTypically these can be the by, over, or partition fields that are used in the detector configuration.\nYou might also want to use a field name that is not specifically named in a detector, but is available as part of the input data.\nWhen you use multiple detectors, the use of influencers is recommended as it aggregates results for each influencer entity.", "name": "influencers", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } }, { "description": "Advanced configuration option.\nAffects the pruning of models that have not been updated for the given time duration.\nThe value must be set to a multiple of the `bucket_span`.\nIf set too low, important information may be removed from the model.\nTypically, set to `30d` or longer.\nIf not set, model pruning only occurs if the model memory status reaches the soft limit or the hard limit.\nFor jobs created in 8.1 and later, the default value is the greater of `30d` or 20 times `bucket_span`.", "name": "model_prune_window", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The size of the window in which to expect data that is out of time order.\nDefaults to no latency.\nIf you specify a non-zero value, it must be greater than or equal to one second.", "name": "latency", "required": false, "serverDefault": "0", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "This functionality is reserved for internal use.\nIt is not supported for use in customer environments and is not subject to the support SLA of official GA features.\nIf set to `true`, the analysis will automatically find correlations between metrics for a given by field value and report anomalies when those correlations cease to hold.", "name": "multivariate_by_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Settings related to how categorization interacts with partition fields.", "name": "per_partition_categorization", "required": false, "type": { "kind": "instance_of", "type": { "name": "PerPartitionCategorization", "namespace": "ml._types" } } }, { "description": "If this property is specified, the data that is fed to the job is expected to be pre-summarized.\nThis property value is the name of the field that contains the count of raw data points that have been summarized.\nThe same `summary_count_field_name` applies to all detectors in the job.", "name": "summary_count_field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ml/_types/Analysis.ts#L79-L148" }, { "kind": "interface", "name": { "name": "AnalysisLimits", "namespace": "ml._types" }, "properties": [ { "description": "The maximum number of examples stored per category in memory and in the results data store. If you increase this value, more examples are available, however it requires that you have more storage available. If you set this value to 0, no examples are stored. NOTE: The `categorization_examples_limit` applies only to analysis that uses categorization.", "name": "categorization_examples_limit", "required": false, "serverDefault": 4, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The approximate maximum amount of memory resources that are required for analytical processing. Once this limit is approached, data pruning becomes more aggressive. Upon exceeding this limit, new entities are not modeled. If the `xpack.ml.max_model_memory_limit` setting has a value greater than 0 and less than 1024mb, that value is used instead of the default. The default value is relatively small to ensure that high resource usage is a conscious decision. If you have jobs that are expected to analyze high cardinality fields, you will likely need to use a higher value. If you specify a number instead of a string, the units are assumed to be MiB. Specifying a string is recommended for clarity. If you specify a byte size unit of `b` or `kb` and the number does not equate to a discrete number of megabytes, it is rounded down to the closest MiB. The minimum valid value is 1 MiB. If you specify a value less than 1 MiB, an error occurs. If you specify a value for the `xpack.ml.max_model_memory_limit` setting, an error occurs when you try to create jobs that have `model_memory_limit` values greater than that setting value.", "name": "model_memory_limit", "required": false, "serverDefault": "1024mb", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/Analysis.ts#L161-L172" }, { "kind": "interface", "name": { "name": "AnalysisMemoryLimit", "namespace": "ml._types" }, "properties": [ { "description": "Limits can be applied for the resources required to hold the mathematical models in memory. These limits are approximate and can be set per job. They do not control the memory used by other processes, for example the Elasticsearch Java processes.", "name": "model_memory_limit", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/Analysis.ts#L174-L179" }, { "kind": "interface", "name": { "name": "Anomaly", "namespace": "ml._types" }, "properties": [ { "description": "The actual value for the bucket.", "name": "actual", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } }, { "description": "Information about the factors impacting the initial anomaly score.", "name": "anomaly_score_explanation", "required": false, "type": { "kind": "instance_of", "type": { "name": "AnomalyExplanation", "namespace": "ml._types" } } }, { "description": "The length of the bucket in seconds. This value matches the `bucket_span` that is specified in the job.", "name": "bucket_span", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitSeconds", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "The field used to split the data. In particular, this property is used for analyzing the splits with respect to their own history. It is used for finding unusual values in the context of the split.", "name": "by_field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The value of `by_field_name`.", "name": "by_field_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "For population analysis, an over field must be specified in the detector. This property contains an array of anomaly records that are the causes for the anomaly that has been identified for the over field. This sub-resource contains the most anomalous records for the `over_field_name`. For scalability reasons, a maximum of the 10 most significant causes of the anomaly are returned. As part of the core analytical modeling, these low-level anomaly records are aggregated for their parent over field record. The `causes` resource contains similar elements to the record resource, namely `actual`, `typical`, `geo_results.actual_point`, `geo_results.typical_point`, `*_field_name` and `*_field_value`. Probability and scores are not applicable to causes.", "name": "causes", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "AnomalyCause", "namespace": "ml._types" } } } }, { "description": "A unique identifier for the detector.", "name": "detector_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Certain functions require a field to operate on, for example, `sum()`. For those functions, this value is the name of the field to be analyzed.", "name": "field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The function in which the anomaly occurs, as specified in the detector configuration. For example, `max`.", "name": "function", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The description of the function in which the anomaly occurs, as specified in the detector configuration.", "name": "function_description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If the detector function is `lat_long`, this object contains comma delimited strings for the latitude and longitude of the actual and typical values.", "name": "geo_results", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoResults", "namespace": "ml._types" } } }, { "description": "If influencers were specified in the detector configuration, this array contains influencers that contributed to or were to blame for an anomaly.", "name": "influencers", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Influence", "namespace": "ml._types" } } } }, { "description": "A normalized score between 0-100, which is based on the probability of the anomalousness of this record. This is the initial value that was calculated at the time the bucket was processed.", "name": "initial_record_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", "name": "is_interim", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The field used to split the data. In particular, this property is used for analyzing the splits with respect to the history of all splits. It is used for finding unusual values in the population of all splits.", "name": "over_field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The value of `over_field_name`.", "name": "over_field_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The field used to segment the analysis. When you use this property, you have completely independent baselines for each value of this field.", "name": "partition_field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The value of `partition_field_name`.", "name": "partition_field_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The probability of the individual anomaly occurring, in the range 0 to 1. For example, `0.0000772031`. This value can be held to a high precision of over 300 decimal places, so the `record_score` is provided as a human-readable and friendly interpretation of this.", "name": "probability", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "A normalized score between 0-100, which is based on the probability of the anomalousness of this record. Unlike `initial_record_score`, this value will be updated by a re-normalization process as new data is analyzed.", "name": "record_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Internal. This is always set to `record`.", "name": "result_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The start time of the bucket for which these results were calculated.", "name": "timestamp", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "The typical value for the bucket, according to analytical modeling.", "name": "typical", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } } ], "specLocation": "ml/_types/Anomaly.ts#L24-L121" }, { "kind": "interface", "name": { "name": "AnomalyCause", "namespace": "ml._types" }, "properties": [ { "name": "actual", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } }, { "name": "by_field_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "by_field_value", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "correlated_by_field_value", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "field_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "function", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "function_description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "influencers", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Influence", "namespace": "ml._types" } } } }, { "name": "over_field_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "over_field_value", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "partition_field_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "partition_field_value", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "probability", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "typical", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } } ], "specLocation": "ml/_types/Anomaly.ts#L123-L138" }, { "kind": "interface", "name": { "name": "AnomalyExplanation", "namespace": "ml._types" }, "properties": [ { "description": "Impact from the duration and magnitude of the detected anomaly relative to the historical average.", "name": "anomaly_characteristics_impact", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Length of the detected anomaly in the number of buckets.", "name": "anomaly_length", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Type of the detected anomaly: `spike` or `dip`.", "name": "anomaly_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Indicates reduction of anomaly score for the bucket with large confidence intervals. If a bucket has large confidence intervals, the score is reduced.", "name": "high_variance_penalty", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If the bucket contains fewer samples than expected, the score is reduced.", "name": "incomplete_bucket_penalty", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Lower bound of the 95% confidence interval.", "name": "lower_confidence_bound", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Impact of the deviation between actual and typical values in the past 12 buckets.", "name": "multi_bucket_impact", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Impact of the deviation between actual and typical values in the current bucket.", "name": "single_bucket_impact", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Typical (expected) value for this bucket.", "name": "typical_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Upper bound of the 95% confidence interval.", "name": "upper_confidence_bound", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/_types/Anomaly.ts#L156-L197" }, { "kind": "interface", "name": { "name": "ApiKeyAuthorization", "namespace": "ml._types" }, "properties": [ { "description": "The identifier for the API key.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The name of the API key.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/Authorization.ts#L20-L29" }, { "kind": "enum", "members": [ { "name": "actual" }, { "name": "typical" }, { "name": "diff_from_typical" }, { "name": "time" } ], "name": { "name": "AppliesTo", "namespace": "ml._types" }, "specLocation": "ml/_types/Rule.ts#L67-L72" }, { "kind": "interface", "name": { "name": "BucketInfluencer", "namespace": "ml._types" }, "properties": [ { "description": "A normalized score between 0-100, which is calculated for each bucket influencer. This score might be updated as\nnewer data is analyzed.", "name": "anomaly_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "The length of the bucket in seconds. This value matches the bucket span that is specified in the job.", "name": "bucket_span", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitSeconds", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "The field name of the influencer.", "name": "influencer_field_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The score between 0-100 for each bucket influencer. This score is the initial value that was calculated at the\ntime the bucket was processed.", "name": "initial_anomaly_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", "name": "is_interim", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The probability that the bucket has this behavior, in the range 0 to 1. This value can be held to a high precision\nof over 300 decimal places, so the `anomaly_score` is provided as a human-readable and friendly interpretation of\nthis.", "name": "probability", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Internal.", "name": "raw_anomaly_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Internal. This value is always set to `bucket_influencer`.", "name": "result_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The start time of the bucket for which these results were calculated.", "name": "timestamp", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "The start time of the bucket for which these results were calculated.", "name": "timestamp_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "ml/_types/Bucket.ts#L80-L128" }, { "kind": "interface", "name": { "name": "BucketSummary", "namespace": "ml._types" }, "properties": [ { "description": "The maximum anomaly score, between 0-100, for any of the bucket influencers. This is an overall, rate-limited\nscore for the job. All the anomaly records in the bucket contribute to this score. This value might be updated as\nnew data is analyzed.", "name": "anomaly_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "bucket_influencers", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "BucketInfluencer", "namespace": "ml._types" } } } }, { "description": "The length of the bucket in seconds. This value matches the bucket span that is specified in the job.", "name": "bucket_span", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitSeconds", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "The number of input data records processed in this bucket.", "name": "event_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The maximum anomaly score for any of the bucket influencers. This is the initial value that was calculated at the\ntime the bucket was processed.", "name": "initial_anomaly_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", "name": "is_interim", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The amount of time, in milliseconds, that it took to analyze the bucket contents and calculate results.", "name": "processing_time_ms", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "Internal. This value is always set to bucket.", "name": "result_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The start time of the bucket. This timestamp uniquely identifies the bucket. Events that occur exactly at the\ntimestamp of the bucket are included in the results for the bucket.", "name": "timestamp", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "The start time of the bucket. This timestamp uniquely identifies the bucket. Events that occur exactly at the\ntimestamp of the bucket are included in the results for the bucket.", "name": "timestamp_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "ml/_types/Bucket.ts#L31-L78" }, { "kind": "interface", "name": { "name": "CalendarEvent", "namespace": "ml._types" }, "properties": [ { "description": "A string that uniquely identifies a calendar.", "name": "calendar_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "event_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "A description of the scheduled event.", "name": "description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The timestamp for the end of the scheduled event in milliseconds since the epoch or ISO 8601 format.", "name": "end_time", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "The timestamp for the beginning of the scheduled event in milliseconds since the epoch or ISO 8601 format.", "name": "start_time", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "ml/_types/CalendarEvent.ts#L23-L33" }, { "codegenNames": [ "name", "definition" ], "kind": "type_alias", "name": { "name": "CategorizationAnalyzer", "namespace": "ml._types" }, "specLocation": "ml/_types/Analysis.ts#L181-L182", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "CategorizationAnalyzerDefinition", "namespace": "ml._types" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "CategorizationAnalyzerDefinition", "namespace": "ml._types" }, "properties": [ { "description": "One or more character filters. In addition to the built-in character filters, other plugins can provide more character filters. If this property is not specified, no character filters are applied prior to categorization. If you are customizing some other aspect of the analyzer and you need to achieve the equivalent of `categorization_filters` (which are not permitted when some other aspect of the analyzer is customized), add them here as pattern replace character filters.", "name": "char_filter", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CharFilter", "namespace": "_types.analysis" } } } }, { "description": "One or more token filters. In addition to the built-in token filters, other plugins can provide more token filters. If this property is not specified, no token filters are applied prior to categorization.", "name": "filter", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TokenFilter", "namespace": "_types.analysis" } } } }, { "description": "The name or definition of the tokenizer to use after character filters are applied. This property is compulsory if `categorization_analyzer` is specified as an object. Machine learning provides a tokenizer called `ml_standard` that tokenizes in a way that has been determined to produce good categorization results on a variety of log file formats for logs in English. If you want to use that tokenizer but change the character or token filters, specify \"tokenizer\": \"ml_standard\" in your `categorization_analyzer`. Additionally, the `ml_classic` tokenizer is available, which tokenizes in the same way as the non-customizable tokenizer in old versions of the product (before 6.2). `ml_classic` was the default categorization tokenizer in versions 6.2 to 7.13, so if you need categorization identical to the default for jobs created in these versions, specify \"tokenizer\": \"ml_classic\" in your `categorization_analyzer`.", "name": "tokenizer", "required": false, "type": { "kind": "instance_of", "type": { "name": "Tokenizer", "namespace": "_types.analysis" } } } ], "specLocation": "ml/_types/Analysis.ts#L184-L197" }, { "kind": "enum", "members": [ { "name": "ok" }, { "name": "warn" } ], "name": { "name": "CategorizationStatus", "namespace": "ml._types" }, "specLocation": "ml/_types/Model.ts#L83-L86" }, { "kind": "interface", "name": { "name": "Category", "namespace": "ml._types" }, "properties": [ { "description": "A unique identifier for the category. category_id is unique at the job level, even when per-partition categorization is enabled.", "name": "category_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "ulong", "namespace": "_types" } } }, { "description": "A list of examples of actual values that matched the category.", "name": "examples", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "[experimental] A Grok pattern that could be used in Logstash or an ingest pipeline to extract fields from messages that match the category. This field is experimental and may be changed or removed in a future release. The Grok patterns that are found are not optimal, but are often a good starting point for manual tweaking.", "name": "grok_pattern", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The maximum length of the fields that matched the category. The value is increased by 10% to enable matching for similar fields that have not been analyzed.", "name": "max_matching_length", "required": true, "type": { "kind": "instance_of", "type": { "name": "ulong", "namespace": "_types" } } }, { "description": "If per-partition categorization is enabled, this property identifies the field used to segment the categorization. It is not present when per-partition categorization is disabled.", "name": "partition_field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If per-partition categorization is enabled, this property identifies the value of the partition_field_name for the category. It is not present when per-partition categorization is disabled.", "name": "partition_field_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A regular expression that is used to search for values that match the category.", "name": "regex", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A space separated list of the common tokens that are matched in values of the category.", "name": "terms", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The number of messages that have been matched by this category. This is only guaranteed to have the latest accurate count after a job _flush or _close", "name": "num_matches", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "A list of category_id entries that this current category encompasses. Any new message that is processed by the categorizer will match against this category and not any of the categories in this list. This is only guaranteed to have the latest accurate list of categories after a job _flush or _close", "name": "preferred_to_categories", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } }, { "name": "p", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "result_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "mlcategory", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/Category.ts#L23-L49" }, { "kind": "interface", "name": { "name": "ChunkingConfig", "namespace": "ml._types" }, "properties": [ { "description": "If the mode is `auto`, the chunk size is dynamically calculated;\nthis is the recommended value when the datafeed does not use aggregations.\nIf the mode is `manual`, chunking is applied according to the specified `time_span`;\nuse this mode when the datafeed uses aggregations. If the mode is `off`, no chunking is applied.", "name": "mode", "required": true, "type": { "kind": "instance_of", "type": { "name": "ChunkingMode", "namespace": "ml._types" } } }, { "description": "The time span that each search will be querying. This setting is applicable only when the `mode` is set to `manual`.", "name": "time_span", "required": false, "serverDefault": "3h", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ml/_types/Datafeed.ts#L238-L251" }, { "kind": "enum", "members": [ { "name": "auto" }, { "name": "manual" }, { "name": "off" } ], "name": { "name": "ChunkingMode", "namespace": "ml._types" }, "specLocation": "ml/_types/Datafeed.ts#L232-L236" }, { "kind": "interface", "name": { "name": "ClassificationInferenceOptions", "namespace": "ml._types" }, "properties": [ { "description": "Specifies the number of top class predictions to return. Defaults to 0.", "name": "num_top_classes", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the maximum number of feature importance values per document.", "docId": "ml-feature-importance", "docUrl": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-feature-importance.html", "name": "num_top_feature_importance_values", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the type of the predicted field to write. Acceptable values are: string, number, boolean. When boolean is provided 1.0 is transformed to true and 0.0 to false.", "name": "prediction_field_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Specifies the field to which the top classes are written. Defaults to top_classes.", "name": "top_classes_results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/inference.ts#L93-L108" }, { "kind": "enum", "members": [ { "name": "gt" }, { "name": "gte" }, { "name": "lt" }, { "name": "lte" } ], "name": { "name": "ConditionOperator", "namespace": "ml._types" }, "specLocation": "ml/_types/Rule.ts#L74-L79" }, { "description": "Custom metadata about the job", "kind": "type_alias", "name": { "name": "CustomSettings", "namespace": "ml._types" }, "specLocation": "ml/_types/Settings.ts#L22-L27", "type": { "kind": "user_defined_value" } }, { "kind": "interface", "name": { "name": "DataCounts", "namespace": "ml._types" }, "properties": [ { "name": "bucket_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "earliest_record_timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "empty_bucket_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "input_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "input_field_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "input_record_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "invalid_date_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "last_data_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "latest_empty_bucket_timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "latest_record_timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "latest_sparse_bucket_timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "latest_bucket_timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "log_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "missing_field_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "out_of_order_timestamp_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "processed_field_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "processed_record_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "sparse_bucket_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "ml/_types/Job.ts#L352-L372" }, { "kind": "interface", "name": { "name": "DataDescription", "namespace": "ml._types" }, "properties": [ { "description": "Only JSON format is supported at this time.", "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The name of the field that contains the timestamp.", "name": "time_field", "required": false, "serverDefault": "time", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The time format, which can be `epoch`, `epoch_ms`, or a custom pattern. The value `epoch` refers to UNIX or Epoch time (the number of seconds since 1 Jan 1970). The value `epoch_ms` indicates that time is measured in milliseconds since the epoch. The `epoch` and `epoch_ms` time formats accept either integer or real values. Custom patterns must conform to the Java DateTimeFormatter class. When you use date-time formatting patterns, it is recommended that you provide the full date, time and time zone. For example: `yyyy-MM-dd'T'HH:mm:ssX`. If the pattern that you specify is not sufficient to produce a complete timestamp, job creation fails.", "name": "time_format", "required": false, "serverDefault": "epoch", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "field_delimiter", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/Job.ts#L374-L390" }, { "kind": "interface", "name": { "name": "Datafeed", "namespace": "ml._types" }, "properties": [ { "aliases": [ "aggs" ], "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AggregationContainer", "namespace": "_types.aggregations" } } } }, { "description": "The security privileges that the datafeed uses to run its queries. If Elastic Stack security features were disabled at the time of the most recent update to the datafeed, this property is omitted.", "name": "authorization", "required": false, "type": { "kind": "instance_of", "type": { "name": "DatafeedAuthorization", "namespace": "ml._types" } } }, { "name": "chunking_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "ChunkingConfig", "namespace": "ml._types" } } }, { "name": "datafeed_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "frequency", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "indexes", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "max_empty_searches", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "name": "query_delay", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "script_fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ScriptField", "namespace": "_types" } } } }, { "name": "scroll_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "delayed_data_check_config", "required": true, "type": { "kind": "instance_of", "type": { "name": "DelayedDataCheckConfig", "namespace": "ml._types" } } }, { "name": "runtime_mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } }, { "name": "indices_options", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndicesOptions", "namespace": "_types" } } } ], "specLocation": "ml/_types/Datafeed.ts#L36-L57" }, { "kind": "interface", "name": { "name": "DatafeedAuthorization", "namespace": "ml._types" }, "properties": [ { "description": "If an API key was used for the most recent update to the datafeed, its name and identifier are listed in the response.", "name": "api_key", "required": false, "type": { "kind": "instance_of", "type": { "name": "ApiKeyAuthorization", "namespace": "ml._types" } } }, { "description": "If a user ID was used for the most recent update to the datafeed, its roles at the time of the update are listed in the response.", "name": "roles", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "If a service account was used for the most recent update to the datafeed, the account name is listed in the response.", "name": "service_account", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/Authorization.ts#L31-L43" }, { "kind": "interface", "name": { "name": "DatafeedConfig", "namespace": "ml._types" }, "properties": [ { "aliases": [ "aggs" ], "description": "If set, the datafeed performs aggregation searches. Support for aggregations is limited and should be used only with low cardinality data.", "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AggregationContainer", "namespace": "_types.aggregations" } } } }, { "description": "Datafeeds might be required to search over long time periods, for several months or years. This search is split into time chunks in order to ensure the load on Elasticsearch is managed. Chunking configuration controls how the size of these time chunks are calculated and is an advanced configuration option.", "name": "chunking_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "ChunkingConfig", "namespace": "ml._types" } } }, { "description": "A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters. The default value is the job identifier.", "name": "datafeed_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Specifies whether the datafeed checks for missing data and the size of the window. The datafeed can optionally search over indices that have already been read in an effort to determine whether any data has subsequently been added to the index. If missing data is found, it is a good indication that the `query_delay` option is set too low and the data is being indexed after the datafeed has passed that moment in time. This check runs only on real-time datafeeds.", "name": "delayed_data_check_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "DelayedDataCheckConfig", "namespace": "ml._types" } } }, { "description": "The interval at which scheduled queries are made while the datafeed runs in real time. The default value is either the bucket span for short bucket spans, or, for longer bucket spans, a sensible fraction of the bucket span. For example: `150s`. When `frequency` is shorter than the bucket span, interim results for the last (partial) bucket are written then eventually overwritten by the full bucket results. If the datafeed uses aggregations, this value must be divisible by the interval of the date histogram aggregation.", "name": "frequency", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "aliases": [ "indexes" ], "description": "An array of index names. Wildcards are supported. If any indices are in remote clusters, the machine learning nodes must have the `remote_cluster_client` role.", "name": "indices", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Specifies index expansion options that are used during search.", "name": "indices_options", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndicesOptions", "namespace": "_types" } } }, { "name": "job_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "If a real-time datafeed has never seen any data (including during any initial training period) then it will automatically stop itself and close its associated job after this many real-time searches that return no documents. In other words, it will stop after `frequency` times `max_empty_searches` of real-time operation. If not set then a datafeed with no end time that sees no data will remain started until it is explicitly stopped.", "name": "max_empty_searches", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The Elasticsearch query domain-specific language (DSL). This value corresponds to the query object in an Elasticsearch search POST body. All the options that are supported by Elasticsearch can be used, as this object is passed verbatim to Elasticsearch.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "The number of seconds behind real time that data is queried. For example, if data from 10:04 a.m. might not be searchable in Elasticsearch until 10:06 a.m., set this property to 120 seconds. The default value is randomly selected between `60s` and `120s`. This randomness improves the query performance when there are multiple jobs running on the same node.", "name": "query_delay", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Specifies runtime fields for the datafeed search.", "name": "runtime_mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } }, { "description": "Specifies scripts that evaluate custom expressions and returns script fields to the datafeed. The detector configuration objects in a job can contain functions that use these script fields.", "name": "script_fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ScriptField", "namespace": "_types" } } } }, { "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations. The maximum value is the value of `index.max_result_window`, which is 10,000 by default.", "name": "scroll_size", "required": false, "serverDefault": 1000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/Datafeed.ts#L59-L116" }, { "kind": "interface", "name": { "name": "DatafeedRunningState", "namespace": "ml._types" }, "properties": [ { "description": "Indicates if the datafeed is \"real-time\"; meaning that the datafeed has no configured `end` time.", "name": "real_time_configured", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Indicates whether the datafeed has finished running on the available past data.\nFor datafeeds without a configured `end` time, this means that the datafeed is now running on \"real-time\" data.", "name": "real_time_running", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Provides the latest time interval the datafeed has searched.", "name": "search_interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "RunningStateSearchInterval", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/Datafeed.ts#L197-L211" }, { "kind": "enum", "members": [ { "name": "started" }, { "name": "stopped" }, { "name": "starting" }, { "name": "stopping" } ], "name": { "name": "DatafeedState", "namespace": "ml._types" }, "specLocation": "ml/_types/Datafeed.ts#L132-L137" }, { "kind": "interface", "name": { "name": "DatafeedStats", "namespace": "ml._types" }, "properties": [ { "description": "For started datafeeds only, contains messages relating to the selection of a node.", "name": "assignment_explanation", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A numerical character string that uniquely identifies the datafeed.\nThis identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores.\nIt must start and end with alphanumeric characters.", "name": "datafeed_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "availability": { "stack": {} }, "description": "For started datafeeds only, this information pertains to the node upon which the datafeed is started.", "name": "node", "required": false, "type": { "kind": "instance_of", "type": { "name": "DiscoveryNode", "namespace": "ml._types" } } }, { "description": "The status of the datafeed, which can be one of the following values: `starting`, `started`, `stopping`, `stopped`.", "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "DatafeedState", "namespace": "ml._types" } } }, { "description": "An object that provides statistical information about timing aspect of this datafeed.", "name": "timing_stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "DatafeedTimingStats", "namespace": "ml._types" } } }, { "description": "An object containing the running state for this datafeed.\nIt is only provided if the datafeed is started.", "name": "running_state", "required": false, "type": { "kind": "instance_of", "type": { "name": "DatafeedRunningState", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/Datafeed.ts#L139-L168" }, { "kind": "interface", "name": { "name": "DatafeedTimingStats", "namespace": "ml._types" }, "properties": [ { "description": "The number of buckets processed.", "name": "bucket_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The exponential average search time per hour, in milliseconds.", "name": "exponential_average_search_time_per_hour_ms", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitFloatMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The number of searches run by the datafeed.", "name": "search_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The total time the datafeed spent searching, in milliseconds.", "name": "total_search_time_ms", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitFloatMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "The average search time per bucket, in milliseconds.", "name": "average_search_time_per_bucket_ms", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitFloatMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "ml/_types/Datafeed.ts#L170-L195" }, { "kind": "interface", "name": { "name": "DataframeAnalysis", "namespace": "ml._types" }, "properties": [ { "description": "Advanced configuration option. Machine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly. This parameter affects loss calculations by acting as a multiplier of the tree depth. Higher alpha values result in shallower trees and faster training times. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to zero.", "name": "alpha", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Defines which field of the document is to be predicted. It must match one of the fields in the index being used to train. If this field is missing from a document, then that document will not be used for training, but a prediction with the trained model will be generated for it. It is also known as continuous target variable.\nFor classification analysis, the data type of the field must be numeric (`integer`, `short`, `long`, `byte`), categorical (`ip` or `keyword`), or `boolean`. There must be no more than 30 different values in this field.\nFor regression analysis, the data type of the field must be numeric.", "name": "dependent_variable", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Advanced configuration option. Controls the fraction of data that is used to compute the derivatives of the loss function for tree training. A small value results in the use of a small fraction of the data. If this value is set to be less than 1, accuracy typically improves. However, too small a value may result in poor convergence for the ensemble and so require more trees. By default, this value is calculated during hyperparameter optimization. It must be greater than zero and less than or equal to 1.", "name": "downsample_factor", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Advanced configuration option. Specifies whether the training process should finish if it is not finding any better performing models. If disabled, the training process can take significantly longer and the chance of finding a better performing model is unremarkable.", "name": "early_stopping_enabled", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Advanced configuration option. The shrinkage applied to the weights. Smaller values result in larger forests which have a better generalization error. However, larger forests cause slower training. By default, this value is calculated during hyperparameter optimization. It must be a value between 0.001 and 1.", "name": "eta", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Advanced configuration option. Specifies the rate at which `eta` increases for each new tree that is added to the forest. For example, a rate of 1.05 increases `eta` by 5% for each extra tree. By default, this value is calculated during hyperparameter optimization. It must be between 0.5 and 2.", "name": "eta_growth_rate_per_tree", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Advanced configuration option. Defines the fraction of features that will be used when selecting a random bag for each candidate split. By default, this value is calculated during hyperparameter optimization.", "name": "feature_bag_fraction", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Advanced configuration option. A collection of feature preprocessors that modify one or more included fields. The analysis uses the resulting one or more features instead of the original document field. However, these features are ephemeral; they are not stored in the destination index. Multiple `feature_processors` entries can refer to the same document fields. Automatic categorical feature encoding still occurs for the fields that are unprocessed by a custom processor or that have categorical values. Use this property only if you want to override the automatic feature encoding of the specified fields.", "name": "feature_processors", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DataframeAnalysisFeatureProcessor", "namespace": "ml._types" } } } }, { "description": "Advanced configuration option. Regularization parameter to prevent overfitting on the training data set. Multiplies a linear penalty associated with the size of individual trees in the forest. A high gamma value causes training to prefer small trees. A small gamma value results in larger individual trees and slower training. By default, this value is calculated during hyperparameter optimization. It must be a nonnegative value.", "name": "gamma", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Advanced configuration option. Regularization parameter to prevent overfitting on the training data set. Multiplies an L2 regularization term which applies to leaf weights of the individual trees in the forest. A high lambda value causes training to favor small leaf weights. This behavior makes the prediction function smoother at the expense of potentially not being able to capture relevant relationships between the features and the dependent variable. A small lambda value results in large individual trees and slower training. By default, this value is calculated during hyperparameter optimization. It must be a nonnegative value.", "name": "lambda", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Advanced configuration option. A multiplier responsible for determining the maximum number of hyperparameter optimization steps in the Bayesian optimization procedure. The maximum number of steps is determined based on the number of undefined hyperparameters times the maximum optimization rounds per hyperparameter. By default, this value is calculated during hyperparameter optimization.", "name": "max_optimization_rounds_per_hyperparameter", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "aliases": [ "maximum_number_trees" ], "description": "Advanced configuration option. Defines the maximum number of decision trees in the forest. The maximum value is 2000. By default, this value is calculated during hyperparameter optimization.", "name": "max_trees", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Advanced configuration option. Specifies the maximum number of feature importance values per document to return. By default, no feature importance calculation occurs.", "name": "num_top_feature_importance_values", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Defines the name of the prediction field in the results. Defaults to `_prediction`.", "name": "prediction_field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Defines the seed for the random generator that is used to pick training data. By default, it is randomly generated. Set it to a specific value to use the same training data each time you start a job (assuming other related parameters such as `source` and `analyzed_fields` are the same).", "name": "randomize_seed", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Advanced configuration option. Machine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly. This soft limit combines with the `soft_tree_depth_tolerance` to penalize trees that exceed the specified depth; the regularized loss increases quickly beyond this depth. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to 0.", "name": "soft_tree_depth_limit", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Advanced configuration option. This option controls how quickly the regularized loss increases when the tree depth exceeds `soft_tree_depth_limit`. By default, this value is calculated during hyperparameter optimization. It must be greater than or equal to 0.01.", "name": "soft_tree_depth_tolerance", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Defines what percentage of the eligible documents that will be used for training. Documents that are ignored by the analysis (for example those that contain arrays with more than one value) won’t be included in the calculation for used percentage.", "name": "training_percent", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "Percentage", "namespace": "_types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L134-L213" }, { "kind": "interface", "name": { "name": "DataframeAnalysisAnalyzedFields", "namespace": "ml._types" }, "properties": [ { "description": "An array of strings that defines the fields that will be excluded from the analysis. You do not need to add fields with unsupported data types to excludes, these fields are excluded from the analysis automatically.", "name": "includes", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "An array of strings that defines the fields that will be included in the analysis.", "name": "excludes", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "shortcutProperty": "includes", "specLocation": "ml/_types/DataframeAnalytics.ts#L238-L244" }, { "inherits": { "type": { "name": "DataframeAnalysis", "namespace": "ml._types" } }, "kind": "interface", "name": { "name": "DataframeAnalysisClassification", "namespace": "ml._types" }, "properties": [ { "name": "class_assignment_objective", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Defines the number of categories for which the predicted probabilities are reported. It must be non-negative or -1. If it is -1 or greater than the total number of categories, probabilities are reported for all categories; if you have a large number of categories, there could be a significant effect on the size of your destination index. NOTE: To use the AUC ROC evaluation method, `num_top_classes` must be set to -1 or a value greater than or equal to the total number of categories.", "name": "num_top_classes", "required": false, "serverDefault": 2, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L227-L236" }, { "kind": "interface", "name": { "name": "DataframeAnalysisContainer", "namespace": "ml._types" }, "properties": [ { "description": "The configuration information necessary to perform classification.", "docId": "ml-classification", "docUrl": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-dfa-classification.html", "name": "classification", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisClassification", "namespace": "ml._types" } } }, { "description": "The configuration information necessary to perform outlier detection. NOTE: Advanced parameters are for fine-tuning classification analysis. They are set automatically by hyperparameter optimization to give the minimum validation error. It is highly recommended to use the default values unless you fully understand the function of these parameters.", "docId": "ml-classification", "docUrl": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-dfa-classification.html", "name": "outlier_detection", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisOutlierDetection", "namespace": "ml._types" } } }, { "description": "The configuration information necessary to perform regression. NOTE: Advanced parameters are for fine-tuning regression analysis. They are set automatically by hyperparameter optimization to give the minimum validation error. It is highly recommended to use the default values unless you fully understand the function of these parameters.", "docId": "ml-regression", "docUrl": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-dfa-regression.html", "name": "regression", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisRegression", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L84-L101", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "DataframeAnalysisFeatureProcessor", "namespace": "ml._types" }, "properties": [ { "description": "The configuration information necessary to perform frequency encoding.", "name": "frequency_encoding", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisFeatureProcessorFrequencyEncoding", "namespace": "ml._types" } } }, { "description": "The configuration information necessary to perform multi encoding. It allows multiple processors to be changed together. This way the output of a processor can then be passed to another as an input.", "name": "multi_encoding", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisFeatureProcessorMultiEncoding", "namespace": "ml._types" } } }, { "description": "The configuration information necessary to perform n-gram encoding. Features created by this encoder have the following name format: .. For example, if the feature_prefix is f, the feature name for the second unigram in a string is f.11.", "name": "n_gram_encoding", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisFeatureProcessorNGramEncoding", "namespace": "ml._types" } } }, { "description": "The configuration information necessary to perform one hot encoding.", "name": "one_hot_encoding", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisFeatureProcessorOneHotEncoding", "namespace": "ml._types" } } }, { "description": "The configuration information necessary to perform target mean encoding.", "name": "target_mean_encoding", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisFeatureProcessorTargetMeanEncoding", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L246-L258", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "DataframeAnalysisFeatureProcessorFrequencyEncoding", "namespace": "ml._types" }, "properties": [ { "description": "The resulting feature name.", "name": "feature_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The resulting frequency map for the field value. If the field value is missing from the frequency_map, the resulting value is 0.", "name": "frequency_map", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L260-L267" }, { "kind": "interface", "name": { "name": "DataframeAnalysisFeatureProcessorMultiEncoding", "namespace": "ml._types" }, "properties": [ { "description": "The ordered array of custom processors to execute. Must be more than 1.", "name": "processors", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L269-L272" }, { "kind": "interface", "name": { "name": "DataframeAnalysisFeatureProcessorNGramEncoding", "namespace": "ml._types" }, "properties": [ { "description": "The feature name prefix. Defaults to ngram__.", "name": "feature_prefix", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The name of the text field to encode.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Specifies the length of the n-gram substring. Defaults to 50. Must be greater than 0.", "name": "length", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies which n-grams to gather. It’s an array of integer values where the minimum value is 1, and a maximum value is 5.", "name": "n_grams", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } }, { "description": "Specifies the zero-indexed start of the n-gram substring. Negative values are allowed for encoding n-grams of string suffixes. Defaults to 0.", "name": "start", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "custom", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L274-L286" }, { "kind": "interface", "name": { "name": "DataframeAnalysisFeatureProcessorOneHotEncoding", "namespace": "ml._types" }, "properties": [ { "description": "The name of the field to encode.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The one hot map mapping the field value with the column name.", "name": "hot_map", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L288-L293" }, { "kind": "interface", "name": { "name": "DataframeAnalysisFeatureProcessorTargetMeanEncoding", "namespace": "ml._types" }, "properties": [ { "description": "The default value if field value is not found in the target_map.", "name": "default_value", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The resulting feature name.", "name": "feature_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "The name of the field to encode.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The field value to target mean transition map.", "name": "target_map", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L295-L304" }, { "kind": "interface", "name": { "name": "DataframeAnalysisOutlierDetection", "namespace": "ml._types" }, "properties": [ { "description": "Specifies whether the feature influence calculation is enabled.", "name": "compute_feature_influence", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The minimum outlier score that a document needs to have in order to calculate its feature influence score. Value range: 0-1.", "name": "feature_influence_threshold", "required": false, "serverDefault": 0.1, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "The method that outlier detection uses. Available methods are `lof`, `ldof`, `distance_kth_nn`, `distance_knn`, and `ensemble`. The default value is ensemble, which means that outlier detection uses an ensemble of different methods and normalises and combines their individual outlier scores to obtain the overall outlier score.", "name": "method", "required": false, "serverDefault": "ensemble", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Defines the value for how many nearest neighbors each method of outlier detection uses to calculate its outlier score. When the value is not set, different values are used for different ensemble members. This default behavior helps improve the diversity in the ensemble; only override it if you are confident that the value you choose is appropriate for the data set.", "name": "n_neighbors", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The proportion of the data set that is assumed to be outlying prior to outlier detection. For example, 0.05 means it is assumed that 5% of values are real outliers and 95% are inliers.", "name": "outlier_fraction", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "If true, the following operation is performed on the columns before computing outlier scores: `(x_i - mean(x_i)) / sd(x_i)`.", "name": "standardization_enabled", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L103-L132" }, { "inherits": { "type": { "name": "DataframeAnalysis", "namespace": "ml._types" } }, "kind": "interface", "name": { "name": "DataframeAnalysisRegression", "namespace": "ml._types" }, "properties": [ { "description": "The loss function used during regression. Available options are `mse` (mean squared error), `msle` (mean squared logarithmic error), `huber` (Pseudo-Huber loss).", "name": "loss_function", "required": false, "serverDefault": "mse", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A positive number that is used as a parameter to the `loss_function`.", "name": "loss_function_parameter", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L215-L225" }, { "kind": "interface", "name": { "name": "DataframeAnalytics", "namespace": "ml._types" }, "properties": [ { "description": "An object containing information about the analysis job.", "name": "analysis_stats", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsStatsContainer", "namespace": "ml._types" } } }, { "description": "For running jobs only, contains messages relating to the selection of a node to run the job.", "name": "assignment_explanation", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "An object that provides counts for the quantity of documents skipped, used in training, or available for testing.", "name": "data_counts", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsStatsDataCounts", "namespace": "ml._types" } } }, { "description": "The unique identifier of the data frame analytics job.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "An object describing memory usage of the analytics. It is present only after the job is started and memory usage is reported.", "name": "memory_usage", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsStatsMemoryUsage", "namespace": "ml._types" } } }, { "availability": { "stack": {} }, "description": "Contains properties for the node that runs the job. This information is available only for running jobs.", "name": "node", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeAttributes", "namespace": "_types" } } }, { "description": "The progress report of the data frame analytics job by phase.", "name": "progress", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsStatsProgress", "namespace": "ml._types" } } } }, { "description": "The status of the data frame analytics job, which can be one of the following values: failed, started, starting, stopping, stopped.", "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeState", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L324-L344" }, { "kind": "interface", "name": { "name": "DataframeAnalyticsAuthorization", "namespace": "ml._types" }, "properties": [ { "description": "If an API key was used for the most recent update to the job, its name and identifier are listed in the response.", "name": "api_key", "required": false, "type": { "kind": "instance_of", "type": { "name": "ApiKeyAuthorization", "namespace": "ml._types" } } }, { "description": "If a user ID was used for the most recent update to the job, its roles at the time of the update are listed in the response.", "name": "roles", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "If a service account was used for the most recent update to the job, the account name is listed in the response.", "name": "service_account", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/Authorization.ts#L45-L57" }, { "kind": "interface", "name": { "name": "DataframeAnalyticsDestination", "namespace": "ml._types" }, "properties": [ { "description": "Defines the destination index to store the results of the data frame analytics job.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Defines the name of the field in which to store the results of the analysis. Defaults to `ml`.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L77-L82" }, { "kind": "interface", "name": { "name": "DataframeAnalyticsFieldSelection", "namespace": "ml._types" }, "properties": [ { "description": "Whether the field is selected to be included in the analysis.", "name": "is_included", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Whether the field is required.", "name": "is_required", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The feature type of this field for the analysis. May be categorical or numerical.", "name": "feature_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The mapping types of the field.", "name": "mapping_types", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "The field name.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The reason a field is not selected to be included in the analysis.", "name": "reason", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L55-L68" }, { "kind": "interface", "name": { "name": "DataframeAnalyticsMemoryEstimation", "namespace": "ml._types" }, "properties": [ { "description": "Estimated memory usage under the assumption that overflowing to disk is allowed during data frame analytics. expected_memory_with_disk is usually smaller than expected_memory_without_disk as using disk allows to limit the main memory needed to perform data frame analytics.", "name": "expected_memory_with_disk", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Estimated memory usage under the assumption that the whole data frame analytics should happen in memory (i.e. without overflowing to disk).", "name": "expected_memory_without_disk", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L70-L75" }, { "kind": "interface", "name": { "name": "DataframeAnalyticsSource", "namespace": "ml._types" }, "properties": [ { "description": "Index or indices on which to perform the analysis. It can be a single index or index pattern as well as an array of indices or patterns. NOTE: If your source indices contain documents with the same IDs, only the document that is indexed last appears in the destination index.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "The Elasticsearch query domain-specific language (DSL). This value corresponds to the query object in an Elasticsearch search POST body. All the options that are supported by Elasticsearch can be used, as this object is passed verbatim to Elasticsearch. By default, this property has the following value: {\"match_all\": {}}.", "docId": "query-dsl", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl.html", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Definitions of runtime fields that will become part of the mapping of the destination index.", "name": "runtime_mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } }, { "description": "Specify `includes` and/or `excludes patterns to select which fields will be present in the destination. Fields that are excluded cannot be included in the analysis.", "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisAnalyzedFields", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L39-L53" }, { "kind": "interface", "name": { "name": "DataframeAnalyticsStatsContainer", "namespace": "ml._types" }, "properties": [ { "description": "An object containing information about the classification analysis job.", "name": "classification_stats", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsStatsHyperparameters", "namespace": "ml._types" } } }, { "description": "An object containing information about the outlier detection job.", "name": "outlier_detection_stats", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsStatsOutlierDetection", "namespace": "ml._types" } } }, { "description": "An object containing information about the regression analysis.", "name": "regression_stats", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsStatsHyperparameters", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L373-L381", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "DataframeAnalyticsStatsDataCounts", "namespace": "ml._types" }, "properties": [ { "description": "The number of documents that are skipped during the analysis because they contained values that are not supported by the analysis. For example, outlier detection does not support missing fields so it skips documents with missing fields. Likewise, all types of analysis skip documents that contain arrays with more than one element.", "name": "skipped_docs_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of documents that are not used for training the model and can be used for testing.", "name": "test_docs_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of documents that are used for training the model.", "name": "training_docs_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L364-L371" }, { "kind": "interface", "name": { "name": "DataframeAnalyticsStatsHyperparameters", "namespace": "ml._types" }, "properties": [ { "description": "An object containing the parameters of the classification analysis job.", "name": "hyperparameters", "required": true, "type": { "kind": "instance_of", "type": { "name": "Hyperparameters", "namespace": "ml._types" } } }, { "description": "The number of iterations on the analysis.", "name": "iteration", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The timestamp when the statistics were reported in milliseconds since the epoch.", "name": "timestamp", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "An object containing time statistics about the data frame analytics job.", "name": "timing_stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "TimingStats", "namespace": "ml._types" } } }, { "description": "An object containing information about validation loss.", "name": "validation_loss", "required": true, "type": { "kind": "instance_of", "type": { "name": "ValidationLoss", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L383-L402" }, { "kind": "interface", "name": { "name": "DataframeAnalyticsStatsMemoryUsage", "namespace": "ml._types" }, "properties": [ { "description": "This value is present when the status is hard_limit and it is a new estimate of how much memory the job needs.", "name": "memory_reestimate_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The number of bytes used at the highest peak of memory usage.", "name": "peak_usage_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The memory usage status.", "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The timestamp when memory usage was calculated.", "name": "timestamp", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L353-L362" }, { "kind": "interface", "name": { "name": "DataframeAnalyticsStatsOutlierDetection", "namespace": "ml._types" }, "properties": [ { "description": "The list of job parameters specified by the user or determined by algorithmic heuristics.", "name": "parameters", "required": true, "type": { "kind": "instance_of", "type": { "name": "OutlierDetectionParameters", "namespace": "ml._types" } } }, { "description": "The timestamp when the statistics were reported in milliseconds since the epoch.", "name": "timestamp", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "An object containing time statistics about the data frame analytics job.", "name": "timing_stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "TimingStats", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L404-L417" }, { "kind": "interface", "name": { "name": "DataframeAnalyticsStatsProgress", "namespace": "ml._types" }, "properties": [ { "description": "Defines the phase of the data frame analytics job.", "name": "phase", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The progress that the data frame analytics job has made expressed in percentage.", "name": "progress_percent", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L346-L351" }, { "kind": "interface", "name": { "name": "DataframeAnalyticsSummary", "namespace": "ml._types" }, "properties": [ { "name": "allow_lazy_start", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "analysis", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisContainer", "namespace": "ml._types" } } }, { "name": "analyzed_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisAnalyzedFields", "namespace": "ml._types" } } }, { "description": "The security privileges that the job uses to run its queries. If Elastic Stack security features were disabled at the time of the most recent update to the job, this property is omitted.", "name": "authorization", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsAuthorization", "namespace": "ml._types" } } }, { "name": "create_time", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "dest", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsDestination", "namespace": "ml._types" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "max_num_threads", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "model_memory_limit", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "source", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsSource", "namespace": "ml._types" } } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L306-L322" }, { "kind": "interface", "name": { "name": "DataframeEvaluationClassification", "namespace": "ml._types" }, "properties": [ { "description": "The field of the index which contains the ground truth. The data type of this field can be boolean or integer. If the data type is integer, the value has to be either 0 (false) or 1 (true).", "name": "actual_field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The field in the index which contains the predicted value, in other words the results of the classification analysis.", "name": "predicted_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The field of the index which is an array of documents of the form { \"class_name\": XXX, \"class_probability\": YYY }. This field must be defined as nested in the mappings.", "name": "top_classes_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Specifies the metrics that are used for the evaluation.", "name": "metrics", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeEvaluationClassificationMetrics", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/DataframeEvaluation.ts#L35-L44" }, { "inherits": { "type": { "name": "DataframeEvaluationMetrics", "namespace": "ml._types" } }, "kind": "interface", "name": { "name": "DataframeEvaluationClassificationMetrics", "namespace": "ml._types" }, "properties": [ { "description": "Accuracy of predictions (per-class and overall).", "name": "accuracy", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "Multiclass confusion matrix.", "name": "multiclass_confusion_matrix", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ], "specLocation": "ml/_types/DataframeEvaluation.ts#L73-L78" }, { "kind": "interface", "name": { "name": "DataframeEvaluationClassificationMetricsAucRoc", "namespace": "ml._types" }, "properties": [ { "description": "Name of the only class that is treated as positive during AUC ROC calculation. Other classes are treated as negative (\"one-vs-all\" strategy). All the evaluated documents must have class_name in the list of their top classes.", "name": "class_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Whether or not the curve should be returned in addition to the score. Default value is false.", "name": "include_curve", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/DataframeEvaluation.ts#L85-L90" }, { "kind": "interface", "name": { "name": "DataframeEvaluationContainer", "namespace": "ml._types" }, "properties": [ { "description": "Classification evaluation evaluates the results of a classification analysis which outputs a prediction that identifies to which of the classes each document belongs.", "name": "classification", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeEvaluationClassification", "namespace": "ml._types" } } }, { "description": "Outlier detection evaluates the results of an outlier detection analysis which outputs the probability that each document is an outlier.", "name": "outlier_detection", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeEvaluationOutlierDetection", "namespace": "ml._types" } } }, { "description": "Regression evaluation evaluates the results of a regression analysis which outputs a prediction of values.", "name": "regression", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeEvaluationRegression", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/DataframeEvaluation.ts#L25-L33", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "DataframeEvaluationMetrics", "namespace": "ml._types" }, "properties": [ { "description": "The AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve. It is calculated for a specific class (provided as \"class_name\") treated as positive.", "name": "auc_roc", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeEvaluationClassificationMetricsAucRoc", "namespace": "ml._types" } } }, { "description": "Precision of predictions (per-class and average).", "name": "precision", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "Recall of predictions (per-class and average).", "name": "recall", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ], "specLocation": "ml/_types/DataframeEvaluation.ts#L64-L71" }, { "kind": "interface", "name": { "name": "DataframeEvaluationOutlierDetection", "namespace": "ml._types" }, "properties": [ { "description": "The field of the index which contains the ground truth. The data type of this field can be boolean or integer. If the data type is integer, the value has to be either 0 (false) or 1 (true).", "name": "actual_field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The field of the index that defines the probability of whether the item belongs to the class in question or not. It’s the field that contains the results of the analysis.", "name": "predicted_probability_field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Specifies the metrics that are used for the evaluation.", "name": "metrics", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeEvaluationOutlierDetectionMetrics", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/DataframeEvaluation.ts#L46-L53" }, { "inherits": { "type": { "name": "DataframeEvaluationMetrics", "namespace": "ml._types" } }, "kind": "interface", "name": { "name": "DataframeEvaluationOutlierDetectionMetrics", "namespace": "ml._types" }, "properties": [ { "description": "Accuracy of predictions (per-class and overall).", "name": "confusion_matrix", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ], "specLocation": "ml/_types/DataframeEvaluation.ts#L80-L83" }, { "kind": "interface", "name": { "name": "DataframeEvaluationRegression", "namespace": "ml._types" }, "properties": [ { "description": "The field of the index which contains the ground truth. The data type of this field must be numerical.", "name": "actual_field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The field in the index that contains the predicted value, in other words the results of the regression analysis.", "name": "predicted_field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Specifies the metrics that are used for the evaluation. For more information on mse, msle, and huber, consult the Jupyter notebook on regression loss functions.", "name": "metrics", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeEvaluationRegressionMetrics", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/DataframeEvaluation.ts#L55-L62" }, { "kind": "interface", "name": { "name": "DataframeEvaluationRegressionMetrics", "namespace": "ml._types" }, "properties": [ { "description": "Average squared difference between the predicted values and the actual (ground truth) value. For more information, read this wiki article.", "docUrl": "https://en.wikipedia.org/wiki/Mean_squared_error", "name": "mse", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "Average squared difference between the logarithm of the predicted values and the logarithm of the actual (ground truth) value.", "name": "msle", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeEvaluationRegressionMetricsMsle", "namespace": "ml._types" } } }, { "description": "Pseudo Huber loss function.", "docUrl": "https://en.wikipedia.org/wiki/Huber_loss#Pseudo-Huber_loss_function", "name": "huber", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeEvaluationRegressionMetricsHuber", "namespace": "ml._types" } } }, { "description": "Proportion of the variance in the dependent variable that is predictable from the independent variables.", "docUrl": "https://en.wikipedia.org/wiki/Coefficient_of_determination", "name": "r_squared", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ], "specLocation": "ml/_types/DataframeEvaluation.ts#L92-L110" }, { "kind": "interface", "name": { "name": "DataframeEvaluationRegressionMetricsHuber", "namespace": "ml._types" }, "properties": [ { "description": "Approximates 1/2 (prediction - actual)2 for values much less than delta and approximates a straight line with slope delta for values much larger than delta. Defaults to 1. Delta needs to be greater than 0.", "name": "delta", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/_types/DataframeEvaluation.ts#L117-L120" }, { "kind": "interface", "name": { "name": "DataframeEvaluationRegressionMetricsMsle", "namespace": "ml._types" }, "properties": [ { "description": "Defines the transition point at which you switch from minimizing quadratic error to minimizing quadratic log error. Defaults to 1.", "name": "offset", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/_types/DataframeEvaluation.ts#L112-L115" }, { "kind": "enum", "members": [ { "name": "started" }, { "name": "stopped" }, { "name": "starting" }, { "name": "stopping" }, { "name": "failed" } ], "name": { "name": "DataframeState", "namespace": "ml._types" }, "specLocation": "ml/_types/Dataframe.ts#L20-L26" }, { "kind": "interface", "name": { "name": "DelayedDataCheckConfig", "namespace": "ml._types" }, "properties": [ { "description": "The window of time that is searched for late data. This window of time ends with the latest finalized bucket.\nIt defaults to null, which causes an appropriate `check_window` to be calculated when the real-time datafeed runs.\nIn particular, the default `check_window` span calculation is based on the maximum of `2h` or `8 * bucket_span`.", "name": "check_window", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Specifies whether the datafeed periodically checks for delayed data.", "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/Datafeed.ts#L118-L129" }, { "kind": "enum", "members": [ { "description": "The trained model is started on at least one node.", "name": "started" }, { "description": "Trained model deployment is starting but it is not yet deployed on any nodes.", "name": "starting" }, { "description": "Trained model deployment has started on all valid nodes.", "name": "fully_allocated" } ], "name": { "name": "DeploymentAllocationState", "namespace": "ml._types" }, "specLocation": "ml/_types/TrainedModel.ts#L289-L302" }, { "kind": "enum", "members": [ { "name": "starting" }, { "name": "started" }, { "name": "stopping" }, { "name": "failed" } ], "name": { "name": "DeploymentAssignmentState", "namespace": "ml._types" }, "specLocation": "ml/_types/TrainedModel.ts#L304-L309" }, { "kind": "enum", "members": [ { "description": "The deployment is usable; at least one node has the model allocated.", "name": "started" }, { "description": "The deployment has recently started but is not yet usable; the model is not allocated on any nodes.", "name": "starting" }, { "description": "The deployment is preparing to stop and deallocate the model from the relevant nodes.", "name": "stopping" } ], "name": { "name": "DeploymentState", "namespace": "ml._types" }, "specLocation": "ml/_types/TrainedModel.ts#L274-L287" }, { "kind": "interface", "name": { "name": "DetectionRule", "namespace": "ml._types" }, "properties": [ { "description": "The set of actions to be triggered when the rule applies. If more than one action is specified the effects of all actions are combined.", "name": "actions", "required": false, "serverDefault": [ "skip_result" ], "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RuleAction", "namespace": "ml._types" } } } }, { "description": "An array of numeric conditions when the rule applies. A rule must either have a non-empty scope or at least one condition. Multiple conditions are combined together with a logical AND.", "name": "conditions", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RuleCondition", "namespace": "ml._types" } } } }, { "description": "A scope of series where the rule applies. A rule must either have a non-empty scope or at least one condition. By default, the scope includes all series. Scoping is allowed for any of the fields that are also specified in `by_field_name`, `over_field_name`, or `partition_field_name`.", "name": "scope", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "FilterRef", "namespace": "ml._types" } } } } ], "specLocation": "ml/_types/Rule.ts#L25-L39" }, { "kind": "interface", "name": { "name": "Detector", "namespace": "ml._types" }, "properties": [ { "description": "The field used to split the data. In particular, this property is used for analyzing the splits with respect to their own history. It is used for finding unusual values in the context of the split.", "name": "by_field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Custom rules enable you to customize the way detectors operate. For example, a rule may dictate conditions under which results should be skipped. Kibana refers to custom rules as job rules.", "name": "custom_rules", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DetectionRule", "namespace": "ml._types" } } } }, { "description": "A description of the detector.", "name": "detector_description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A unique identifier for the detector. This identifier is based on the order of the detectors in the `analysis_config`, starting at zero. If you specify a value for this property, it is ignored.", "name": "detector_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "If set, frequent entities are excluded from influencing the anomaly results. Entities can be considered frequent over time or frequent in a population. If you are working with both over and by fields, you can set `exclude_frequent` to `all` for both fields, or to `by` or `over` for those specific fields.", "name": "exclude_frequent", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExcludeFrequent", "namespace": "ml._types" } } }, { "description": "The field that the detector uses in the function. If you use an event rate function such as count or rare, do not specify this field. The `field_name` cannot contain double quotes or backslashes.", "name": "field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The analysis function that is used. For example, `count`, `rare`, `mean`, `min`, `max`, or `sum`.", "name": "function", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The field used to split the data. In particular, this property is used for analyzing the splits with respect to the history of all splits. It is used for finding unusual values in the population of all splits.", "name": "over_field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The field used to segment the analysis. When you use this property, you have completely independent baselines for each value of this field.", "name": "partition_field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Defines whether a new series is used as the null series when there is no value for the by or partition fields.", "name": "use_null", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/Detector.ts#L25-L67" }, { "attachedBehaviors": [ "OverloadOf" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "Detector", "namespace": "ml._types" } } ], "type": { "name": "OverloadOf", "namespace": "_spec_utils" } } ], "kind": "interface", "name": { "name": "DetectorRead", "namespace": "ml._types" }, "properties": [ { "description": "The field used to split the data.\nIn particular, this property is used for analyzing the splits with respect to their own history.\nIt is used for finding unusual values in the context of the split.", "name": "by_field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "An array of custom rule objects, which enable you to customize the way detectors operate.\nFor example, a rule may dictate to the detector conditions under which results should be skipped.\nKibana refers to custom rules as job rules.", "name": "custom_rules", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DetectionRule", "namespace": "ml._types" } } } }, { "description": "A description of the detector.", "name": "detector_description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A unique identifier for the detector.\nThis identifier is based on the order of the detectors in the `analysis_config`, starting at zero.", "name": "detector_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Contains one of the following values: `all`, `none`, `by`, or `over`.\nIf set, frequent entities are excluded from influencing the anomaly results.\nEntities can be considered frequent over time or frequent in a population.\nIf you are working with both over and by fields, then you can set `exclude_frequent` to all for both fields, or to `by` or `over` for those specific fields.", "name": "exclude_frequent", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExcludeFrequent", "namespace": "ml._types" } } }, { "description": "The field that the detector uses in the function.\nIf you use an event rate function such as `count` or `rare`, do not specify this field.", "name": "field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The analysis function that is used.\nFor example, `count`, `rare`, `mean`, `min`, `max`, and `sum`.", "docId": "ml-functions", "docUrl": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-functions.html", "name": "function", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The field used to split the data.\nIn particular, this property is used for analyzing the splits with respect to the history of all splits.\nIt is used for finding unusual values in the population of all splits.", "name": "over_field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The field used to segment the analysis.\nWhen you use this property, you have completely independent baselines for each value of this field.", "name": "partition_field_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Defines whether a new series is used as the null series when there is no value for the by or partition fields.", "name": "use_null", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/Detector.ts#L69-L125" }, { "kind": "interface", "name": { "name": "DiscoveryNode", "namespace": "ml._types" }, "properties": [ { "name": "attributes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "ephemeral_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "transport_address", "required": true, "type": { "kind": "instance_of", "type": { "name": "TransportAddress", "namespace": "_types" } } } ], "specLocation": "ml/_types/DiscoveryNode.ts#L24-L30" }, { "kind": "enum", "members": [ { "name": "all" }, { "name": "none" }, { "name": "by" }, { "name": "over" } ], "name": { "name": "ExcludeFrequent", "namespace": "ml._types" }, "specLocation": "ml/_types/Detector.ts#L127-L132" }, { "description": "Fill mask inference options", "kind": "interface", "name": { "name": "FillMaskInferenceOptions", "namespace": "ml._types" }, "properties": [ { "description": "The string/token which will be removed from incoming documents and replaced with the inference prediction(s).\nIn a response, this field contains the mask token for the specified model/tokenizer. Each model and tokenizer\nhas a predefined mask token which cannot be changed. Thus, it is recommended not to set this value in requests.\nHowever, if this field is present in a request, its value must match the predefined value for that model/tokenizer,\notherwise the request will fail.", "name": "mask_token", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Specifies the number of top class predictions to return. Defaults to 0.", "name": "num_top_classes", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The tokenization options to update when inferring", "name": "tokenization", "required": false, "type": { "kind": "instance_of", "type": { "name": "TokenizationConfigContainer", "namespace": "ml._types" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/inference.ts#L266-L280" }, { "kind": "interface", "name": { "name": "FillMaskInferenceUpdateOptions", "namespace": "ml._types" }, "properties": [ { "description": "Specifies the number of top class predictions to return. Defaults to 0.", "name": "num_top_classes", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The tokenization options to update when inferring", "name": "tokenization", "required": false, "type": { "kind": "instance_of", "type": { "name": "NlpTokenizationUpdateOptions", "namespace": "ml._types" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/inference.ts#L411-L418" }, { "kind": "interface", "name": { "name": "Filter", "namespace": "ml._types" }, "properties": [ { "description": "A description of the filter.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A string that uniquely identifies a filter.", "name": "filter_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "An array of strings which is the filter item list.", "name": "items", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "ml/_types/Filter.ts#L22-L29" }, { "kind": "interface", "name": { "name": "FilterRef", "namespace": "ml._types" }, "properties": [ { "description": "The identifier for the filter.", "name": "filter_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "If set to `include`, the rule applies for values in the filter. If set to `exclude`, the rule applies for values not in the filter.", "name": "filter_type", "required": false, "serverDefault": "include", "type": { "kind": "instance_of", "type": { "name": "FilterType", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/Filter.ts#L31-L41" }, { "kind": "enum", "members": [ { "name": "include" }, { "name": "exclude" } ], "name": { "name": "FilterType", "namespace": "ml._types" }, "specLocation": "ml/_types/Filter.ts#L43-L46" }, { "kind": "interface", "name": { "name": "GeoResults", "namespace": "ml._types" }, "properties": [ { "description": "The actual value for the bucket formatted as a `geo_point`.", "name": "actual_point", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The typical value for the bucket formatted as a `geo_point`.", "name": "typical_point", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/Anomaly.ts#L145-L154" }, { "kind": "interface", "name": { "name": "Hyperparameter", "namespace": "ml._types" }, "properties": [ { "description": "A positive number showing how much the parameter influences the variation of the loss function. For hyperparameters with values that are not specified by the user but tuned during hyperparameter optimization.", "docId": "ml-regression-loss", "docUrl": "https://www.elastic.co/guide/en/machine-learning/{branch}/dfa-regression-lossfunction.html", "name": "absolute_importance", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Name of the hyperparameter.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "A number between 0 and 1 showing the proportion of influence on the variation of the loss function among all tuned hyperparameters. For hyperparameters with values that are not specified by the user but tuned during hyperparameter optimization.", "name": "relative_importance", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Indicates if the hyperparameter is specified by the user (true) or optimized (false).", "name": "supplied", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The value of the hyperparameter, either optimized or specified by the user.", "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/_types/TrainedModel.ts#L217-L231" }, { "kind": "interface", "name": { "name": "Hyperparameters", "namespace": "ml._types" }, "properties": [ { "description": "Advanced configuration option.\nMachine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly.\nThis parameter affects loss calculations by acting as a multiplier of the tree depth.\nHigher alpha values result in shallower trees and faster training times.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to zero.", "name": "alpha", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Advanced configuration option.\nRegularization parameter to prevent overfitting on the training data set.\nMultiplies an L2 regularization term which applies to leaf weights of the individual trees in the forest.\nA high lambda value causes training to favor small leaf weights.\nThis behavior makes the prediction function smoother at the expense of potentially not being able to capture relevant relationships between the features and the dependent variable.\nA small lambda value results in large individual trees and slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a nonnegative value.", "name": "lambda", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Advanced configuration option.\nRegularization parameter to prevent overfitting on the training data set.\nMultiplies a linear penalty associated with the size of individual trees in the forest.\nA high gamma value causes training to prefer small trees.\nA small gamma value results in larger individual trees and slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a nonnegative value.", "name": "gamma", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Advanced configuration option.\nThe shrinkage applied to the weights.\nSmaller values result in larger forests which have a better generalization error.\nHowever, larger forests cause slower training.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be a value between `0.001` and `1`.", "name": "eta", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Advanced configuration option.\nSpecifies the rate at which `eta` increases for each new tree that is added to the forest.\nFor example, a rate of 1.05 increases `eta` by 5% for each extra tree.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be between `0.5` and `2`.", "name": "eta_growth_rate_per_tree", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Advanced configuration option.\nDefines the fraction of features that will be used when selecting a random bag for each candidate split.\nBy default, this value is calculated during hyperparameter optimization.", "name": "feature_bag_fraction", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Advanced configuration option.\nControls the fraction of data that is used to compute the derivatives of the loss function for tree training.\nA small value results in the use of a small fraction of the data.\nIf this value is set to be less than 1, accuracy typically improves.\nHowever, too small a value may result in poor convergence for the ensemble and so require more trees.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than zero and less than or equal to 1.", "name": "downsample_factor", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "If the algorithm fails to determine a non-trivial tree (more than a single leaf), this parameter determines how many of such consecutive failures are tolerated.\nOnce the number of attempts exceeds the threshold, the forest training stops.", "name": "max_attempts_to_add_tree", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Advanced configuration option.\nA multiplier responsible for determining the maximum number of hyperparameter optimization steps in the Bayesian optimization procedure.\nThe maximum number of steps is determined based on the number of undefined hyperparameters times the maximum optimization rounds per hyperparameter.\nBy default, this value is calculated during hyperparameter optimization.", "name": "max_optimization_rounds_per_hyperparameter", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Advanced configuration option.\nDefines the maximum number of decision trees in the forest.\nThe maximum value is 2000.\nBy default, this value is calculated during hyperparameter optimization.", "name": "max_trees", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The maximum number of folds for the cross-validation procedure.", "name": "num_folds", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Determines the maximum number of splits for every feature that can occur in a decision tree when the tree is trained.", "name": "num_splits_per_feature", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Advanced configuration option.\nMachine learning uses loss guided tree growing, which means that the decision trees grow where the regularized loss decreases most quickly.\nThis soft limit combines with the `soft_tree_depth_tolerance` to penalize trees that exceed the specified depth; the regularized loss increases quickly beyond this depth.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to 0.", "name": "soft_tree_depth_limit", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Advanced configuration option.\nThis option controls how quickly the regularized loss increases when the tree depth exceeds `soft_tree_depth_limit`.\nBy default, this value is calculated during hyperparameter optimization.\nIt must be greater than or equal to 0.01.", "name": "soft_tree_depth_tolerance", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L419-L525" }, { "kind": "enum", "members": [ { "description": "Includes the model definition.", "name": "definition" }, { "description": "Includes the baseline for feature importance values.", "name": "feature_importance_baseline" }, { "description": "Includes the information about hyperparameters used to train the model.\nThis information consists of the value, the absolute and relative\nimportance of the hyperparameter as well as an indicator of whether it was\nspecified by the user or tuned during hyperparameter optimization.", "name": "hyperparameters" }, { "description": "Includes the total feature importance for the training data set. The\nbaseline and total feature importance values are returned in the metadata\nfield in the response body.", "name": "total_feature_importance" }, { "description": "Includes the model definition status.", "name": "definition_status" } ], "name": { "name": "Include", "namespace": "ml._types" }, "specLocation": "ml/_types/Include.ts#L20-L47" }, { "description": "Inference configuration provided when storing the model config", "kind": "interface", "name": { "name": "InferenceConfigCreateContainer", "namespace": "ml._types" }, "properties": [ { "description": "Regression configuration for inference.", "name": "regression", "required": false, "type": { "kind": "instance_of", "type": { "name": "RegressionInferenceOptions", "namespace": "ml._types" } } }, { "description": "Classification configuration for inference.", "name": "classification", "required": false, "type": { "kind": "instance_of", "type": { "name": "ClassificationInferenceOptions", "namespace": "ml._types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.0.0" } }, "description": "Text classification configuration for inference.", "name": "text_classification", "required": false, "since": "8.0.0", "type": { "kind": "instance_of", "type": { "name": "TextClassificationInferenceOptions", "namespace": "ml._types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.0.0" } }, "description": "Zeroshot classification configuration for inference.", "name": "zero_shot_classification", "required": false, "since": "8.0.0", "type": { "kind": "instance_of", "type": { "name": "ZeroShotClassificationInferenceOptions", "namespace": "ml._types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.0.0" } }, "description": "Fill mask configuration for inference.", "name": "fill_mask", "required": false, "since": "8.0.0", "type": { "kind": "instance_of", "type": { "name": "FillMaskInferenceOptions", "namespace": "ml._types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.0.0" } }, "description": "Named entity recognition configuration for inference.", "name": "ner", "required": false, "since": "8.0.0", "type": { "kind": "instance_of", "type": { "name": "NerInferenceOptions", "namespace": "ml._types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.0.0" } }, "description": "Pass through configuration for inference.", "name": "pass_through", "required": false, "since": "8.0.0", "type": { "kind": "instance_of", "type": { "name": "PassThroughInferenceOptions", "namespace": "ml._types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.0.0" } }, "description": "Text embedding configuration for inference.", "name": "text_embedding", "required": false, "since": "8.0.0", "type": { "kind": "instance_of", "type": { "name": "TextEmbeddingInferenceOptions", "namespace": "ml._types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.8.0" } }, "description": "Text expansion configuration for inference.", "name": "text_expansion", "required": false, "since": "8.8.0", "type": { "kind": "instance_of", "type": { "name": "TextExpansionInferenceOptions", "namespace": "ml._types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.3.0" } }, "description": "Question answering configuration for inference.", "name": "question_answering", "required": false, "since": "8.3.0", "type": { "kind": "instance_of", "type": { "name": "QuestionAnsweringInferenceOptions", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/inference.ts#L23-L80", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "InferenceConfigUpdateContainer", "namespace": "ml._types" }, "properties": [ { "description": "Regression configuration for inference.", "name": "regression", "required": false, "type": { "kind": "instance_of", "type": { "name": "RegressionInferenceOptions", "namespace": "ml._types" } } }, { "description": "Classification configuration for inference.", "name": "classification", "required": false, "type": { "kind": "instance_of", "type": { "name": "ClassificationInferenceOptions", "namespace": "ml._types" } } }, { "description": "Text classification configuration for inference.", "name": "text_classification", "required": false, "type": { "kind": "instance_of", "type": { "name": "TextClassificationInferenceUpdateOptions", "namespace": "ml._types" } } }, { "description": "Zeroshot classification configuration for inference.", "name": "zero_shot_classification", "required": false, "type": { "kind": "instance_of", "type": { "name": "ZeroShotClassificationInferenceUpdateOptions", "namespace": "ml._types" } } }, { "description": "Fill mask configuration for inference.", "name": "fill_mask", "required": false, "type": { "kind": "instance_of", "type": { "name": "FillMaskInferenceUpdateOptions", "namespace": "ml._types" } } }, { "description": "Named entity recognition configuration for inference.", "name": "ner", "required": false, "type": { "kind": "instance_of", "type": { "name": "NerInferenceUpdateOptions", "namespace": "ml._types" } } }, { "description": "Pass through configuration for inference.", "name": "pass_through", "required": false, "type": { "kind": "instance_of", "type": { "name": "PassThroughInferenceUpdateOptions", "namespace": "ml._types" } } }, { "description": "Text embedding configuration for inference.", "name": "text_embedding", "required": false, "type": { "kind": "instance_of", "type": { "name": "TextEmbeddingInferenceUpdateOptions", "namespace": "ml._types" } } }, { "description": "Text expansion configuration for inference.", "name": "text_expansion", "required": false, "type": { "kind": "instance_of", "type": { "name": "TextExpansionInferenceUpdateOptions", "namespace": "ml._types" } } }, { "description": "Question answering configuration for inference", "name": "question_answering", "required": false, "type": { "kind": "instance_of", "type": { "name": "QuestionAnsweringInferenceUpdateOptions", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/inference.ts#L296-L318", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "InferenceResponseResult", "namespace": "ml._types" }, "properties": [ { "description": "If the model is trained for named entity recognition (NER) tasks, the response contains the recognized entities.", "name": "entities", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TrainedModelEntities", "namespace": "ml._types" } } } }, { "description": "Indicates whether the input text was truncated to meet the model's maximum sequence length limit. This property\nis present only when it is true.", "name": "is_truncated", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If the model is trained for a text classification or zero shot classification task, the response is the\npredicted class.\nFor named entity recognition (NER) tasks, it contains the annotated text output.\nFor fill mask tasks, it contains the top prediction for replacing the mask token.\nFor text embedding tasks, it contains the raw numerical text embedding values.\nFor regression models, its a numerical value\nFor classification models, it may be an integer, double, boolean or string depending on prediction type", "name": "predicted_value", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "PredictedValue", "namespace": "ml._types" } } } }, { "description": "For fill mask tasks, the response contains the input text sequence with the mask token replaced by the predicted\nvalue.\nAdditionally", "name": "predicted_value_sequence", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Specifies a probability for the predicted value.", "name": "prediction_probability", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Specifies a confidence score for the predicted value.", "name": "prediction_score", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "For fill mask, text classification, and zero shot classification tasks, the response contains a list of top\nclass entries.", "name": "top_classes", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TopClassEntry", "namespace": "ml._types" } } } }, { "description": "If the request failed, the response contains the reason for the failure.", "name": "warning", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The feature importance for the inference results. Relevant only for classification or regression models", "name": "feature_importance", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TrainedModelInferenceFeatureImportance", "namespace": "ml._types" } } } } ], "specLocation": "ml/_types/inference.ts#L459-L506" }, { "kind": "interface", "name": { "name": "Influence", "namespace": "ml._types" }, "properties": [ { "name": "influencer_field_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "influencer_field_values", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "ml/_types/Anomaly.ts#L140-L143" }, { "kind": "interface", "name": { "name": "Influencer", "namespace": "ml._types" }, "properties": [ { "description": "The length of the bucket in seconds. This value matches the bucket span that is specified in the job.", "name": "bucket_span", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitSeconds", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "A normalized score between 0-100, which is based on the probability of the influencer in this bucket aggregated\nacross detectors. Unlike `initial_influencer_score`, this value is updated by a re-normalization process as new\ndata is analyzed.", "name": "influencer_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "The field name of the influencer.", "name": "influencer_field_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The entity that influenced, contributed to, or was to blame for the anomaly.", "name": "influencer_field_value", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A normalized score between 0-100, which is based on the probability of the influencer aggregated across detectors.\nThis is the initial value that was calculated at the time the bucket was processed.", "name": "initial_influencer_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", "name": "is_interim", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The probability that the influencer has this behavior, in the range 0 to 1. This value can be held to a high\nprecision of over 300 decimal places, so the `influencer_score` is provided as a human-readable and friendly\ninterpretation of this value.", "name": "probability", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Internal. This value is always set to `influencer`.", "name": "result_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The start time of the bucket for which these results were calculated.", "name": "timestamp", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "Additional influencer properties are added, depending on the fields being analyzed. For example, if it’s\nanalyzing `user_name` as an influencer, a field `user_name` is added to the result document. This\ninformation enables you to filter the anomaly results more easily.", "name": "foo", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/Influencer.ts#L31-L83" }, { "kind": "interface", "name": { "name": "Job", "namespace": "ml._types" }, "properties": [ { "description": "Advanced configuration option.\nSpecifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node.", "name": "allow_lazy_open", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The analysis configuration, which specifies how to analyze the data.\nAfter you create a job, you cannot change the analysis configuration; all the properties are informational.", "name": "analysis_config", "required": true, "type": { "kind": "instance_of", "type": { "name": "AnalysisConfig", "namespace": "ml._types" } } }, { "description": "Limits can be applied for the resources required to hold the mathematical models in memory.\nThese limits are approximate and can be set per job.\nThey do not control the memory used by other processes, for example the Elasticsearch Java processes.", "name": "analysis_limits", "required": false, "type": { "kind": "instance_of", "type": { "name": "AnalysisLimits", "namespace": "ml._types" } } }, { "description": "Advanced configuration option.\nThe time between each periodic persistence of the model.\nThe default value is a randomized value between 3 to 4 hours, which avoids all jobs persisting at exactly the same time.\nThe smallest allowed value is 1 hour.", "name": "background_persist_interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "blocked", "required": false, "type": { "kind": "instance_of", "type": { "name": "JobBlocked", "namespace": "ml._types" } } }, { "name": "create_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Advanced configuration option.\nContains custom metadata about the job.", "name": "custom_settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "CustomSettings", "namespace": "ml._types" } } }, { "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies a period of time (in days) after which only the first snapshot per day is retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nValid values range from 0 to `model_snapshot_retention_days`.", "name": "daily_model_snapshot_retention_after_days", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The data description defines the format of the input data when you send data to the job by using the post data API.\nNote that when configuring a datafeed, these properties are automatically set.\nWhen data is received via the post data API, it is not stored in Elasticsearch.\nOnly the results for anomaly detection are retained.", "name": "data_description", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataDescription", "namespace": "ml._types" } } }, { "description": "The datafeed, which retrieves data from Elasticsearch for analysis by the job.\nYou can associate only one datafeed with each anomaly detection job.", "name": "datafeed_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "Datafeed", "namespace": "ml._types" } } }, { "description": "Indicates that the process of deleting the job is in progress but not yet completed.\nIt is only reported when `true`.", "name": "deleting", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "A description of the job.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If the job closed or failed, this is the time the job finished, otherwise it is `null`.\nThis property is informational; you cannot change its value.", "name": "finished_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "A list of job groups.\nA job can belong to no groups or many.", "name": "groups", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Identifier for the anomaly detection job.\nThis identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores.\nIt must start and end with alphanumeric characters.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Reserved for future use, currently set to `anomaly_detector`.", "name": "job_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The machine learning configuration version number at which the the job was created.", "name": "job_version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "description": "This advanced configuration option stores model information along with the results.\nIt provides a more detailed view into anomaly detection.\nModel plot provides a simplified and indicative view of the model and its bounds.", "name": "model_plot_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "ModelPlotConfig", "namespace": "ml._types" } } }, { "name": "model_snapshot_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies the maximum period of time (in days) that snapshots are retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nBy default, snapshots ten days older than the newest snapshot are deleted.", "name": "model_snapshot_retention_days", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Advanced configuration option.\nThe period over which adjustments to the score are applied, as new data is seen.\nThe default value is the longer of 30 days or 100 `bucket_spans`.", "name": "renormalization_window_days", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "A text string that affects the name of the machine learning results index.\nThe default value is `shared`, which generates an index named `.ml-anomalies-shared`.", "name": "results_index_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Advanced configuration option.\nThe period of time (in days) that results are retained.\nAge is calculated relative to the timestamp of the latest bucket result.\nIf this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch.\nThe default value is null, which means all results are retained.\nAnnotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results.\nAnnotations added by users are retained forever.", "name": "results_retention_days", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "ml/_types/Job.ts#L61-L180" }, { "kind": "interface", "name": { "name": "JobBlocked", "namespace": "ml._types" }, "properties": [ { "name": "reason", "required": true, "type": { "kind": "instance_of", "type": { "name": "JobBlockedReason", "namespace": "ml._types" } } }, { "name": "task_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "TaskId", "namespace": "_types" } } } ], "specLocation": "ml/_types/Job.ts#L392-L395" }, { "kind": "enum", "members": [ { "name": "delete" }, { "name": "reset" }, { "name": "revert" } ], "name": { "name": "JobBlockedReason", "namespace": "ml._types" }, "specLocation": "ml/_types/Job.ts#L397-L401" }, { "kind": "interface", "name": { "name": "JobConfig", "namespace": "ml._types" }, "properties": [ { "description": "Advanced configuration option. Specifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node.", "docId": "ml-put-job", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-put-job.html", "name": "allow_lazy_open", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The analysis configuration, which specifies how to analyze the data.\nAfter you create a job, you cannot change the analysis configuration; all the properties are informational.", "name": "analysis_config", "required": true, "type": { "kind": "instance_of", "type": { "name": "AnalysisConfig", "namespace": "ml._types" } } }, { "description": "Limits can be applied for the resources required to hold the mathematical models in memory.\nThese limits are approximate and can be set per job.\nThey do not control the memory used by other processes, for example the Elasticsearch Java processes.", "name": "analysis_limits", "required": false, "type": { "kind": "instance_of", "type": { "name": "AnalysisLimits", "namespace": "ml._types" } } }, { "description": "Advanced configuration option.\nThe time between each periodic persistence of the model.\nThe default value is a randomized value between 3 to 4 hours, which avoids all jobs persisting at exactly the same time.\nThe smallest allowed value is 1 hour.", "name": "background_persist_interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Advanced configuration option.\nContains custom metadata about the job.", "name": "custom_settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "CustomSettings", "namespace": "ml._types" } } }, { "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies a period of time (in days) after which only the first snapshot per day is retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.", "name": "daily_model_snapshot_retention_after_days", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The data description defines the format of the input data when you send data to the job by using the post data API.\nNote that when configure a datafeed, these properties are automatically set.", "name": "data_description", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataDescription", "namespace": "ml._types" } } }, { "description": "The datafeed, which retrieves data from Elasticsearch for analysis by the job.\nYou can associate only one datafeed with each anomaly detection job.", "name": "datafeed_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "DatafeedConfig", "namespace": "ml._types" } } }, { "description": "A description of the job.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A list of job groups. A job can belong to no groups or many.", "name": "groups", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Identifier for the anomaly detection job.\nThis identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores.\nIt must start and end with alphanumeric characters.", "name": "job_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Reserved for future use, currently set to `anomaly_detector`.", "name": "job_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "This advanced configuration option stores model information along with the results.\nIt provides a more detailed view into anomaly detection.\nModel plot provides a simplified and indicative view of the model and its bounds.", "name": "model_plot_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "ModelPlotConfig", "namespace": "ml._types" } } }, { "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job.\nIt specifies the maximum period of time (in days) that snapshots are retained.\nThis period is relative to the timestamp of the most recent snapshot for this job.\nThe default value is `10`, which means snapshots ten days older than the newest snapshot are deleted.", "name": "model_snapshot_retention_days", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Advanced configuration option.\nThe period over which adjustments to the score are applied, as new data is seen.\nThe default value is the longer of 30 days or 100 `bucket_spans`.", "name": "renormalization_window_days", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "A text string that affects the name of the machine learning results index.\nThe default value is `shared`, which generates an index named `.ml-anomalies-shared`.", "name": "results_index_name", "required": false, "serverDefault": "shared", "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Advanced configuration option.\nThe period of time (in days) that results are retained.\nAge is calculated relative to the timestamp of the latest bucket result.\nIf this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch.\nThe default value is null, which means all results are retained.\nAnnotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results.\nAnnotations added by users are retained forever.", "name": "results_retention_days", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "ml/_types/Job.ts#L182-L283" }, { "kind": "interface", "name": { "name": "JobForecastStatistics", "namespace": "ml._types" }, "properties": [ { "name": "memory_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "JobStatistics", "namespace": "ml._types" } } }, { "name": "processing_time_ms", "required": false, "type": { "kind": "instance_of", "type": { "name": "JobStatistics", "namespace": "ml._types" } } }, { "name": "records", "required": false, "type": { "kind": "instance_of", "type": { "name": "JobStatistics", "namespace": "ml._types" } } }, { "name": "status", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "forecasted_jobs", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/Job.ts#L343-L350" }, { "kind": "enum", "members": [ { "description": "The job close action is in progress and has not yet completed. A closing job cannot accept further data.", "name": "closing" }, { "description": "The job finished successfully with its model state persisted. The job must be opened before it can accept further data.", "name": "closed" }, { "description": "The job is available to receive and process data.", "name": "opened" }, { "description": "The job did not finish successfully due to an error.\nThis situation can occur due to invalid input data, a fatal error occurring during the analysis, or an external interaction such as the process being killed by the Linux out of memory (OOM) killer.\nIf the job had irrevocably failed, it must be force closed and then deleted.\nIf the datafeed can be corrected, the job can be closed and then re-opened.", "name": "failed" }, { "description": "The job open action is in progress and has not yet completed.", "name": "opening" } ], "name": { "name": "JobState", "namespace": "ml._types" }, "specLocation": "ml/_types/Job.ts#L36-L52" }, { "kind": "interface", "name": { "name": "JobStatistics", "namespace": "ml._types" }, "properties": [ { "name": "avg", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "max", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "min", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/_types/Job.ts#L54-L59" }, { "kind": "interface", "name": { "name": "JobStats", "namespace": "ml._types" }, "properties": [ { "description": "For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.", "name": "assignment_explanation", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "An object that describes the quantity of input to the job and any related error counts.\nThe `data_count` values are cumulative for the lifetime of a job.\nIf a model snapshot is reverted or old results are deleted, the job counts are not reset.", "name": "data_counts", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataCounts", "namespace": "ml._types" } } }, { "description": "An object that provides statistical information about forecasts belonging to this job.\nSome statistics are omitted if no forecasts have been made.", "name": "forecasts_stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "JobForecastStatistics", "namespace": "ml._types" } } }, { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "An object that provides information about the size and contents of the model.", "name": "model_size_stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "ModelSizeStats", "namespace": "ml._types" } } }, { "availability": { "stack": {} }, "description": "Contains properties for the node that runs the job.\nThis information is available only for open jobs.", "name": "node", "required": false, "type": { "kind": "instance_of", "type": { "name": "DiscoveryNode", "namespace": "ml._types" } } }, { "description": "For open jobs only, the elapsed time for which the job has been open.", "name": "open_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "The status of the anomaly detection job, which can be one of the following values: `closed`, `closing`, `failed`, `opened`, `opening`.", "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "JobState", "namespace": "ml._types" } } }, { "description": "An object that provides statistical information about timing aspect of this job.", "name": "timing_stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "JobTimingStats", "namespace": "ml._types" } } }, { "description": "Indicates that the process of deleting the job is in progress but not yet completed. It is only reported when `true`.", "name": "deleting", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/Job.ts#L284-L330" }, { "kind": "interface", "name": { "name": "JobTimingStats", "namespace": "ml._types" }, "properties": [ { "name": "average_bucket_processing_time_ms", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitFloatMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "bucket_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "exponential_average_bucket_processing_time_ms", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitFloatMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "exponential_average_bucket_processing_time_per_hour_ms", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitFloatMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "total_bucket_processing_time_ms", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitFloatMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "maximum_bucket_processing_time_ms", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitFloatMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "minimum_bucket_processing_time_ms", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitFloatMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "ml/_types/Job.ts#L332-L341" }, { "kind": "enum", "members": [ { "name": "ok" }, { "name": "soft_limit" }, { "name": "hard_limit" } ], "name": { "name": "MemoryStatus", "namespace": "ml._types" }, "specLocation": "ml/_types/Model.ts#L88-L92" }, { "kind": "interface", "name": { "name": "ModelPlotConfig", "namespace": "ml._types" }, "properties": [ { "availability": { "serverless": {}, "stack": { "since": "7.9.0" } }, "description": "If true, enables calculation and storage of the model change annotations for each entity that is being analyzed.", "name": "annotations_enabled", "required": false, "serverDefault": true, "since": "7.9.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, enables calculation and storage of the model bounds for each entity that is being analyzed.", "name": "enabled", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.9.0" } }, "description": "Limits data collection to this comma separated list of partition or by field values. If terms are not specified or it is an empty string, no filtering is applied. Wildcards are not supported. Only the specified terms can be viewed when using the Single Metric Viewer.", "name": "terms", "required": false, "since": "7.9.0", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "ml/_types/ModelPlot.ts#L23-L42" }, { "kind": "interface", "name": { "name": "ModelSizeStats", "namespace": "ml._types" }, "properties": [ { "name": "bucket_allocation_failures_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "log_time", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "memory_status", "required": true, "type": { "kind": "instance_of", "type": { "name": "MemoryStatus", "namespace": "ml._types" } } }, { "name": "model_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "model_bytes_exceeded", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "model_bytes_memory_limit", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "peak_model_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "assignment_memory_basis", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "result_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "total_by_field_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_over_field_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_partition_field_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "categorization_status", "required": true, "type": { "kind": "instance_of", "type": { "name": "CategorizationStatus", "namespace": "ml._types" } } }, { "name": "categorized_doc_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "dead_category_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "failed_category_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "frequent_category_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "rare_category_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "total_category_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "ml/_types/Model.ts#L59-L81" }, { "kind": "interface", "name": { "name": "ModelSnapshot", "namespace": "ml._types" }, "properties": [ { "description": "An optional description of the job.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A numerical character string that uniquely identifies the job that the snapshot was created for.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The timestamp of the latest processed record.", "name": "latest_record_time_stamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The timestamp of the latest bucket result.", "name": "latest_result_time_stamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The minimum version required to be able to restore the model snapshot.", "name": "min_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "description": "Summary information describing the model.", "name": "model_size_stats", "required": false, "type": { "kind": "instance_of", "type": { "name": "ModelSizeStats", "namespace": "ml._types" } } }, { "description": "If true, this snapshot will not be deleted during automatic cleanup of snapshots older than model_snapshot_retention_days. However, this snapshot will be deleted when the job is deleted. The default value is false.", "name": "retain", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "For internal use only.", "name": "snapshot_doc_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "A numerical character string that uniquely identifies the model snapshot.", "name": "snapshot_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The creation timestamp for the snapshot.", "name": "timestamp", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "ml/_types/Model.ts#L25-L46" }, { "kind": "interface", "name": { "name": "ModelSnapshotUpgrade", "namespace": "ml._types" }, "properties": [ { "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "snapshot_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "SnapshotUpgradeState", "namespace": "ml._types" } } }, { "availability": { "stack": {} }, "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "DiscoveryNode", "namespace": "ml._types" } } }, { "name": "assignment_explanation", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/Model.ts#L48-L57" }, { "description": "Named entity recognition options", "kind": "interface", "name": { "name": "NerInferenceOptions", "namespace": "ml._types" }, "properties": [ { "description": "The tokenization options", "name": "tokenization", "required": false, "type": { "kind": "instance_of", "type": { "name": "TokenizationConfigContainer", "namespace": "ml._types" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The token classification labels. Must be IOB formatted tags", "name": "classification_labels", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "vocabulary", "required": false, "type": { "kind": "instance_of", "type": { "name": "Vocabulary", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/inference.ts#L255-L264" }, { "kind": "interface", "name": { "name": "NerInferenceUpdateOptions", "namespace": "ml._types" }, "properties": [ { "description": "The tokenization options to update when inferring", "name": "tokenization", "required": false, "type": { "kind": "instance_of", "type": { "name": "NlpTokenizationUpdateOptions", "namespace": "ml._types" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/inference.ts#L404-L409" }, { "description": "BERT and MPNet tokenization configuration options", "kind": "interface", "name": { "name": "NlpBertTokenizationConfig", "namespace": "ml._types" }, "properties": [ { "description": "Should the tokenizer lower case the text", "name": "do_lower_case", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Is tokenization completed with special tokens", "name": "with_special_tokens", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Maximum input sequence length for the model", "name": "max_sequence_length", "required": false, "serverDefault": 512, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Should tokenization input be automatically truncated before sending to the model for inference", "name": "truncate", "required": false, "serverDefault": "first", "type": { "kind": "instance_of", "type": { "name": "TokenizationTruncate", "namespace": "ml._types" } } }, { "description": "Tokenization spanning options. Special value of -1 indicates no spanning takes place", "name": "span", "required": false, "serverDefault": -1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/inference.ts#L131-L158" }, { "description": "RoBERTa tokenization configuration options", "kind": "interface", "name": { "name": "NlpRobertaTokenizationConfig", "namespace": "ml._types" }, "properties": [ { "description": "Should the tokenizer prefix input with a space character", "name": "add_prefix_space", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Is tokenization completed with special tokens", "name": "with_special_tokens", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Maximum input sequence length for the model", "name": "max_sequence_length", "required": false, "serverDefault": 512, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Should tokenization input be automatically truncated before sending to the model for inference", "name": "truncate", "required": false, "serverDefault": "first", "type": { "kind": "instance_of", "type": { "name": "TokenizationTruncate", "namespace": "ml._types" } } }, { "description": "Tokenization spanning options. Special value of -1 indicates no spanning takes place", "name": "span", "required": false, "serverDefault": -1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/inference.ts#L160-L187" }, { "kind": "interface", "name": { "name": "NlpTokenizationUpdateOptions", "namespace": "ml._types" }, "properties": [ { "description": "Truncate options to apply", "name": "truncate", "required": false, "type": { "kind": "instance_of", "type": { "name": "TokenizationTruncate", "namespace": "ml._types" } } }, { "description": "Span options to apply", "name": "span", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/inference.ts#L356-L361" }, { "kind": "interface", "name": { "name": "OutlierDetectionParameters", "namespace": "ml._types" }, "properties": [ { "description": "Specifies whether the feature influence calculation is enabled.", "name": "compute_feature_influence", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The minimum outlier score that a document needs to have in order to calculate its feature influence score.\nValue range: 0-1", "name": "feature_influence_threshold", "required": false, "serverDefault": 0.1, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "The method that outlier detection uses.\nAvailable methods are `lof`, `ldof`, `distance_kth_nn`, `distance_knn`, and `ensemble`.\nThe default value is ensemble, which means that outlier detection uses an ensemble of different methods and normalises and combines their individual outlier scores to obtain the overall outlier score.", "name": "method", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Defines the value for how many nearest neighbors each method of outlier detection uses to calculate its outlier score.\nWhen the value is not set, different values are used for different ensemble members.\nThis default behavior helps improve the diversity in the ensemble; only override it if you are confident that the value you choose is appropriate for the data set.", "name": "n_neighbors", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The proportion of the data set that is assumed to be outlying prior to outlier detection.\nFor example, 0.05 means it is assumed that 5% of values are real outliers and 95% are inliers.", "name": "outlier_fraction", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "If `true`, the following operation is performed on the columns before computing outlier scores: (x_i - mean(x_i)) / sd(x_i).", "name": "standardization_enabled", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L527-L561" }, { "kind": "interface", "name": { "name": "OverallBucket", "namespace": "ml._types" }, "properties": [ { "description": "The length of the bucket in seconds. Matches the job with the longest bucket_span value.", "name": "bucket_span", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitSeconds", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "If true, this is an interim result. In other words, the results are calculated based on partial input data.", "name": "is_interim", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "An array of objects that contain the max_anomaly_score per job_id.", "name": "jobs", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "OverallBucketJob", "namespace": "ml._types" } } } }, { "description": "The top_n average of the maximum bucket anomaly_score per job.", "name": "overall_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Internal. This is always set to overall_bucket.", "name": "result_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The start time of the bucket for which these results were calculated.", "name": "timestamp", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "The start time of the bucket for which these results were calculated.", "name": "timestamp_string", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "ml/_types/Bucket.ts#L130-L145" }, { "kind": "interface", "name": { "name": "OverallBucketJob", "namespace": "ml._types" }, "properties": [ { "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "max_anomaly_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/_types/Bucket.ts#L146-L149" }, { "kind": "interface", "name": { "name": "Page", "namespace": "ml._types" }, "properties": [ { "description": "Skips the specified number of items.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the maximum number of items to obtain.", "name": "size", "required": false, "serverDefault": 10000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/Page.ts#L22-L33" }, { "description": "Pass through configuration options", "kind": "interface", "name": { "name": "PassThroughInferenceOptions", "namespace": "ml._types" }, "properties": [ { "description": "The tokenization options", "name": "tokenization", "required": false, "type": { "kind": "instance_of", "type": { "name": "TokenizationConfigContainer", "namespace": "ml._types" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "vocabulary", "required": false, "type": { "kind": "instance_of", "type": { "name": "Vocabulary", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/inference.ts#L224-L231" }, { "kind": "interface", "name": { "name": "PassThroughInferenceUpdateOptions", "namespace": "ml._types" }, "properties": [ { "description": "The tokenization options to update when inferring", "name": "tokenization", "required": false, "type": { "kind": "instance_of", "type": { "name": "NlpTokenizationUpdateOptions", "namespace": "ml._types" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/inference.ts#L385-L390" }, { "kind": "interface", "name": { "name": "PerPartitionCategorization", "namespace": "ml._types" }, "properties": [ { "description": "To enable this setting, you must also set the `partition_field_name` property to the same value in every detector that uses the keyword `mlcategory`. Otherwise, job creation fails.", "name": "enabled", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "This setting can be set to true only if per-partition categorization is enabled. If true, both categorization and subsequent anomaly detection stops for partitions where the categorization status changes to warn. This setting makes it viable to have a job where it is expected that categorization works well for some partitions but not others; you do not pay the cost of bad categorization forever in the partitions where it works badly.", "name": "stop_on_warn", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/Analysis.ts#L150-L159" }, { "kind": "type_alias", "name": { "name": "PredictedValue", "namespace": "ml._types" }, "specLocation": "ml/_types/inference.ts#L457-L457", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } ], "kind": "union_of" } }, { "description": "Question answering inference options", "kind": "interface", "name": { "name": "QuestionAnsweringInferenceOptions", "namespace": "ml._types" }, "properties": [ { "description": "Specifies the number of top class predictions to return. Defaults to 0.", "name": "num_top_classes", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The tokenization options to update when inferring", "name": "tokenization", "required": false, "type": { "kind": "instance_of", "type": { "name": "TokenizationConfigContainer", "namespace": "ml._types" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The maximum answer length to consider", "name": "max_answer_length", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/inference.ts#L282-L292" }, { "kind": "interface", "name": { "name": "QuestionAnsweringInferenceUpdateOptions", "namespace": "ml._types" }, "properties": [ { "description": "The question to answer given the inference context", "name": "question", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Specifies the number of top class predictions to return. Defaults to 0.", "name": "num_top_classes", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The tokenization options to update when inferring", "name": "tokenization", "required": false, "type": { "kind": "instance_of", "type": { "name": "NlpTokenizationUpdateOptions", "namespace": "ml._types" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The maximum answer length to consider for extraction", "name": "max_answer_length", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/inference.ts#L420-L431" }, { "kind": "interface", "name": { "name": "RegressionInferenceOptions", "namespace": "ml._types" }, "properties": [ { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Specifies the maximum number of feature importance values per document.", "docId": "ml-feature-importance", "docUrl": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-feature-importance.html", "name": "num_top_feature_importance_values", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/inference.ts#L82-L91" }, { "kind": "enum", "members": [ { "description": "The allocation attempt failed.", "name": "failed" }, { "description": "The trained model is allocated and ready to accept inference requests.", "name": "started" }, { "description": "The trained model is attempting to allocate on this node; inference requests are not yet accepted.", "name": "starting" }, { "description": "The trained model is fully deallocated from this node.", "name": "stopped" }, { "description": "The trained model is being deallocated from this node.", "name": "stopping" } ], "name": { "name": "RoutingState", "namespace": "ml._types" }, "specLocation": "ml/_types/TrainedModel.ts#L351-L372" }, { "kind": "enum", "members": [ { "description": "The result will not be created. Unless you also specify `skip_model_update`, the model will be updated as usual with the corresponding series value.", "name": "skip_result" }, { "description": "The value for that series will not be used to update the model. Unless you also specify `skip_result`, the results will be created as usual. This action is suitable when certain values are expected to be consistently anomalous and they affect the model in a way that negatively impacts the rest of the results.", "name": "skip_model_update" } ], "name": { "name": "RuleAction", "namespace": "ml._types" }, "specLocation": "ml/_types/Rule.ts#L41-L50" }, { "kind": "interface", "name": { "name": "RuleCondition", "namespace": "ml._types" }, "properties": [ { "description": "Specifies the result property to which the condition applies. If your detector uses `lat_long`, `metric`, `rare`, or `freq_rare` functions, you can only specify conditions that apply to time.", "name": "applies_to", "required": true, "type": { "kind": "instance_of", "type": { "name": "AppliesTo", "namespace": "ml._types" } } }, { "description": "Specifies the condition operator. The available options are greater than, greater than or equals, less than, and less than or equals.", "name": "operator", "required": true, "type": { "kind": "instance_of", "type": { "name": "ConditionOperator", "namespace": "ml._types" } } }, { "description": "The value that is compared against the `applies_to` field using the operator.", "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/_types/Rule.ts#L52-L65" }, { "kind": "interface", "name": { "name": "RunningStateSearchInterval", "namespace": "ml._types" }, "properties": [ { "description": "The end time.", "name": "end", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The end time as an epoch in milliseconds.", "name": "end_ms", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "The start time.", "name": "start", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The start time as an epoch in milliseconds.", "name": "start_ms", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "ml/_types/Datafeed.ts#L213-L230" }, { "kind": "enum", "members": [ { "name": "loading_old_state" }, { "name": "saving_new_state" }, { "name": "stopped" }, { "name": "failed" } ], "name": { "name": "SnapshotUpgradeState", "namespace": "ml._types" }, "specLocation": "ml/_types/Model.ts#L94-L99" }, { "description": "Text classification configuration options", "kind": "interface", "name": { "name": "TextClassificationInferenceOptions", "namespace": "ml._types" }, "properties": [ { "description": "Specifies the number of top class predictions to return. Defaults to 0.", "name": "num_top_classes", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The tokenization options", "name": "tokenization", "required": false, "type": { "kind": "instance_of", "type": { "name": "TokenizationConfigContainer", "namespace": "ml._types" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Classification labels to apply other than the stored labels. Must have the same deminsions as the default configured labels", "name": "classification_labels", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "ml/_types/inference.ts#L189-L199" }, { "kind": "interface", "name": { "name": "TextClassificationInferenceUpdateOptions", "namespace": "ml._types" }, "properties": [ { "description": "Specifies the number of top class predictions to return. Defaults to 0.", "name": "num_top_classes", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The tokenization options to update when inferring", "name": "tokenization", "required": false, "type": { "kind": "instance_of", "type": { "name": "NlpTokenizationUpdateOptions", "namespace": "ml._types" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Classification labels to apply other than the stored labels. Must have the same deminsions as the default configured labels", "name": "classification_labels", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "ml/_types/inference.ts#L363-L372" }, { "description": "Text embedding inference options", "kind": "interface", "name": { "name": "TextEmbeddingInferenceOptions", "namespace": "ml._types" }, "properties": [ { "description": "The number of dimensions in the embedding output", "name": "embedding_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The tokenization options", "name": "tokenization", "required": false, "type": { "kind": "instance_of", "type": { "name": "TokenizationConfigContainer", "namespace": "ml._types" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/inference.ts#L237-L245" }, { "kind": "interface", "name": { "name": "TextEmbeddingInferenceUpdateOptions", "namespace": "ml._types" }, "properties": [ { "name": "tokenization", "required": false, "type": { "kind": "instance_of", "type": { "name": "NlpTokenizationUpdateOptions", "namespace": "ml._types" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/inference.ts#L392-L396" }, { "description": "Text expansion inference options", "kind": "interface", "name": { "name": "TextExpansionInferenceOptions", "namespace": "ml._types" }, "properties": [ { "description": "The tokenization options", "name": "tokenization", "required": false, "type": { "kind": "instance_of", "type": { "name": "TokenizationConfigContainer", "namespace": "ml._types" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/inference.ts#L247-L253" }, { "kind": "interface", "name": { "name": "TextExpansionInferenceUpdateOptions", "namespace": "ml._types" }, "properties": [ { "name": "tokenization", "required": false, "type": { "kind": "instance_of", "type": { "name": "NlpTokenizationUpdateOptions", "namespace": "ml._types" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/inference.ts#L398-L402" }, { "kind": "interface", "name": { "name": "TimingStats", "namespace": "ml._types" }, "properties": [ { "description": "Runtime of the analysis in milliseconds.", "name": "elapsed_time", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "Runtime of the latest iteration of the analysis in milliseconds.", "name": "iteration_time", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L563-L568" }, { "description": "Tokenization options stored in inference configuration", "kind": "interface", "name": { "name": "TokenizationConfigContainer", "namespace": "ml._types" }, "properties": [ { "description": "Indicates BERT tokenization and its options", "name": "bert", "required": false, "type": { "kind": "instance_of", "type": { "name": "NlpBertTokenizationConfig", "namespace": "ml._types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.1.0" } }, "description": "Indicates MPNET tokenization and its options", "name": "mpnet", "required": false, "since": "8.1.0", "type": { "kind": "instance_of", "type": { "name": "NlpBertTokenizationConfig", "namespace": "ml._types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.2.0" } }, "description": "Indicates RoBERTa tokenization and its options", "name": "roberta", "required": false, "since": "8.2.0", "type": { "kind": "instance_of", "type": { "name": "NlpRobertaTokenizationConfig", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/inference.ts#L110-L129", "variants": { "kind": "container" } }, { "kind": "enum", "members": [ { "name": "first" }, { "name": "second" }, { "name": "none" } ], "name": { "name": "TokenizationTruncate", "namespace": "ml._types" }, "specLocation": "ml/_types/inference.ts#L350-L354" }, { "kind": "interface", "name": { "name": "TopClassEntry", "namespace": "ml._types" }, "properties": [ { "name": "class_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "class_probability", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "class_score", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/_types/inference.ts#L440-L444" }, { "kind": "interface", "name": { "name": "TotalFeatureImportance", "namespace": "ml._types" }, "properties": [ { "description": "The feature for which this importance was calculated.", "name": "feature_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "A collection of feature importance statistics related to the training data set for this particular feature.", "name": "importance", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TotalFeatureImportanceStatistics", "namespace": "ml._types" } } } }, { "description": "If the trained model is a classification model, feature importance statistics are gathered per target class value.", "name": "classes", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TotalFeatureImportanceClass", "namespace": "ml._types" } } } } ], "specLocation": "ml/_types/TrainedModel.ts#L233-L240" }, { "kind": "interface", "name": { "name": "TotalFeatureImportanceClass", "namespace": "ml._types" }, "properties": [ { "description": "The target class value. Could be a string, boolean, or number.", "name": "class_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "A collection of feature importance statistics related to the training data set for this particular feature.", "name": "importance", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TotalFeatureImportanceStatistics", "namespace": "ml._types" } } } } ], "specLocation": "ml/_types/TrainedModel.ts#L242-L247" }, { "kind": "interface", "name": { "name": "TotalFeatureImportanceStatistics", "namespace": "ml._types" }, "properties": [ { "description": "The average magnitude of this feature across all the training data. This value is the average of the absolute values of the importance for this feature.", "name": "mean_magnitude", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "The maximum importance value across all the training data for this feature.", "name": "max", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The minimum importance value across all the training data for this feature.", "name": "min", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/TrainedModel.ts#L249-L256" }, { "kind": "interface", "name": { "name": "TrainedModelAssignment", "namespace": "ml._types" }, "properties": [ { "description": "The overall assignment state.", "name": "assignment_state", "required": true, "type": { "kind": "instance_of", "type": { "name": "DeploymentAssignmentState", "namespace": "ml._types" } } }, { "name": "max_assigned_allocations", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The allocation state for each node.", "name": "routing_table", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "TrainedModelAssignmentRoutingTable", "namespace": "ml._types" } } } }, { "description": "The timestamp when the deployment started.", "name": "start_time", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "task_parameters", "required": true, "type": { "kind": "instance_of", "type": { "name": "TrainedModelAssignmentTaskParameters", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/TrainedModel.ts#L403-L418" }, { "kind": "interface", "name": { "name": "TrainedModelAssignmentRoutingTable", "namespace": "ml._types" }, "properties": [ { "description": "The reason for the current state. It is usually populated only when the\n`routing_state` is `failed`.", "name": "reason", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The current routing state.", "name": "routing_state", "required": true, "type": { "kind": "instance_of", "type": { "name": "RoutingState", "namespace": "ml._types" } } }, { "description": "Current number of allocations.", "name": "current_allocations", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Target number of allocations.", "name": "target_allocations", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/TrainedModel.ts#L374-L392" }, { "kind": "interface", "name": { "name": "TrainedModelAssignmentTaskParameters", "namespace": "ml._types" }, "properties": [ { "description": "The size of the trained model in bytes.", "name": "model_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The unique identifier for the trained model.", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The unique identifier for the trained model deployment.", "name": "deployment_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.4.0" } }, "description": "The size of the trained model cache.", "name": "cache_size", "required": true, "since": "8.4.0", "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "The total number of allocations this model is assigned across ML nodes.", "name": "number_of_allocations", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "priority", "required": true, "type": { "kind": "instance_of", "type": { "name": "TrainingPriority", "namespace": "ml._types" } } }, { "description": "Number of inference requests are allowed in the queue at a time.", "name": "queue_capacity", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Number of threads per allocation.", "name": "threads_per_allocation", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/TrainedModel.ts#L316-L349" }, { "kind": "interface", "name": { "name": "TrainedModelConfig", "namespace": "ml._types" }, "properties": [ { "description": "Identifier for the trained model.", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The model type", "name": "model_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "TrainedModelType", "namespace": "ml._types" } } }, { "description": "A comma delimited string of tags. A trained model can have many tags, or none.", "name": "tags", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "The Elasticsearch version number in which the trained model was created.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "compressed_definition", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Information on the creator of the trained model.", "name": "created_by", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The time when the trained model was created.", "name": "create_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Any field map described in the inference configuration takes precedence.", "name": "default_field_map", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "The free-text description of the trained model.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The estimated heap usage in bytes to keep the trained model in memory.", "name": "estimated_heap_memory_usage_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The estimated number of operations to use the trained model.", "name": "estimated_operations", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "True if the full model definition is present.", "name": "fully_defined", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The default configuration for inference. This can be either a regression, classification, or one of the many NLP focused configurations. It must match the underlying definition.trained_model's target_type. For pre-packaged models such as ELSER the config is not required.", "name": "inference_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "InferenceConfigCreateContainer", "namespace": "ml._types" } } }, { "description": "The input field names for the model definition.", "name": "input", "required": true, "type": { "kind": "instance_of", "type": { "name": "TrainedModelConfigInput", "namespace": "ml._types" } } }, { "description": "The license level of the trained model.", "name": "license_level", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "An object containing metadata about the trained model. For example, models created by data frame analytics contain analysis_config and input objects.", "name": "metadata", "required": false, "type": { "kind": "instance_of", "type": { "name": "TrainedModelConfigMetadata", "namespace": "ml._types" } } }, { "name": "model_size_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "location", "required": false, "type": { "kind": "instance_of", "type": { "name": "TrainedModelLocation", "namespace": "ml._types" } } }, { "name": "prefix_strings", "required": false, "type": { "kind": "instance_of", "type": { "name": "TrainedModelPrefixStrings", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/TrainedModel.ts#L165-L200" }, { "kind": "interface", "name": { "name": "TrainedModelConfigInput", "namespace": "ml._types" }, "properties": [ { "description": "An array of input field names for the model.", "name": "field_names", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } } ], "specLocation": "ml/_types/TrainedModel.ts#L202-L205" }, { "kind": "interface", "name": { "name": "TrainedModelConfigMetadata", "namespace": "ml._types" }, "properties": [ { "name": "model_aliases", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "An object that contains the baseline for feature importance values. For regression analysis, it is a single value. For classification analysis, there is a value for each class.", "name": "feature_importance_baseline", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "List of the available hyperparameters optimized during the fine_parameter_tuning phase as well as specified by the user.", "name": "hyperparameters", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Hyperparameter", "namespace": "ml._types" } } } }, { "description": "An array of the total feature importance for each feature used from the training data set. This array of objects is returned if data frame analytics trained the model and the request includes total_feature_importance in the include request parameter.", "name": "total_feature_importance", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TotalFeatureImportance", "namespace": "ml._types" } } } } ], "specLocation": "ml/_types/TrainedModel.ts#L207-L215" }, { "kind": "interface", "name": { "name": "TrainedModelDeploymentAllocationStatus", "namespace": "ml._types" }, "properties": [ { "description": "The current number of nodes where the model is allocated.", "name": "allocation_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The detailed allocation state related to the nodes.", "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "DeploymentAllocationState", "namespace": "ml._types" } } }, { "description": "The desired number of nodes for model allocation.", "name": "target_allocation_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/TrainedModel.ts#L394-L401" }, { "kind": "interface", "name": { "name": "TrainedModelDeploymentNodesStats", "namespace": "ml._types" }, "properties": [ { "description": "The average time for each inference call to complete on this node.", "name": "average_inference_time_ms", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitFloatMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "The number of errors when evaluating the trained model.", "name": "error_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The total number of inference calls made against this node for this model.", "name": "inference_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The epoch time stamp of the last inference call for the model on this node.", "name": "last_access", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "availability": { "stack": {} }, "description": "Information pertaining to the node.", "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "DiscoveryNode", "namespace": "ml._types" } } }, { "description": "The number of allocations assigned to this node.", "name": "number_of_allocations", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of inference requests queued to be processed.", "name": "number_of_pending_requests", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of inference requests that were not processed because the queue was full.", "name": "rejection_execution_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The current routing state and reason for the current routing state for this allocation.", "name": "routing_state", "required": true, "type": { "kind": "instance_of", "type": { "name": "TrainedModelAssignmentRoutingTable", "namespace": "ml._types" } } }, { "description": "The epoch timestamp when the allocation started.", "name": "start_time", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "The number of threads used by each allocation during inference.", "name": "threads_per_allocation", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of inference requests that timed out before being processed.", "name": "timeout_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/TrainedModel.ts#L133-L163" }, { "kind": "interface", "name": { "name": "TrainedModelDeploymentStats", "namespace": "ml._types" }, "properties": [ { "description": "The detailed allocation status for the deployment.", "name": "allocation_status", "required": true, "type": { "kind": "instance_of", "type": { "name": "TrainedModelDeploymentAllocationStatus", "namespace": "ml._types" } } }, { "name": "cache_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "The unique identifier for the trained model deployment.", "name": "deployment_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The sum of `error_count` for all nodes in the deployment.", "name": "error_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The sum of `inference_count` for all nodes in the deployment.", "name": "inference_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The unique identifier for the trained model.", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The deployment stats for each node that currently has the model allocated.\nIn serverless, stats are reported for a single unnamed virtual node.", "name": "nodes", "required": true, "type": { "kind": "instance_of", "type": { "name": "TrainedModelDeploymentNodesStats", "namespace": "ml._types" } } }, { "description": "The number of allocations requested.", "name": "number_of_allocations", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of inference requests that can be queued before new requests are rejected.", "name": "queue_capacity", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The sum of `rejected_execution_count` for all nodes in the deployment.\nIndividual nodes reject an inference request if the inference queue is full.\nThe queue size is controlled by the `queue_capacity` setting in the start\ntrained model deployment API.", "name": "rejected_execution_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The reason for the current deployment state. Usually only populated when\nthe model is not deployed to a node.", "name": "reason", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The epoch timestamp when the deployment started.", "name": "start_time", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "The overall state of the deployment.", "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "DeploymentState", "namespace": "ml._types" } } }, { "description": "The number of threads used be each allocation during inference.", "name": "threads_per_allocation", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The sum of `timeout_count` for all nodes in the deployment.", "name": "timeout_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/TrainedModel.ts#L62-L102" }, { "kind": "interface", "name": { "name": "TrainedModelEntities", "namespace": "ml._types" }, "properties": [ { "name": "class_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "class_probability", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "entity", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "start_pos", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "end_pos", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/inference.ts#L433-L439" }, { "kind": "interface", "name": { "name": "TrainedModelInferenceClassImportance", "namespace": "ml._types" }, "properties": [ { "name": "class_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "importance", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/_types/inference.ts#L446-L449" }, { "kind": "interface", "name": { "name": "TrainedModelInferenceFeatureImportance", "namespace": "ml._types" }, "properties": [ { "name": "feature_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "importance", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "classes", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TrainedModelInferenceClassImportance", "namespace": "ml._types" } } } } ], "specLocation": "ml/_types/inference.ts#L451-L455" }, { "kind": "interface", "name": { "name": "TrainedModelInferenceStats", "namespace": "ml._types" }, "properties": [ { "description": "The number of times the model was loaded for inference and was not retrieved from the cache.\nIf this number is close to the `inference_count`, the cache is not being appropriately used.\nThis can be solved by increasing the cache size or its time-to-live (TTL).\nRefer to general machine learning settings for the appropriate settings.", "docId": "ml-settings", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html", "name": "cache_miss_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of failures when using the model for inference.", "name": "failure_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The total number of times the model has been called for inference.\nThis is across all inference contexts, including all pipelines.", "name": "inference_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of inference calls where all the training features for the model were missing.", "name": "missing_all_fields_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The time when the statistics were last updated.", "name": "timestamp", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "ml/_types/TrainedModel.ts#L104-L124" }, { "kind": "interface", "name": { "name": "TrainedModelLocation", "namespace": "ml._types" }, "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "TrainedModelLocationIndex", "namespace": "ml._types" } } } ], "specLocation": "ml/_types/TrainedModel.ts#L420-L422" }, { "kind": "interface", "name": { "name": "TrainedModelLocationIndex", "namespace": "ml._types" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "specLocation": "ml/_types/TrainedModel.ts#L424-L426" }, { "kind": "interface", "name": { "name": "TrainedModelPrefixStrings", "namespace": "ml._types" }, "properties": [ { "description": "String prepended to input at ingest", "name": "ingest", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "String prepended to input at search", "name": "search", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/TrainedModel.ts#L428-L437" }, { "kind": "interface", "name": { "name": "TrainedModelSizeStats", "namespace": "ml._types" }, "properties": [ { "description": "The size of the model in bytes.", "name": "model_size_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "The amount of memory required to load the model in bytes.", "name": "required_native_memory_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/TrainedModel.ts#L126-L131" }, { "kind": "interface", "name": { "name": "TrainedModelStats", "namespace": "ml._types" }, "properties": [ { "description": "A collection of deployment stats, which is present when the models are deployed.", "name": "deployment_stats", "required": false, "type": { "kind": "instance_of", "type": { "name": "TrainedModelDeploymentStats", "namespace": "ml._types" } } }, { "description": "A collection of inference stats fields.", "name": "inference_stats", "required": false, "type": { "kind": "instance_of", "type": { "name": "TrainedModelInferenceStats", "namespace": "ml._types" } } }, { "description": "A collection of ingest stats for the model across all nodes.\nThe values are summations of the individual node statistics.\nThe format matches the ingest section in the nodes stats API.", "docId": "cluster-nodes-stats", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html", "name": "ingest", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "The unique identifier of the trained model.", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "A collection of model size stats.", "name": "model_size_stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "TrainedModelSizeStats", "namespace": "ml._types" } } }, { "description": "The number of ingest pipelines that currently refer to the model.", "name": "pipeline_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/_types/TrainedModel.ts#L42-L60" }, { "kind": "enum", "members": [ { "description": "The model definition is an ensemble model of decision trees.", "name": "tree_ensemble" }, { "description": "A special type reserved for language identification models.", "name": "lang_ident" }, { "description": "The stored definition is a PyTorch (specifically a TorchScript) model.\nCurrently only NLP models are supported.", "name": "pytorch" } ], "name": { "name": "TrainedModelType", "namespace": "ml._types" }, "specLocation": "ml/_types/TrainedModel.ts#L258-L272" }, { "kind": "enum", "members": [ { "name": "normal" }, { "name": "low" } ], "name": { "name": "TrainingPriority", "namespace": "ml._types" }, "specLocation": "ml/_types/TrainedModel.ts#L311-L314" }, { "kind": "interface", "name": { "name": "TransformAuthorization", "namespace": "ml._types" }, "properties": [ { "description": "If an API key was used for the most recent update to the transform, its name and identifier are listed in the response.", "name": "api_key", "required": false, "type": { "kind": "instance_of", "type": { "name": "ApiKeyAuthorization", "namespace": "ml._types" } } }, { "description": "If a user ID was used for the most recent update to the transform, its roles at the time of the update are listed in the response.", "name": "roles", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "If a service account was used for the most recent update to the transform, the account name is listed in the response.", "name": "service_account", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/Authorization.ts#L59-L71" }, { "kind": "interface", "name": { "name": "ValidationLoss", "namespace": "ml._types" }, "properties": [ { "description": "Validation loss values for every added decision tree during the forest growing procedure.", "name": "fold_values", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "The type of the loss metric. For example, binomial_logistic.", "name": "loss_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/_types/DataframeAnalytics.ts#L570-L575" }, { "kind": "interface", "name": { "name": "Vocabulary", "namespace": "ml._types" }, "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "specLocation": "ml/_types/inference.ts#L233-L235" }, { "description": "Zero shot classification configuration options", "kind": "interface", "name": { "name": "ZeroShotClassificationInferenceOptions", "namespace": "ml._types" }, "properties": [ { "description": "The tokenization options to update when inferring", "name": "tokenization", "required": false, "type": { "kind": "instance_of", "type": { "name": "TokenizationConfigContainer", "namespace": "ml._types" } } }, { "description": "Hypothesis template used when tokenizing labels for prediction", "name": "hypothesis_template", "required": false, "serverDefault": "\"This example is {}.\"", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The zero shot classification labels indicating entailment, neutral, and contradiction\nMust contain exactly and only entailment, neutral, and contradiction", "name": "classification_labels", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Indicates if more than one true label exists.", "name": "multi_label", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The labels to predict.", "name": "labels", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "ml/_types/inference.ts#L201-L222" }, { "kind": "interface", "name": { "name": "ZeroShotClassificationInferenceUpdateOptions", "namespace": "ml._types" }, "properties": [ { "description": "The tokenization options to update when inferring", "name": "tokenization", "required": false, "type": { "kind": "instance_of", "type": { "name": "NlpTokenizationUpdateOptions", "namespace": "ml._types" } } }, { "description": "The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.", "name": "results_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Update the configured multi label option. Indicates if more than one true label exists. Defaults to the configured value.", "name": "multi_label", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The labels to predict.", "name": "labels", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "ml/_types/inference.ts#L374-L383" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Clears a trained model deployment cache on all nodes where the trained model is assigned.\nA trained model deployment may have an inference cache enabled.\nAs requests are handled by each allocated node, their responses may be cached on that individual node.\nCalling this API clears the caches without restarting the deployment.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.clear_trained_model_deployment_cache" }, "path": [ { "description": "The unique identifier of the trained model.", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/clear_trained_model_deployment_cache/MlClearTrainedModelDeploymentCacheRequest.ts#L25-L42" }, { "body": { "kind": "properties", "properties": [ { "name": "cleared", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.clear_trained_model_deployment_cache" }, "specLocation": "ml/clear_trained_model_deployment_cache/MlClearTrainedModelDeploymentCacheResponse.ts#L20-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Refer to the description for the `allow_no_match` query parameter.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Refer to the descriptiion for the `force` query parameter.", "name": "force", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Refer to the description for the `timeout` query parameter.", "name": "timeout", "required": false, "serverDefault": "30m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ] }, "description": "Closes one or more anomaly detection jobs.\nA job can be opened and closed multiple times throughout its lifecycle. A closed job cannot receive data or perform analysis operations, but you can still explore and navigate results.\nWhen you close a job, it runs housekeeping tasks such as pruning the model history, flushing buffers, calculating final results and persisting the model snapshots. Depending upon the size of the job, it could take several minutes to close and the equivalent time to re-open. After it is closed, the job has a minimal overhead on the cluster except for maintaining its meta data. Therefore it is a best practice to close jobs that are no longer required to process data.\nIf you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request.\nWhen a datafeed that has a specified end date stops, it automatically closes its associated job.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.close_job" }, "path": [ { "description": "Identifier for the anomaly detection job. It can be a job identifier, a group name, or a wildcard expression. You can close multiple anomaly detection jobs in a single API request by using a group name, a comma-separated list of jobs, or a wildcard expression. You can close all jobs by using `_all` or by specifying `*` as the job identifier.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request: contains wildcard expressions and there are no jobs that match; contains the `_all` string or no identifiers and there are no matches; or contains wildcard expressions and there are only partial matches. By default, it returns an empty jobs array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the request returns a 404 status code when there are no matches or only partial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Use to close a failed job, or to forcefully close a job which has not responded to its initial close request; the request returns without performing the associated actions such as flushing buffers and persisting the model snapshots.\nIf you want the job to be in a consistent state after the close job API returns, do not set to `true`. This parameter should be used only in situations where the job has already failed or where you are not interested in results the job might have recently produced or might produce in the future.", "name": "force", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Controls the time to wait until a job has closed.", "name": "timeout", "required": false, "serverDefault": "30m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ml/close_job/MlCloseJobRequest.ts#L24-L77" }, { "body": { "kind": "properties", "properties": [ { "name": "closed", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.close_job" }, "specLocation": "ml/close_job/MlCloseJobResponse.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Removes all scheduled events from a calendar, then deletes it.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.delete_calendar" }, "path": [ { "description": "A string that uniquely identifies a calendar.", "name": "calendar_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/delete_calendar/MlDeleteCalendarRequest.ts#L23-L36" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.delete_calendar" }, "specLocation": "ml/delete_calendar/MlDeleteCalendarResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes scheduled events from a calendar.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.delete_calendar_event" }, "path": [ { "description": "A string that uniquely identifies a calendar.", "name": "calendar_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Identifier for the scheduled event.\nYou can obtain this identifier by using the get calendar events API.", "name": "event_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/delete_calendar_event/MlDeleteCalendarEventRequest.ts#L23-L42" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.delete_calendar_event" }, "specLocation": "ml/delete_calendar_event/MlDeleteCalendarEventResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes anomaly detection jobs from a calendar.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.delete_calendar_job" }, "path": [ { "description": "A string that uniquely identifies a calendar.", "name": "calendar_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "An identifier for the anomaly detection jobs. It can be a job identifier, a group name, or a\ncomma-separated list of jobs or groups.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/delete_calendar_job/MlDeleteCalendarJobRequest.ts#L23-L43" }, { "body": { "kind": "properties", "properties": [ { "description": "A string that uniquely identifies a calendar.", "name": "calendar_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "A description of the calendar.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A list of anomaly detection job identifiers or group names.", "name": "job_ids", "required": true, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.delete_calendar_job" }, "specLocation": "ml/delete_calendar_job/MlDeleteCalendarJobResponse.ts#L22-L31" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes a data frame analytics job.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.delete_data_frame_analytics" }, "path": [ { "description": "Identifier for the data frame analytics job.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "If `true`, it deletes a job that is not stopped; this method is quicker than stopping and deleting the job.", "name": "force", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The time to wait for the job to be deleted.", "name": "timeout", "required": false, "serverDefault": "1m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ml/delete_data_frame_analytics/MlDeleteDataFrameAnalyticsRequest.ts#L24-L51" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.delete_data_frame_analytics" }, "specLocation": "ml/delete_data_frame_analytics/MlDeleteDataFrameAnalyticsResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes an existing datafeed.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.delete_datafeed" }, "path": [ { "description": "A numerical character string that uniquely identifies the datafeed. This\nidentifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It must start and end with alphanumeric\ncharacters.", "name": "datafeed_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Use to forcefully delete a started datafeed; this method is quicker than\nstopping and deleting the datafeed.", "name": "force", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/delete_datafeed/MlDeleteDatafeedRequest.ts#L23-L48" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.delete_datafeed" }, "specLocation": "ml/delete_datafeed/MlDeleteDatafeedResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The desired requests per second for the deletion processes. The default\nbehavior is no throttling.", "name": "requests_per_second", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "How long can the underlying delete processes run until they are canceled.", "name": "timeout", "required": false, "serverDefault": "8h", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ] }, "description": "Deletes expired and unused machine learning data.\nDeletes all job results, model snapshots and forecast data that have exceeded\ntheir retention days period. Machine learning state documents that are not\nassociated with any job are also deleted.\nYou can limit the request to a single or set of anomaly detection jobs by\nusing a job identifier, a group name, a comma-separated list of jobs, or a\nwildcard expression. You can delete expired data for all anomaly detection\njobs by using _all, by specifying * as the , or by omitting the\n.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.delete_expired_data" }, "path": [ { "description": "Identifier for an anomaly detection job. It can be a job identifier, a\ngroup name, or a wildcard expression.", "name": "job_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "The desired requests per second for the deletion processes. The default\nbehavior is no throttling.", "name": "requests_per_second", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "How long can the underlying delete processes run until they are canceled.", "name": "timeout", "required": false, "serverDefault": "8h", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ml/delete_expired_data/MlDeleteExpiredDataRequest.ts#L25-L72" }, { "body": { "kind": "properties", "properties": [ { "name": "deleted", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.delete_expired_data" }, "specLocation": "ml/delete_expired_data/MlDeleteExpiredDataResponse.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes a filter.\nIf an anomaly detection job references the filter, you cannot delete the\nfilter. You must update or delete the job before you can delete the filter.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.delete_filter" }, "path": [ { "description": "A string that uniquely identifies a filter.", "name": "filter_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/delete_filter/MlDeleteFilterRequest.ts#L23-L39" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.delete_filter" }, "specLocation": "ml/delete_filter/MlDeleteFilterResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes forecasts from a machine learning job.\nBy default, forecasts are retained for 14 days. You can specify a\ndifferent retention period with the `expires_in` parameter in the forecast\njobs API. The delete forecast API enables you to delete one or more\nforecasts before they expire.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.delete_forecast" }, "path": [ { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "A comma-separated list of forecast identifiers. If you do not specify\nthis optional parameter or if you specify `_all` or `*` the API deletes\nall forecasts from the job.", "name": "forecast_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies whether an error occurs when there are no forecasts. In\nparticular, if this parameter is set to `false` and there are no\nforecasts associated with the job, attempts to delete all forecasts\nreturn an error.", "name": "allow_no_forecasts", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies the period of time to wait for the completion of the delete\noperation. When this period of time elapses, the API fails and returns an\nerror.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ml/delete_forecast/MlDeleteForecastRequest.ts#L24-L65" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.delete_forecast" }, "specLocation": "ml/delete_forecast/MlDeleteForecastResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes an anomaly detection job.\n\nAll job configuration, model state and results are deleted.\nIt is not currently possible to delete multiple jobs using wildcards or a\ncomma separated list. If you delete a job that has a datafeed, the request\nfirst tries to delete the datafeed. This behavior is equivalent to calling\nthe delete datafeed API with the same timeout and force parameters as the\ndelete job request.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.delete_job" }, "path": [ { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Use to forcefully delete an opened job; this method is quicker than\nclosing and deleting the job.", "name": "force", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies whether annotations that have been added by the\nuser should be deleted along with any auto-generated annotations when the job is\nreset.", "name": "delete_user_annotations", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies whether the request should return immediately or wait until the\njob deletion completes.", "name": "wait_for_completion", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/delete_job/MlDeleteJobRequest.ts#L23-L64" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.delete_job" }, "specLocation": "ml/delete_job/MlDeleteJobResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes an existing model snapshot.\nYou cannot delete the active model snapshot. To delete that snapshot, first\nrevert to a different one. To identify the active model snapshot, refer to\nthe `model_snapshot_id` in the results from the get jobs API.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.delete_model_snapshot" }, "path": [ { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Identifier for the model snapshot.", "name": "snapshot_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/delete_model_snapshot/MlDeleteModelSnapshotRequest.ts#L23-L44" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.delete_model_snapshot" }, "specLocation": "ml/delete_model_snapshot/MlDeleteModelSnapshotResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes an existing trained inference model that is currently not referenced\nby an ingest pipeline.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.delete_trained_model" }, "path": [ { "description": "The unique identifier of the trained model.", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Forcefully deletes a trained model that is referenced by ingest pipelines or has a started deployment.", "name": "force", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/delete_trained_model/MlDeleteTrainedModelRequest.ts#L23-L42" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.delete_trained_model" }, "specLocation": "ml/delete_trained_model/MlDeleteTrainedModelResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes a trained model alias.\nThis API deletes an existing model alias that refers to a trained model. If\nthe model alias is missing or refers to a model other than the one identified\nby the `model_id`, this API returns an error.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.delete_trained_model_alias" }, "path": [ { "description": "The model alias to delete.", "name": "model_alias", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "The trained model ID to which the model alias refers.", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/delete_trained_model_alias/MlDeleteTrainedModelAliasRequest.ts#L23-L44" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.delete_trained_model_alias" }, "specLocation": "ml/delete_trained_model_alias/MlDeleteTrainedModelAliasResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "For a list of the properties that you can specify in the\n`analysis_config` component of the body of this API.", "name": "analysis_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "AnalysisConfig", "namespace": "ml._types" } } }, { "description": "Estimates of the highest cardinality in a single bucket that is observed\nfor influencer fields over the time period that the job analyzes data.\nTo produce a good answer, values must be provided for all influencer\nfields. Providing values for fields that are not listed as `influencers`\nhas no effect on the estimation.", "name": "max_bucket_cardinality", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } }, { "description": "Estimates of the cardinality that is observed for fields over the whole\ntime period that the job analyzes data. To produce a good answer, values\nmust be provided for fields referenced in the `by_field_name`,\n`over_field_name` and `partition_field_name` of any detectors. Providing\nvalues for other fields has no effect on the estimation. It can be\nomitted from the request if no detectors have a `by_field_name`,\n`over_field_name` or `partition_field_name`.", "name": "overall_cardinality", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } } ] }, "description": "Makes an estimation of the memory usage for an anomaly detection job model.\nIt is based on analysis configuration details for the job and cardinality\nestimates for the fields it references.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.estimate_model_memory" }, "path": [], "query": [], "specLocation": "ml/estimate_model_memory/MlEstimateModelMemoryRequest.ts#L26-L61" }, { "body": { "kind": "properties", "properties": [ { "name": "model_memory_estimate", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.estimate_model_memory" }, "specLocation": "ml/estimate_model_memory/MlEstimateModelMemoryResponse.ts#L20-L24" }, { "kind": "interface", "name": { "name": "ConfusionMatrixItem", "namespace": "ml.evaluate_data_frame" }, "properties": [ { "name": "actual_class", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "actual_class_doc_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "predicted_classes", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ConfusionMatrixPrediction", "namespace": "ml.evaluate_data_frame" } } } }, { "name": "other_predicted_class_doc_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/evaluate_data_frame/types.ts#L125-L130" }, { "kind": "interface", "name": { "name": "ConfusionMatrixPrediction", "namespace": "ml.evaluate_data_frame" }, "properties": [ { "name": "predicted_class", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/evaluate_data_frame/types.ts#L132-L135" }, { "kind": "interface", "name": { "name": "ConfusionMatrixThreshold", "namespace": "ml.evaluate_data_frame" }, "properties": [ { "codegenName": "true_positive", "description": "True Positive", "name": "tp", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "codegenName": "false_positive", "description": "False Positive", "name": "fp", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "codegenName": "true_negative", "description": "True Negative", "name": "tn", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "codegenName": "false_negative", "description": "False Negative", "name": "fn", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/evaluate_data_frame/types.ts#L137-L158" }, { "kind": "interface", "name": { "name": "DataframeClassificationSummary", "namespace": "ml.evaluate_data_frame" }, "properties": [ { "description": "The AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve.\nIt is calculated for a specific class (provided as \"class_name\") treated as positive.", "name": "auc_roc", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeEvaluationSummaryAucRoc", "namespace": "ml.evaluate_data_frame" } } }, { "description": "Accuracy of predictions (per-class and overall).", "name": "accuracy", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeClassificationSummaryAccuracy", "namespace": "ml.evaluate_data_frame" } } }, { "description": "Multiclass confusion matrix.", "name": "multiclass_confusion_matrix", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeClassificationSummaryMulticlassConfusionMatrix", "namespace": "ml.evaluate_data_frame" } } }, { "description": "Precision of predictions (per-class and average).", "name": "precision", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeClassificationSummaryPrecision", "namespace": "ml.evaluate_data_frame" } } }, { "description": "Recall of predictions (per-class and average).", "name": "recall", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeClassificationSummaryRecall", "namespace": "ml.evaluate_data_frame" } } } ], "specLocation": "ml/evaluate_data_frame/types.ts#L44-L66" }, { "kind": "interface", "name": { "name": "DataframeClassificationSummaryAccuracy", "namespace": "ml.evaluate_data_frame" }, "properties": [ { "name": "classes", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DataframeEvaluationClass", "namespace": "ml.evaluate_data_frame" } } } }, { "name": "overall_accuracy", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/evaluate_data_frame/types.ts#L111-L114" }, { "kind": "interface", "name": { "name": "DataframeClassificationSummaryMulticlassConfusionMatrix", "namespace": "ml.evaluate_data_frame" }, "properties": [ { "name": "confusion_matrix", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ConfusionMatrixItem", "namespace": "ml.evaluate_data_frame" } } } }, { "name": "other_actual_class_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/evaluate_data_frame/types.ts#L120-L123" }, { "kind": "interface", "name": { "name": "DataframeClassificationSummaryPrecision", "namespace": "ml.evaluate_data_frame" }, "properties": [ { "name": "classes", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DataframeEvaluationClass", "namespace": "ml.evaluate_data_frame" } } } }, { "name": "avg_precision", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/evaluate_data_frame/types.ts#L101-L104" }, { "kind": "interface", "name": { "name": "DataframeClassificationSummaryRecall", "namespace": "ml.evaluate_data_frame" }, "properties": [ { "name": "classes", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DataframeEvaluationClass", "namespace": "ml.evaluate_data_frame" } } } }, { "name": "avg_recall", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/evaluate_data_frame/types.ts#L106-L109" }, { "inherits": { "type": { "name": "DataframeEvaluationValue", "namespace": "ml.evaluate_data_frame" } }, "kind": "interface", "name": { "name": "DataframeEvaluationClass", "namespace": "ml.evaluate_data_frame" }, "properties": [ { "name": "class_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "specLocation": "ml/evaluate_data_frame/types.ts#L116-L118" }, { "inherits": { "type": { "name": "DataframeEvaluationValue", "namespace": "ml.evaluate_data_frame" } }, "kind": "interface", "name": { "name": "DataframeEvaluationSummaryAucRoc", "namespace": "ml.evaluate_data_frame" }, "properties": [ { "name": "curve", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DataframeEvaluationSummaryAucRocCurveItem", "namespace": "ml.evaluate_data_frame" } } } } ], "specLocation": "ml/evaluate_data_frame/types.ts#L91-L93" }, { "kind": "interface", "name": { "name": "DataframeEvaluationSummaryAucRocCurveItem", "namespace": "ml.evaluate_data_frame" }, "properties": [ { "name": "tpr", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "fpr", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "threshold", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/evaluate_data_frame/types.ts#L95-L99" }, { "kind": "interface", "name": { "name": "DataframeEvaluationValue", "namespace": "ml.evaluate_data_frame" }, "properties": [ { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/evaluate_data_frame/types.ts#L87-L89" }, { "kind": "interface", "name": { "name": "DataframeOutlierDetectionSummary", "namespace": "ml.evaluate_data_frame" }, "properties": [ { "description": "The AUC ROC (area under the curve of the receiver operating characteristic) score and optionally the curve.", "name": "auc_roc", "required": false, "serverDefault": "{\"include_curve\": false}", "type": { "kind": "instance_of", "type": { "name": "DataframeEvaluationSummaryAucRoc", "namespace": "ml.evaluate_data_frame" } } }, { "description": "Set the different thresholds of the outlier score at where the metric is calculated.", "name": "precision", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } }, { "description": "Set the different thresholds of the outlier score at where the metric is calculated.", "name": "recall", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } }, { "description": "Set the different thresholds of the outlier score at where the metrics (`tp` - true positive, `fp` - false positive, `tn` - true negative, `fn` - false negative) are calculated.", "name": "confusion_matrix", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ConfusionMatrixThreshold", "namespace": "ml.evaluate_data_frame" } } } } ], "specLocation": "ml/evaluate_data_frame/types.ts#L24-L42" }, { "kind": "interface", "name": { "name": "DataframeRegressionSummary", "namespace": "ml.evaluate_data_frame" }, "properties": [ { "description": "Pseudo Huber loss function.", "name": "huber", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeEvaluationValue", "namespace": "ml.evaluate_data_frame" } } }, { "description": "Average squared difference between the predicted values and the actual (`ground truth`) value.", "name": "mse", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeEvaluationValue", "namespace": "ml.evaluate_data_frame" } } }, { "description": "Average squared difference between the logarithm of the predicted values and the logarithm of the actual (`ground truth`) value.", "name": "msle", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeEvaluationValue", "namespace": "ml.evaluate_data_frame" } } }, { "description": "Proportion of the variance in the dependent variable that is predictable from the independent variables.", "name": "r_squared", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeEvaluationValue", "namespace": "ml.evaluate_data_frame" } } } ], "specLocation": "ml/evaluate_data_frame/types.ts#L68-L85" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Defines the type of evaluation you want to perform.", "name": "evaluation", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeEvaluationContainer", "namespace": "ml._types" } } }, { "description": "Defines the `index` in which the evaluation will be performed.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "A query clause that retrieves a subset of data from the source index.", "docId": "query-dsl", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl.html", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ] }, "description": "Evaluates the data frame analytics for an annotated index.\nThe API packages together commonly used evaluation metrics for various types\nof machine learning features. This has been designed for use on indexes\ncreated by data frame analytics. Evaluation requires both a ground truth\nfield and an analytics result field to be present.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.evaluate_data_frame" }, "path": [], "query": [], "specLocation": "ml/evaluate_data_frame/MlEvaluateDataFrameRequest.ts#L25-L52" }, { "body": { "kind": "properties", "properties": [ { "name": "classification", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeClassificationSummary", "namespace": "ml.evaluate_data_frame" } } }, { "name": "outlier_detection", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeOutlierDetectionSummary", "namespace": "ml.evaluate_data_frame" } } }, { "name": "regression", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeRegressionSummary", "namespace": "ml.evaluate_data_frame" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.evaluate_data_frame" }, "specLocation": "ml/evaluate_data_frame/MlEvaluateDataFrameResponse.ts#L26-L33" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The configuration of how to source the analysis data. It requires an\nindex. Optionally, query and _source may be specified.", "name": "source", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsSource", "namespace": "ml._types" } } }, { "description": "The destination configuration, consisting of index and optionally\nresults_field (ml by default).", "name": "dest", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsDestination", "namespace": "ml._types" } } }, { "description": "The analysis configuration, which contains the information necessary to\nperform one of the following types of analysis: classification, outlier\ndetection, or regression.", "name": "analysis", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisContainer", "namespace": "ml._types" } } }, { "description": "A description of the job.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try to\ncreate data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", "docId": "ml-settings", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html", "name": "model_memory_limit", "required": false, "serverDefault": "1gb", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", "name": "max_num_threads", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specify includes and/or excludes patterns to select which fields will be\nincluded in the analysis. The patterns specified in excludes are applied\nlast, therefore excludes takes precedence. In other words, if the same\nfield is specified in both includes and excludes, then the field will not\nbe included in the analysis.", "name": "analyzed_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisAnalyzedFields", "namespace": "ml._types" } } }, { "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node.", "docId": "ml-settings", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html", "name": "allow_lazy_start", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "description": "Explains a data frame analytics config.\nThis API provides explanations for a data frame analytics config that either\nexists already or one that has not been created yet. The following\nexplanations are provided:\n* which fields are included or not in the analysis and why,\n* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.\nIf you have object fields or fields that are excluded via source filtering, they are not included in the explanation.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.explain_data_frame_analytics" }, "path": [ { "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/explain_data_frame_analytics/MlExplainDataFrameAnalyticsRequest.ts#L30-L107" }, { "body": { "kind": "properties", "properties": [ { "description": "An array of objects that explain selection for each field, sorted by the field names.", "name": "field_selection", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsFieldSelection", "namespace": "ml._types" } } } }, { "description": "An array of objects that explain selection for each field, sorted by the field names.", "name": "memory_estimation", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsMemoryEstimation", "namespace": "ml._types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.explain_data_frame_analytics" }, "specLocation": "ml/explain_data_frame_analytics/MlExplainDataFrameAnalyticsResponse.ts#L25-L32" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Refer to the description for the `advance_time` query parameter.", "name": "advance_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Refer to the description for the `calc_interim` query parameter.", "name": "calc_interim", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Refer to the description for the `end` query parameter.", "name": "end", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Refer to the description for the `skip_time` query parameter.", "name": "skip_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Refer to the description for the `start` query parameter.", "name": "start", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ] }, "description": "Forces any buffered data to be processed by the job.\nThe flush jobs API is only applicable when sending data for analysis using\nthe post data API. Depending on the content of the buffer, then it might\nadditionally calculate new results. Both flush and close operations are\nsimilar, however the flush is more efficient if you are expecting to send\nmore data for analysis. When flushing, the job remains open and is available\nto continue analyzing data. A close operation additionally prunes and\npersists the model state to disk and the job must be opened again before\nanalyzing further data.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.flush_job" }, "path": [ { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies to advance to a particular time value. Results are generated\nand the model is updated for data from the specified time interval.", "name": "advance_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "If true, calculates the interim results for the most recent bucket or all\nbuckets within the latency period.", "name": "calc_interim", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "When used in conjunction with `calc_interim` and `start`, specifies the\nrange of buckets on which to calculate interim results.", "name": "end", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Specifies to skip to a particular time value. Results are not generated\nand the model is not updated for data from the specified time interval.", "name": "skip_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "When used in conjunction with `calc_interim`, specifies the range of\nbuckets on which to calculate interim results.", "name": "start", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "ml/flush_job/MlFlushJobRequest.ts#L24-L99" }, { "body": { "kind": "properties", "properties": [ { "name": "flushed", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Provides the timestamp (in milliseconds since the epoch) of the end of\nthe last bucket that was processed.", "name": "last_finalized_bucket_end", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.flush_job" }, "specLocation": "ml/flush_job/MlFlushJobResponse.ts#L22-L31" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Refer to the description for the `duration` query parameter.", "name": "duration", "required": false, "serverDefault": "1d", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Refer to the description for the `expires_in` query parameter.", "name": "expires_in", "required": false, "serverDefault": "14d", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Refer to the description for the `max_model_memory` query parameter.", "name": "max_model_memory", "required": false, "serverDefault": "20mb", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Predicts the future behavior of a time series by using its historical\nbehavior.\n\nForecasts are not supported for jobs that perform population analysis; an\nerror occurs if you try to create a forecast for a job that has an\n`over_field_name` in its configuration.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.forecast" }, "path": [ { "description": "Identifier for the anomaly detection job. The job must be open when you\ncreate a forecast; otherwise, an error occurs.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "A period of time that indicates how far into the future to forecast. For\nexample, `30d` corresponds to 30 days. The forecast starts at the last\nrecord that was processed.", "name": "duration", "required": false, "serverDefault": "1d", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The period of time that forecast results are retained. After a forecast\nexpires, the results are deleted. If set to a value of 0, the forecast is\nnever automatically deleted.", "name": "expires_in", "required": false, "serverDefault": "14d", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The maximum memory the forecast can use. If the forecast needs to use\nmore than the provided amount, it will spool to disk. Default is 20mb,\nmaximum is 500mb and minimum is 1mb. If set to 40% or more of the job’s\nconfigured memory limit, it is automatically reduced to below that\namount.", "name": "max_model_memory", "required": false, "serverDefault": "20mb", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/forecast/MlForecastJobRequest.ts#L24-L87" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "forecast_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.forecast" }, "specLocation": "ml/forecast/MlForecastJobResponse.ts#L22-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Refer to the description for the `anomaly_score` query parameter.", "name": "anomaly_score", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Refer to the description for the `desc` query parameter.", "name": "desc", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Refer to the description for the `end` query parameter.", "name": "end", "required": false, "serverDefault": "-1", "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Refer to the description for the `exclude_interim` query parameter.", "name": "exclude_interim", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Refer to the description for the `expand` query parameter.", "name": "expand", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "page", "required": false, "type": { "kind": "instance_of", "type": { "name": "Page", "namespace": "ml._types" } } }, { "description": "Refer to the desription for the `sort` query parameter.", "name": "sort", "required": false, "serverDefault": "timestamp", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Refer to the description for the `start` query parameter.", "name": "start", "required": false, "serverDefault": "-1", "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ] }, "description": "Retrieves anomaly detection job results for one or more buckets.\nThe API presents a chronological view of the records, grouped by bucket.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_buckets" }, "path": [ { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The timestamp of a single bucket result. If you do not specify this\nparameter, the API returns information about all buckets.", "name": "timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "query": [ { "description": "Returns buckets with anomaly scores greater or equal than this value.", "name": "anomaly_score", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "If `true`, the buckets are sorted in descending order.", "name": "desc", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Returns buckets with timestamps earlier than this time. `-1` means it is\nunset and results are not limited to specific timestamps.", "name": "end", "required": false, "serverDefault": "-1", "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "If `true`, the output excludes interim results.", "name": "exclude_interim", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, the output includes anomaly records.", "name": "expand", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Skips the specified number of buckets.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the maximum number of buckets to obtain.", "name": "size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the sort field for the requested buckets.", "name": "sort", "required": false, "serverDefault": "timestamp", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Returns buckets with timestamps after this time. `-1` means it is unset\nand results are not limited to specific timestamps.", "name": "start", "required": false, "serverDefault": "-1", "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "ml/get_buckets/MlGetBucketsRequest.ts#L26-L133" }, { "body": { "kind": "properties", "properties": [ { "name": "buckets", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "BucketSummary", "namespace": "ml._types" } } } }, { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_buckets" }, "specLocation": "ml/get_buckets/MlGetBucketsResponse.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves information about the scheduled events in calendars.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_calendar_events" }, "path": [ { "description": "A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using `_all` or `*` or by omitting the calendar identifier.", "name": "calendar_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies to get events with timestamps earlier than this time.", "name": "end", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Skips the specified number of events.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies to get events for a specific anomaly detection job identifier or job group. It must be used with a calendar identifier of `_all` or `*`.", "name": "job_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Specifies the maximum number of events to obtain.", "name": "size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies to get events with timestamps after this time.", "name": "start", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "ml/get_calendar_events/MlGetCalendarEventsRequest.ts#L25-L53" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "events", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CalendarEvent", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_calendar_events" }, "specLocation": "ml/get_calendar_events/MlGetCalendarEventsResponse.ts#L23-L28" }, { "kind": "interface", "name": { "name": "Calendar", "namespace": "ml.get_calendars" }, "properties": [ { "description": "A string that uniquely identifies a calendar.", "name": "calendar_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "A description of the calendar.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "An array of anomaly detection job identifiers.", "name": "job_ids", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } } ], "specLocation": "ml/get_calendars/types.ts#L22-L29" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "This object is supported only when you omit the calendar identifier.", "name": "page", "required": false, "type": { "kind": "instance_of", "type": { "name": "Page", "namespace": "ml._types" } } } ] }, "description": "Retrieves configuration information for calendars.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_calendars" }, "path": [ { "description": "A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using `_all` or `*` or by omitting the calendar identifier.", "name": "calendar_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Skips the specified number of calendars. This parameter is supported only when you omit the calendar identifier.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the maximum number of calendars to obtain. This parameter is supported only when you omit the calendar identifier.", "name": "size", "required": false, "serverDefault": 10000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/get_calendars/MlGetCalendarsRequest.ts#L25-L51" }, { "body": { "kind": "properties", "properties": [ { "name": "calendars", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Calendar", "namespace": "ml.get_calendars" } } } }, { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_calendars" }, "specLocation": "ml/get_calendars/MlGetCalendarsResponse.ts#L23-L25" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Configures pagination.\nThis parameter has the `from` and `size` properties.", "name": "page", "required": false, "type": { "kind": "instance_of", "type": { "name": "Page", "namespace": "ml._types" } } } ] }, "description": "Retrieves anomaly detection job results for one or more categories.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_categories" }, "path": [ { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Identifier for the category, which is unique in the job. If you specify\nneither the category ID nor the partition_field_value, the API returns\ninformation about all categories. If you specify only the\npartition_field_value, it returns information about all categories for\nthe specified partition.", "name": "category_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "CategoryId", "namespace": "_types" } } } ], "query": [ { "description": "Skips the specified number of categories.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Only return categories for the specified partition.", "name": "partition_field_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Specifies the maximum number of categories to obtain.", "name": "size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/get_categories/MlGetCategoriesRequest.ts#L25-L70" }, { "body": { "kind": "properties", "properties": [ { "name": "categories", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Category", "namespace": "ml._types" } } } }, { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_categories" }, "specLocation": "ml/get_categories/MlGetCategoriesResponse.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves configuration information for data frame analytics jobs.\nYou can get information for multiple data frame analytics jobs in a single\nAPI request by using a comma-separated list of data frame analytics jobs or a\nwildcard expression.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_data_frame_analytics" }, "path": [ { "description": "Identifier for the data frame analytics job. If you do not specify this\noption, the API returns information for the first hundred data frame\nanalytics jobs.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no data frame analytics\njobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value returns an empty data_frame_analytics array when there\nare no matches and the subset of results when there are partial matches.\nIf this parameter is `false`, the request returns a 404 status code when\nthere are no matches or only partial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Skips the specified number of data frame analytics jobs.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the maximum number of data frame analytics jobs to obtain.", "name": "size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", "name": "exclude_generated", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/get_data_frame_analytics/MlGetDataFrameAnalyticsRequest.ts#L24-L77" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "An array of data frame analytics job resources, which are sorted by the id value in ascending order.", "name": "data_frame_analytics", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsSummary", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_data_frame_analytics" }, "specLocation": "ml/get_data_frame_analytics/MlGetDataFrameAnalyticsResponse.ts#L23-L29" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves usage information for data frame analytics jobs.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_data_frame_analytics_stats" }, "path": [ { "description": "Identifier for the data frame analytics job. If you do not specify this\noption, the API returns information for the first hundred data frame\nanalytics jobs.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no data frame analytics\njobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value returns an empty data_frame_analytics array when there\nare no matches and the subset of results when there are partial matches.\nIf this parameter is `false`, the request returns a 404 status code when\nthere are no matches or only partial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Skips the specified number of data frame analytics jobs.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the maximum number of data frame analytics jobs to obtain.", "name": "size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Defines whether the stats response should be verbose.", "name": "verbose", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/get_data_frame_analytics_stats/MlGetDataFrameAnalyticsStatsRequest.ts#L24-L72" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "An array of objects that contain usage information for data frame analytics jobs, which are sorted by the id value in ascending order.", "name": "data_frame_analytics", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DataframeAnalytics", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_data_frame_analytics_stats" }, "specLocation": "ml/get_data_frame_analytics_stats/MlGetDataFrameAnalyticsStatsResponse.ts#L24-L30" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves usage information for datafeeds.\nYou can get statistics for multiple datafeeds in a single API request by\nusing a comma-separated list of datafeeds or a wildcard expression. You can\nget statistics for all datafeeds by using `_all`, by specifying `*` as the\n``, or by omitting the ``. If the datafeed is stopped, the\nonly information you receive is the `datafeed_id` and the `state`.\nThis API returns a maximum of 10,000 datafeeds.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_datafeed_stats" }, "path": [ { "description": "Identifier for the datafeed. It can be a datafeed identifier or a\nwildcard expression. If you do not specify one of these options, the API\nreturns information about all datafeeds.", "name": "datafeed_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no datafeeds that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `datafeeds` array\nwhen there are no matches and the subset of results when there are\npartial matches. If this parameter is `false`, the request returns a\n`404` status code when there are no matches or only partial matches.", "name": "allow_no_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/get_datafeed_stats/MlGetDatafeedStatsRequest.ts#L23-L60" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "datafeeds", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DatafeedStats", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_datafeed_stats" }, "specLocation": "ml/get_datafeed_stats/MlGetDatafeedStatsResponse.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves configuration information for datafeeds.\nYou can get information for multiple datafeeds in a single API request by\nusing a comma-separated list of datafeeds or a wildcard expression. You can\nget information for all datafeeds by using `_all`, by specifying `*` as the\n``, or by omitting the ``.\nThis API returns a maximum of 10,000 datafeeds.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_datafeeds" }, "path": [ { "description": "Identifier for the datafeed. It can be a datafeed identifier or a\nwildcard expression. If you do not specify one of these options, the API\nreturns information about all datafeeds.", "name": "datafeed_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no datafeeds that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `datafeeds` array\nwhen there are no matches and the subset of results when there are\npartial matches. If this parameter is `false`, the request returns a\n`404` status code when there are no matches or only partial matches.", "name": "allow_no_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", "name": "exclude_generated", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/get_datafeeds/MlGetDatafeedsRequest.ts#L23-L66" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "datafeeds", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Datafeed", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_datafeeds" }, "specLocation": "ml/get_datafeeds/MlGetDatafeedsResponse.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves filters.\nYou can get a single filter or all filters.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_filters" }, "path": [ { "description": "A string that uniquely identifies a filter.", "name": "filter_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } } ], "query": [ { "description": "Skips the specified number of filters.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the maximum number of filters to obtain.", "name": "size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/get_filters/MlGetFiltersRequest.ts#L24-L51" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "filters", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Filter", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_filters" }, "specLocation": "ml/get_filters/MlGetFiltersResponse.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Configures pagination.\nThis parameter has the `from` and `size` properties.", "name": "page", "required": false, "type": { "kind": "instance_of", "type": { "name": "Page", "namespace": "ml._types" } } } ] }, "description": "Retrieves anomaly detection job results for one or more influencers.\nInfluencers are the entities that have contributed to, or are to blame for,\nthe anomalies. Influencer results are available only if an\n`influencer_field_name` is specified in the job configuration.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_influencers" }, "path": [ { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "If true, the results are sorted in descending order.", "name": "desc", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Returns influencers with timestamps earlier than this time.\nThe default value means it is unset and results are not limited to\nspecific timestamps.", "name": "end", "required": false, "serverDefault": "-1", "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "If true, the output excludes interim results. By default, interim results\nare included.", "name": "exclude_interim", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Returns influencers with anomaly scores greater than or equal to this\nvalue.", "name": "influencer_score", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Skips the specified number of influencers.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the maximum number of influencers to obtain.", "name": "size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the sort field for the requested influencers. By default, the\ninfluencers are sorted by the `influencer_score` value.", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Returns influencers with timestamps after this time. The default value\nmeans it is unset and results are not limited to specific timestamps.", "name": "start", "required": false, "serverDefault": "-1", "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "ml/get_influencers/MlGetInfluencersRequest.ts#L26-L97" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Array of influencer objects", "name": "influencers", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Influencer", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_influencers" }, "specLocation": "ml/get_influencers/MlGetInfluencersResponse.ts#L23-L29" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves usage information for anomaly detection jobs.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_job_stats" }, "path": [ { "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, a comma-separated list of jobs, or a wildcard expression. If\nyou do not specify one of these options, the API returns information for\nall anomaly detection jobs.", "name": "job_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty `jobs` array when\nthere are no matches and the subset of results when there are partial\nmatches. If `false`, the API returns a `404` status\ncode when there are no matches or only partial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/get_job_stats/MlGetJobStatsRequest.ts#L23-L56" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "jobs", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "JobStats", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_job_stats" }, "specLocation": "ml/get_job_stats/MlGetJobStatsResponse.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves configuration information for anomaly detection jobs.\nYou can get information for multiple anomaly detection jobs in a single API\nrequest by using a group name, a comma-separated list of jobs, or a wildcard\nexpression. You can get information for all anomaly detection jobs by using\n`_all`, by specifying `*` as the ``, or by omitting the ``.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_jobs" }, "path": [ { "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, or a wildcard expression. If you do not specify one of these\noptions, the API returns information for all anomaly detection jobs.", "name": "job_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is `true`, which returns an empty `jobs` array when\nthere are no matches and the subset of results when there are partial\nmatches. If this parameter is `false`, the request returns a `404` status\ncode when there are no matches or only partial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", "name": "exclude_generated", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/get_jobs/MlGetJobsRequest.ts#L23-L66" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "jobs", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Job", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_jobs" }, "specLocation": "ml/get_jobs/MlGetJobsResponse.ts#L23-L28" }, { "kind": "interface", "name": { "name": "JvmStats", "namespace": "ml.get_memory_stats" }, "properties": [ { "description": "Maximum amount of memory available for use by the heap.", "name": "heap_max", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Maximum amount of memory, in bytes, available for use by the heap.", "name": "heap_max_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Amount of Java heap currently being used for caching inference models.", "name": "java_inference", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Amount of Java heap, in bytes, currently being used for caching inference models.", "name": "java_inference_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Maximum amount of Java heap to be used for caching inference models.", "name": "java_inference_max", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Maximum amount of Java heap, in bytes, to be used for caching inference models.", "name": "java_inference_max_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/get_memory_stats/types.ts#L50-L63" }, { "kind": "interface", "name": { "name": "MemMlStats", "namespace": "ml.get_memory_stats" }, "properties": [ { "description": "Amount of native memory set aside for anomaly detection jobs.", "name": "anomaly_detectors", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Amount of native memory, in bytes, set aside for anomaly detection jobs.", "name": "anomaly_detectors_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Amount of native memory set aside for data frame analytics jobs.", "name": "data_frame_analytics", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Amount of native memory, in bytes, set aside for data frame analytics jobs.", "name": "data_frame_analytics_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Maximum amount of native memory (separate to the JVM heap) that may be used by machine learning native processes.", "name": "max", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Maximum amount of native memory (separate to the JVM heap), in bytes, that may be used by machine learning native processes.", "name": "max_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Amount of native memory set aside for loading machine learning native code shared libraries.", "name": "native_code_overhead", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Amount of native memory, in bytes, set aside for loading machine learning native code shared libraries.", "name": "native_code_overhead_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Amount of native memory set aside for trained models that have a PyTorch model_type.", "name": "native_inference", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Amount of native memory, in bytes, set aside for trained models that have a PyTorch model_type.", "name": "native_inference_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/get_memory_stats/types.ts#L90-L111" }, { "kind": "interface", "name": { "name": "MemStats", "namespace": "ml.get_memory_stats" }, "properties": [ { "description": "If the amount of physical memory has been overridden using the es.total_memory_bytes system property\nthen this reports the overridden value. Otherwise it reports the same value as total.", "name": "adjusted_total", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "If the amount of physical memory has been overridden using the `es.total_memory_bytes` system property\nthen this reports the overridden value in bytes. Otherwise it reports the same value as `total_in_bytes`.", "name": "adjusted_total_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Total amount of physical memory.", "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Total amount of physical memory in bytes.", "name": "total_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Contains statistics about machine learning use of native memory on the node.", "name": "ml", "required": true, "type": { "kind": "instance_of", "type": { "name": "MemMlStats", "namespace": "ml.get_memory_stats" } } } ], "specLocation": "ml/get_memory_stats/types.ts#L65-L88" }, { "kind": "interface", "name": { "name": "Memory", "namespace": "ml.get_memory_stats" }, "properties": [ { "name": "attributes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Contains Java Virtual Machine (JVM) statistics for the node.", "name": "jvm", "required": true, "type": { "kind": "instance_of", "type": { "name": "JvmStats", "namespace": "ml.get_memory_stats" } } }, { "description": "Contains statistics about memory usage for the node.", "name": "mem", "required": true, "type": { "kind": "instance_of", "type": { "name": "MemStats", "namespace": "ml.get_memory_stats" } } }, { "description": "Human-readable identifier for the node. Based on the Node name setting setting.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Roles assigned to the node.", "name": "roles", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "The host and port where transport HTTP connections are accepted.", "name": "transport_address", "required": true, "type": { "kind": "instance_of", "type": { "name": "TransportAddress", "namespace": "_types" } } }, { "name": "ephemeral_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "specLocation": "ml/get_memory_stats/types.ts#L25-L48" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Get information about how machine learning jobs and trained models are using memory,\non each node, both within the JVM heap, and natively, outside of the JVM.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_memory_stats" }, "path": [ { "description": "The names of particular nodes in the cluster to target. For example, `nodeId1,nodeId2` or\n`ml:true`", "name": "node_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specify this query parameter to include the fields with units in the response. Otherwise only\nthe `_in_bytes` sizes are returned in the response.", "name": "human", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node. If no response is received before the timeout\nexpires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request\nfails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ml/get_memory_stats/MlGetMemoryStatsRequest.ts#L24-L59" }, { "body": { "kind": "properties", "properties": [ { "name": "_nodes", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeStatistics", "namespace": "_types" } } }, { "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Memory", "namespace": "ml.get_memory_stats" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_memory_stats" }, "specLocation": "ml/get_memory_stats/MlGetMemoryStatsResponse.ts#L25-L31" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves usage information for anomaly detection job model snapshot upgrades.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_model_snapshot_upgrade_stats" }, "path": [ { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "A numerical character string that uniquely identifies the model snapshot. You can get information for multiple\nsnapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using `_all`,\nby specifying `*` as the snapshot ID, or by omitting the snapshot ID.", "name": "snapshot_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request:\n\n - Contains wildcard expressions and there are no jobs that match.\n - Contains the _all string or no identifiers and there are no matches.\n - Contains wildcard expressions and there are only partial matches.\n\nThe default value is true, which returns an empty jobs array when there are no matches and the subset of results\nwhen there are partial matches. If this parameter is false, the request returns a 404 status code when there are\nno matches or only partial matches.", "name": "allow_no_match", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/get_model_snapshot_upgrade_stats/MlGetModelSnapshotUpgradeStatsRequest.ts#L23-L57" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "model_snapshot_upgrades", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ModelSnapshotUpgrade", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_model_snapshot_upgrade_stats" }, "specLocation": "ml/get_model_snapshot_upgrade_stats/MlGetModelSnapshotUpgradeStatsResponse.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Refer to the description for the `desc` query parameter.", "name": "desc", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Refer to the description for the `end` query parameter.", "name": "end", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "page", "required": false, "type": { "kind": "instance_of", "type": { "name": "Page", "namespace": "ml._types" } } }, { "description": "Refer to the description for the `sort` query parameter.", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Refer to the description for the `start` query parameter.", "name": "start", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ] }, "description": "Retrieves information about model snapshots.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_model_snapshots" }, "path": [ { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "A numerical character string that uniquely identifies the model snapshot. You can get information for multiple\nsnapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using `_all`,\nby specifying `*` as the snapshot ID, or by omitting the snapshot ID.", "name": "snapshot_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "If true, the results are sorted in descending order.", "name": "desc", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Returns snapshots with timestamps earlier than this time.", "name": "end", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Skips the specified number of snapshots.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the maximum number of snapshots to obtain.", "name": "size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the sort field for the requested snapshots. By default, the\nsnapshots are sorted by their timestamp.", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Returns snapshots with timestamps after this time.", "name": "start", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "ml/get_model_snapshots/MlGetModelSnapshotsRequest.ts#L26-L96" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "model_snapshots", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ModelSnapshot", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_model_snapshots" }, "specLocation": "ml/get_model_snapshots/MlGetModelSnapshotsResponse.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Refer to the description for the `allow_no_match` query parameter.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Refer to the description for the `bucket_span` query parameter.", "name": "bucket_span", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Refer to the description for the `end` query parameter.", "name": "end", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Refer to the description for the `exclude_interim` query parameter.", "name": "exclude_interim", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Refer to the description for the `overall_score` query parameter.", "name": "overall_score", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "Refer to the description for the `start` query parameter.", "name": "start", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Refer to the description for the `top_n` query parameter.", "name": "top_n", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ] }, "description": "Retrieves overall bucket results that summarize the bucket results of\nmultiple anomaly detection jobs.\n\nThe `overall_score` is calculated by combining the scores of all the\nbuckets within the overall bucket span. First, the maximum\n`anomaly_score` per anomaly detection job in the overall bucket is\ncalculated. Then the `top_n` of those scores are averaged to result in\nthe `overall_score`. This means that you can fine-tune the\n`overall_score` so that it is more or less sensitive to the number of\njobs that detect an anomaly at the same time. For example, if you set\n`top_n` to `1`, the `overall_score` is the maximum bucket score in the\noverall bucket. Alternatively, if you set `top_n` to the number of jobs,\nthe `overall_score` is high only when all jobs detect anomalies in that\noverall bucket. If you set the `bucket_span` parameter (to a value\ngreater than its default), the `overall_score` is the maximum\n`overall_score` of the overall buckets that have a span equal to the\njobs' largest bucket span.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_overall_buckets" }, "path": [ { "description": "Identifier for the anomaly detection job. It can be a job identifier, a\ngroup name, a comma-separated list of jobs or groups, or a wildcard\nexpression.\n\nYou can summarize the bucket results for all anomaly detection jobs by\nusing `_all` or by specifying `*` as the ``.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no jobs that match.\n2. Contains the `_all` string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the request returns an empty `jobs` array when there are no\nmatches and the subset of results when there are partial matches. If this\nparameter is `false`, the request returns a `404` status code when there\nare no matches or only partial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The span of the overall buckets. Must be greater or equal to the largest\nbucket span of the specified anomaly detection jobs, which is the default\nvalue.\n\nBy default, an overall bucket has a span equal to the largest bucket span\nof the specified anomaly detection jobs. To override that behavior, use\nthe optional `bucket_span` parameter.", "name": "bucket_span", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Returns overall buckets with timestamps earlier than this time.", "name": "end", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "If `true`, the output excludes interim results.", "name": "exclude_interim", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Returns overall buckets with overall scores greater than or equal to this\nvalue.", "name": "overall_score", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "description": "Returns overall buckets with timestamps after this time.", "name": "start", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "The number of top anomaly detection job bucket scores to be used in the\n`overall_score` calculation.", "name": "top_n", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/get_overall_buckets/MlGetOverallBucketsRequest.ts#L25-L143" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Array of overall bucket objects", "name": "overall_buckets", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "OverallBucket", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_overall_buckets" }, "specLocation": "ml/get_overall_buckets/MlGetOverallBucketsResponse.ts#L23-L29" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Refer to the description for the `desc` query parameter.", "name": "desc", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Refer to the description for the `end` query parameter.", "name": "end", "required": false, "serverDefault": "-1", "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Refer to the description for the `exclude_interim` query parameter.", "name": "exclude_interim", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "page", "required": false, "type": { "kind": "instance_of", "type": { "name": "Page", "namespace": "ml._types" } } }, { "description": "Refer to the description for the `record_score` query parameter.", "name": "record_score", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Refer to the description for the `sort` query parameter.", "name": "sort", "required": false, "serverDefault": "record_score", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Refer to the description for the `start` query parameter.", "name": "start", "required": false, "serverDefault": "-1", "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ] }, "description": "Retrieves anomaly records for an anomaly detection job.\nRecords contain the detailed analytical results. They describe the anomalous\nactivity that has been identified in the input data based on the detector\nconfiguration.\nThere can be many anomaly records depending on the characteristics and size\nof the input data. In practice, there are often too many to be able to\nmanually process them. The machine learning features therefore perform a\nsophisticated aggregation of the anomaly records into buckets.\nThe number of record results depends on the number of anomalies found in each\nbucket, which relates to the number of time series being modeled and the\nnumber of detectors.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_records" }, "path": [ { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "If true, the results are sorted in descending order.", "name": "desc", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Returns records with timestamps earlier than this time. The default value\nmeans results are not limited to specific timestamps.", "name": "end", "required": false, "serverDefault": "-1", "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "If `true`, the output excludes interim results.", "name": "exclude_interim", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Skips the specified number of records.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Returns records with anomaly scores greater or equal than this value.", "name": "record_score", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "description": "Specifies the maximum number of records to obtain.", "name": "size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the sort field for the requested records.", "name": "sort", "required": false, "serverDefault": "record_score", "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Returns records with timestamps after this time. The default value means\nresults are not limited to specific timestamps.", "name": "start", "required": false, "serverDefault": "-1", "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "ml/get_records/MlGetAnomalyRecordsRequest.ts#L26-L127" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "records", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Anomaly", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_records" }, "specLocation": "ml/get_records/MlGetAnomalyRecordsResponse.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves configuration information for a trained model.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_trained_models" }, "path": [ { "description": "The unique identifier of the trained model.", "name": "model_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request:\n\n- Contains wildcard expressions and there are no models that match.\n- Contains the _all string or no identifiers and there are no matches.\n- Contains wildcard expressions and there are only partial matches.\n\nIf true, it returns an empty array when there are no matches and the\nsubset of results when there are partial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies whether the included model definition should be returned as a\nJSON map (true) or in a custom compressed format (false).", "name": "decompress_definition", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Indicates if certain fields should be removed from the configuration on\nretrieval. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", "name": "exclude_generated", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Skips the specified number of models.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "A comma delimited string of optional fields to include in the response\nbody.", "name": "include", "required": false, "type": { "kind": "instance_of", "type": { "name": "Include", "namespace": "ml._types" } } }, { "description": "Specifies the maximum number of models to obtain.", "name": "size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "A comma delimited string of tags. A trained model can have many tags, or\nnone. When supplied, only trained models that contain all the supplied\ntags are returned.", "name": "tags", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/get_trained_models/MlGetTrainedModelRequest.ts#L25-L87" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "An array of trained model resources, which are sorted by the model_id value in ascending order.", "name": "trained_model_configs", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TrainedModelConfig", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_trained_models" }, "specLocation": "ml/get_trained_models/MlGetTrainedModelResponse.ts#L23-L34" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves usage information for trained models. You can get usage information for multiple trained\nmodels in a single API request by using a comma-separated list of model IDs or a wildcard expression.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.get_trained_models_stats" }, "path": [ { "description": "The unique identifier of the trained model or a model alias. It can be a\ncomma-separated list or a wildcard expression.", "name": "model_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request:\n\n- Contains wildcard expressions and there are no models that match.\n- Contains the _all string or no identifiers and there are no matches.\n- Contains wildcard expressions and there are only partial matches.\n\nIf true, it returns an empty array when there are no matches and the\nsubset of results when there are partial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Skips the specified number of models.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the maximum number of models to obtain.", "name": "size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/get_trained_models_stats/MlGetTrainedModelStatsRequest.ts#L24-L64" }, { "body": { "kind": "properties", "properties": [ { "description": "The total number of trained model statistics that matched the requested ID patterns. Could be higher than the number of items in the trained_model_stats array as the size of the array is restricted by the supplied size parameter.", "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "An array of trained model statistics, which are sorted by the model_id value in ascending order.", "name": "trained_model_stats", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TrainedModelStats", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.get_trained_models_stats" }, "specLocation": "ml/get_trained_models_stats/MlGetTrainedModelStatsResponse.ts#L23-L33" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "An array of objects to pass to the model for inference. The objects should contain a fields matching your\nconfigured trained model input. Typically, for NLP models, the field name is `text_field`.\nCurrently, for NLP models, only a single value is allowed.", "name": "docs", "required": true, "type": { "kind": "array_of", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } }, { "description": "The inference configuration updates to apply on the API call", "name": "inference_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "InferenceConfigUpdateContainer", "namespace": "ml._types" } } } ] }, "description": "Evaluates a trained model.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.infer_trained_model" }, "path": [ { "description": "The unique identifier of the trained model.", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Controls the amount of time to wait for inference results.", "name": "timeout", "required": false, "serverDefault": "10s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ml/infer_trained_model/MlInferTrainedModelRequest.ts#L27-L59" }, { "body": { "kind": "properties", "properties": [ { "name": "inference_results", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "InferenceResponseResult", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.infer_trained_model" }, "specLocation": "ml/infer_trained_model/MlInferTrainedModelResponse.ts#L22-L26" }, { "kind": "interface", "name": { "name": "AnomalyDetectors", "namespace": "ml.info" }, "properties": [ { "name": "categorization_analyzer", "required": true, "type": { "kind": "instance_of", "type": { "name": "CategorizationAnalyzer", "namespace": "ml._types" } } }, { "name": "categorization_examples_limit", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "model_memory_limit", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "model_snapshot_retention_days", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "daily_model_snapshot_retention_after_days", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/info/types.ts#L44-L50" }, { "kind": "interface", "name": { "name": "Datafeeds", "namespace": "ml.info" }, "properties": [ { "name": "scroll_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "ml/info/types.ts#L40-L42" }, { "kind": "interface", "name": { "name": "Defaults", "namespace": "ml.info" }, "properties": [ { "name": "anomaly_detectors", "required": true, "type": { "kind": "instance_of", "type": { "name": "AnomalyDetectors", "namespace": "ml.info" } } }, { "name": "datafeeds", "required": true, "type": { "kind": "instance_of", "type": { "name": "Datafeeds", "namespace": "ml.info" } } } ], "specLocation": "ml/info/types.ts#L24-L27" }, { "kind": "interface", "name": { "name": "Limits", "namespace": "ml.info" }, "properties": [ { "name": "max_model_memory_limit", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "effective_max_model_memory_limit", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "total_ml_memory", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ml/info/types.ts#L34-L38" }, { "kind": "interface", "name": { "name": "NativeCode", "namespace": "ml.info" }, "properties": [ { "name": "build_hash", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } } ], "specLocation": "ml/info/types.ts#L29-L32" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns defaults and limits used by machine learning.\nThis endpoint is designed to be used by a user interface that needs to fully\nunderstand machine learning configurations where some options are not\nspecified, meaning that the defaults should be used. This endpoint may be\nused to find out what those defaults are. It also provides information about\nthe maximum size of machine learning jobs that could run in the current\ncluster configuration.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.info" }, "path": [], "query": [], "specLocation": "ml/info/MlInfoRequest.ts#L22-L35" }, { "body": { "kind": "properties", "properties": [ { "name": "defaults", "required": true, "type": { "kind": "instance_of", "type": { "name": "Defaults", "namespace": "ml.info" } } }, { "name": "limits", "required": true, "type": { "kind": "instance_of", "type": { "name": "Limits", "namespace": "ml.info" } } }, { "name": "upgrade_mode", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "native_code", "required": true, "type": { "kind": "instance_of", "type": { "name": "NativeCode", "namespace": "ml.info" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.info" }, "specLocation": "ml/info/MlInfoResponse.ts#L22-L29" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Refer to the description for the `timeout` query parameter.", "name": "timeout", "required": false, "serverDefault": "30m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ] }, "description": "Opens one or more anomaly detection jobs.\nAn anomaly detection job must be opened in order for it to be ready to\nreceive and analyze data. It can be opened and closed multiple times\nthroughout its lifecycle.\nWhen you open a new job, it starts with an empty model.\nWhen you open an existing job, the most recent model state is automatically\nloaded. The job is ready to resume its analysis from where it left off, once\nnew data is received.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.open_job" }, "path": [ { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Controls the time to wait until a job has opened.", "name": "timeout", "required": false, "serverDefault": "30m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ml/open_job/MlOpenJobRequest.ts#L24-L59" }, { "body": { "kind": "properties", "properties": [ { "name": "opened", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The ID of the node that the job was started on. In serverless this will be the \"serverless\".\nIf the job is allowed to open lazily and has not yet been assigned to a node, this value is an empty string.", "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.open_job" }, "specLocation": "ml/open_job/MlOpenJobResponse.ts#L22-L31" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "A list of one of more scheduled events. The event’s start and end times can be specified as integer milliseconds since the epoch or as a string in ISO 8601 format.", "name": "events", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CalendarEvent", "namespace": "ml._types" } } } } ] }, "description": "Adds scheduled events to a calendar.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.post_calendar_events" }, "path": [ { "description": "A string that uniquely identifies a calendar.", "name": "calendar_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/post_calendar_events/MlPostCalendarEventsRequest.ts#L24-L40" }, { "body": { "kind": "properties", "properties": [ { "name": "events", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CalendarEvent", "namespace": "ml._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.post_calendar_events" }, "specLocation": "ml/post_calendar_events/MlPostCalendarEventsResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "data", "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TData", "namespace": "ml.post_data" } } } }, "deprecation": { "description": "Posting data directly to anomaly detection jobs is deprecated, in a future major version a datafeed will be required.", "version": "7.11.0" }, "description": "Sends data to an anomaly detection job for analysis.\n\nIMPORTANT: For each job, data can be accepted from only a single connection at a time.\nIt is not currently possible to post data to multiple jobs using wildcards or a comma-separated list.", "generics": [ { "name": "TData", "namespace": "ml.post_data" } ], "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.post_data" }, "path": [ { "description": "Identifier for the anomaly detection job. The job must have a state of open to receive and process the data.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies the end of the bucket resetting range.", "name": "reset_end", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Specifies the start of the bucket resetting range.", "name": "reset_start", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "ml/post_data/MlPostJobDataRequest.ts#L24-L68" }, { "body": { "kind": "properties", "properties": [ { "name": "bucket_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "earliest_record_timestamp", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "empty_bucket_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "input_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "input_field_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "input_record_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "invalid_date_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "last_data_time", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "latest_record_timestamp", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "missing_field_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "out_of_order_timestamp_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "processed_field_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "processed_record_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "sparse_bucket_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.post_data" }, "specLocation": "ml/post_data/MlPostJobDataResponse.ts#L23-L41" }, { "kind": "interface", "name": { "name": "DataframePreviewConfig", "namespace": "ml.preview_data_frame_analytics" }, "properties": [ { "name": "source", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsSource", "namespace": "ml._types" } } }, { "name": "analysis", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisContainer", "namespace": "ml._types" } } }, { "name": "model_memory_limit", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_num_threads", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "analyzed_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisAnalyzedFields", "namespace": "ml._types" } } } ], "specLocation": "ml/preview_data_frame_analytics/types.ts#L27-L33" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "A data frame analytics config as described in create data frame analytics\njobs. Note that `id` and `dest` don’t need to be provided in the context of\nthis API.", "docId": "put-dfanalytics", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/put-dfanalytics.html", "name": "config", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframePreviewConfig", "namespace": "ml.preview_data_frame_analytics" } } } ] }, "description": "Previews the extracted features used by a data frame analytics config.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.preview_data_frame_analytics" }, "path": [ { "description": "Identifier for the data frame analytics job.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/preview_data_frame_analytics/MlPreviewDataFrameAnalyticsRequest.ts#L24-L47" }, { "body": { "kind": "properties", "properties": [ { "description": "An array of objects that contain feature name and value pairs. The features have been processed and indicate what will be sent to the model for training.", "name": "feature_values", "required": true, "type": { "kind": "array_of", "value": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.preview_data_frame_analytics" }, "specLocation": "ml/preview_data_frame_analytics/MlPreviewDataFrameAnalyticsResponse.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The datafeed definition to preview.", "name": "datafeed_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "DatafeedConfig", "namespace": "ml._types" } } }, { "description": "The configuration details for the anomaly detection job that is associated with the datafeed. If the\n`datafeed_config` object does not include a `job_id` that references an existing anomaly detection job, you must\nsupply this `job_config` object. If you include both a `job_id` and a `job_config`, the latter information is\nused. You cannot specify a `job_config` object unless you also supply a `datafeed_config` object.", "name": "job_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "JobConfig", "namespace": "ml._types" } } } ] }, "description": "Previews a datafeed.\nThis API returns the first \"page\" of search results from a datafeed.\nYou can preview an existing datafeed or provide configuration details for a datafeed\nand anomaly detection job in the API. The preview shows the structure of the data\nthat will be passed to the anomaly detection engine.\nIMPORTANT: When Elasticsearch security features are enabled, the preview uses the credentials of the user that\ncalled the API. However, when the datafeed starts it uses the roles of the last user that created or updated the\ndatafeed. To get a preview that accurately reflects the behavior of the datafeed, use the appropriate credentials.\nYou can also use secondary authorization headers to supply the credentials.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.preview_datafeed" }, "path": [ { "description": "A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase\nalphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric\ncharacters. NOTE: If you use this path parameter, you cannot provide datafeed or anomaly detection job\nconfiguration details in the request body.", "name": "datafeed_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "The start time from where the datafeed preview should begin", "name": "start", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "The end time when the datafeed preview should stop", "name": "end", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "ml/preview_datafeed/MlPreviewDatafeedRequest.ts#L26-L69" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "ml.preview_datafeed" } } } }, "generics": [ { "name": "TDocument", "namespace": "ml.preview_datafeed" } ], "kind": "response", "name": { "name": "Response", "namespace": "ml.preview_datafeed" }, "specLocation": "ml/preview_datafeed/MlPreviewDatafeedResponse.ts#L20-L23" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "An array of anomaly detection job identifiers.", "name": "job_ids", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } }, { "description": "A description of the calendar.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Creates a calendar.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.put_calendar" }, "path": [ { "description": "A string that uniquely identifies a calendar.", "name": "calendar_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/put_calendar/MlPutCalendarRequest.ts#L23-L43" }, { "body": { "kind": "properties", "properties": [ { "description": "A string that uniquely identifies a calendar.", "name": "calendar_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "A description of the calendar.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A list of anomaly detection job identifiers or group names.", "name": "job_ids", "required": true, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.put_calendar" }, "specLocation": "ml/put_calendar/MlPutCalendarResponse.ts#L22-L31" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Adds an anomaly detection job to a calendar.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.put_calendar_job" }, "path": [ { "description": "A string that uniquely identifies a calendar.", "name": "calendar_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "An identifier for the anomaly detection jobs. It can be a job identifier, a group name, or a comma-separated list of jobs or groups.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/put_calendar_job/MlPutCalendarJobRequest.ts#L23-L37" }, { "body": { "kind": "properties", "properties": [ { "description": "A string that uniquely identifies a calendar.", "name": "calendar_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "A description of the calendar.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A list of anomaly detection job identifiers or group names.", "name": "job_ids", "required": true, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.put_calendar_job" }, "specLocation": "ml/put_calendar_job/MlPutCalendarJobResponse.ts#L22-L31" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node. If\nset to `false` and a machine learning node with capacity to run the job\ncannot be immediately found, the API returns an error. If set to `true`,\nthe API does not return an error; the job waits in the `starting` state\nuntil sufficient machine learning node capacity is available. This\nbehavior is also affected by the cluster-wide\n`xpack.ml.max_lazy_ml_nodes` setting.", "docId": "ml-settings", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html", "name": "allow_lazy_start", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The analysis configuration, which contains the information necessary to\nperform one of the following types of analysis: classification, outlier\ndetection, or regression.", "name": "analysis", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisContainer", "namespace": "ml._types" } } }, { "description": "Specifies `includes` and/or `excludes` patterns to select which fields\nwill be included in the analysis. The patterns specified in `excludes`\nare applied last, therefore `excludes` takes precedence. In other words,\nif the same field is specified in both `includes` and `excludes`, then\nthe field will not be included in the analysis. If `analyzed_fields` is\nnot set, only the relevant fields will be included. For example, all the\nnumeric fields for outlier detection.\nThe supported fields vary for each type of analysis. Outlier detection\nrequires numeric or `boolean` data to analyze. The algorithms don’t\nsupport missing values therefore fields that have data types other than\nnumeric or boolean are ignored. Documents where included fields contain\nmissing values, null values, or an array are also ignored. Therefore the\n`dest` index may contain documents that don’t have an outlier score.\nRegression supports fields that are numeric, `boolean`, `text`,\n`keyword`, and `ip` data types. It is also tolerant of missing values.\nFields that are supported are included in the analysis, other fields are\nignored. Documents where included fields contain an array with two or\nmore values are also ignored. Documents in the `dest` index that don’t\ncontain a results field are not included in the regression analysis.\nClassification supports fields that are numeric, `boolean`, `text`,\n`keyword`, and `ip` data types. It is also tolerant of missing values.\nFields that are supported are included in the analysis, other fields are\nignored. Documents where included fields contain an array with two or\nmore values are also ignored. Documents in the `dest` index that don’t\ncontain a results field are not included in the classification analysis.\nClassification analysis can be improved by mapping ordinal variable\nvalues to a single number. For example, in case of age ranges, you can\nmodel the values as `0-14 = 0`, `15-24 = 1`, `25-34 = 2`, and so on.", "name": "analyzed_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisAnalyzedFields", "namespace": "ml._types" } } }, { "description": "A description of the job.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The destination configuration.", "name": "dest", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsDestination", "namespace": "ml._types" } } }, { "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", "name": "max_num_threads", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", "name": "model_memory_limit", "required": false, "serverDefault": "1gb", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The configuration of how to source the analysis data.", "name": "source", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsSource", "namespace": "ml._types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.0.0" } }, "name": "headers", "required": false, "since": "8.0.0", "type": { "kind": "instance_of", "type": { "name": "HttpHeaders", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.16.0" } }, "name": "version", "required": false, "since": "7.16.0", "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } } ] }, "description": "Instantiates a data frame analytics job.\nThis API creates a data frame analytics job that performs an analysis on the\nsource indices and stores the outcome in a destination index.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.put_data_frame_analytics" }, "path": [ { "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts#L30-L141" }, { "body": { "kind": "properties", "properties": [ { "name": "authorization", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsAuthorization", "namespace": "ml._types" } } }, { "name": "allow_lazy_start", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "analysis", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisContainer", "namespace": "ml._types" } } }, { "name": "analyzed_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisAnalyzedFields", "namespace": "ml._types" } } }, { "name": "create_time", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "dest", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsDestination", "namespace": "ml._types" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "max_num_threads", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "model_memory_limit", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "source", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsSource", "namespace": "ml._types" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.put_data_frame_analytics" }, "specLocation": "ml/put_data_frame_analytics/MlPutDataFrameAnalyticsResponse.ts#L31-L46" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "If set, the datafeed performs aggregation searches.\nSupport for aggregations is limited and should be used only with low cardinality data.", "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AggregationContainer", "namespace": "_types.aggregations" } } } }, { "description": "Datafeeds might be required to search over long time periods, for several months or years.\nThis search is split into time chunks in order to ensure the load on Elasticsearch is managed.\nChunking configuration controls how the size of these time chunks are calculated;\nit is an advanced configuration option.", "name": "chunking_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "ChunkingConfig", "namespace": "ml._types" } } }, { "description": "Specifies whether the datafeed checks for missing data and the size of the window.\nThe datafeed can optionally search over indices that have already been read in an effort to determine whether\nany data has subsequently been added to the index. If missing data is found, it is a good indication that the\n`query_delay` is set too low and the data is being indexed after the datafeed has passed that moment in time.\nThis check runs only on real-time datafeeds.", "name": "delayed_data_check_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "DelayedDataCheckConfig", "namespace": "ml._types" } } }, { "description": "The interval at which scheduled queries are made while the datafeed runs in real time.\nThe default value is either the bucket span for short bucket spans, or, for longer bucket spans, a sensible\nfraction of the bucket span. When `frequency` is shorter than the bucket span, interim results for the last\n(partial) bucket are written then eventually overwritten by the full bucket results. If the datafeed uses\naggregations, this value must be divisible by the interval of the date histogram aggregation.", "name": "frequency", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "aliases": [ "indexes" ], "description": "An array of index names. Wildcards are supported. If any of the indices are in remote clusters, the machine\nlearning nodes must have the `remote_cluster_client` role.", "name": "indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "Specifies index expansion options that are used during search", "name": "indices_options", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndicesOptions", "namespace": "_types" } } }, { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "If a real-time datafeed has never seen any data (including during any initial training period), it automatically\nstops and closes the associated job after this many real-time searches return no documents. In other words,\nit stops after `frequency` times `max_empty_searches` of real-time operation. If not set, a datafeed with no\nend time that sees no data remains started until it is explicitly stopped. By default, it is not set.", "name": "max_empty_searches", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The Elasticsearch query domain-specific language (DSL). This value corresponds to the query object in an\nElasticsearch search POST body. All the options that are supported by Elasticsearch can be used, as this\nobject is passed verbatim to Elasticsearch.", "name": "query", "required": false, "serverDefault": "{\"match_all\": {\"boost\": 1}}", "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "The number of seconds behind real time that data is queried. For example, if data from 10:04 a.m. might\nnot be searchable in Elasticsearch until 10:06 a.m., set this property to 120 seconds. The default\nvalue is randomly selected between `60s` and `120s`. This randomness improves the query performance\nwhen there are multiple jobs running on the same node.", "name": "query_delay", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Specifies runtime fields for the datafeed search.", "name": "runtime_mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } }, { "description": "Specifies scripts that evaluate custom expressions and returns script fields to the datafeed.\nThe detector configuration objects in a job can contain functions that use these script fields.", "name": "script_fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ScriptField", "namespace": "_types" } } } }, { "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations.\nThe maximum value is the value of `index.max_result_window`, which is 10,000 by default.", "name": "scroll_size", "required": false, "serverDefault": 1000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.0.0" } }, "name": "headers", "required": false, "since": "8.0.0", "type": { "kind": "instance_of", "type": { "name": "HttpHeaders", "namespace": "_types" } } } ] }, "description": "Instantiates a datafeed.\nDatafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job.\nYou can associate only one datafeed with each anomaly detection job.\nThe datafeed contains a query that runs at a defined interval (`frequency`).\nIf you are concerned about delayed data, you can add a delay (`query_delay') at each interval.\nWhen Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had\nat the time of creation and runs the query using those same roles. If you provide secondary authorization headers,\nthose credentials are used instead.\nYou must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed\ndirectly to the `.ml-config` index. Do not give users `write` privileges on the `.ml-config` index.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.put_datafeed" }, "path": [ { "description": "A numerical character string that uniquely identifies the datafeed.\nThis identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores.\nIt must start and end with alphanumeric characters.", "name": "datafeed_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "If true, wildcard indices expressions that resolve into no concrete indices are ignored. This includes the `_all`\nstring or when no indices are specified.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument determines\nwhether wildcard expressions match hidden data streams. Supports comma-separated values.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "deprecation": { "description": "", "version": "7.16.0" }, "description": "If true, concrete, expanded, or aliased indices are ignored when frozen.", "name": "ignore_throttled", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, unavailable indices (missing or closed) are ignored.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/put_datafeed/MlPutDatafeedRequest.ts#L37-L172" }, { "body": { "kind": "properties", "properties": [ { "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AggregationContainer", "namespace": "_types.aggregations" } } } }, { "name": "authorization", "required": false, "type": { "kind": "instance_of", "type": { "name": "DatafeedAuthorization", "namespace": "ml._types" } } }, { "name": "chunking_config", "required": true, "type": { "kind": "instance_of", "type": { "name": "ChunkingConfig", "namespace": "ml._types" } } }, { "name": "delayed_data_check_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "DelayedDataCheckConfig", "namespace": "ml._types" } } }, { "name": "datafeed_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "frequency", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "indices_options", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndicesOptions", "namespace": "_types" } } }, { "name": "max_empty_searches", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "name": "query_delay", "required": true, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "runtime_mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } }, { "name": "script_fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ScriptField", "namespace": "_types" } } } }, { "name": "scroll_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.put_datafeed" }, "specLocation": "ml/put_datafeed/MlPutDatafeedResponse.ts#L31-L49" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "A description of the filter.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The items of the filter. A wildcard `*` can be used at the beginning or the end of an item.\nUp to 10000 items are allowed in each filter.", "name": "items", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "description": "Instantiates a filter.\nA filter contains a list of strings. It can be used by one or more anomaly detection jobs.\nSpecifically, filters are referenced in the `custom_rules` property of detector configuration objects.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.put_filter" }, "path": [ { "description": "A string that uniquely identifies a filter.", "name": "filter_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/put_filter/MlPutFilterRequest.ts#L23-L50" }, { "body": { "kind": "properties", "properties": [ { "name": "description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "filter_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "items", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.put_filter" }, "specLocation": "ml/put_filter/MlPutFilterResponse.ts#L22-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Advanced configuration option. Specifies whether this job can open when there is insufficient machine learning node capacity for it to be immediately assigned to a node. By default, if a machine learning node with capacity to run the job cannot immediately be found, the open anomaly detection jobs API returns an error. However, this is also subject to the cluster-wide `xpack.ml.max_lazy_ml_nodes` setting. If this option is set to true, the open anomaly detection jobs API does not return an error and the job waits in the opening state until sufficient machine learning node capacity is available.", "name": "allow_lazy_open", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies how to analyze the data. After you create a job, you cannot change the analysis configuration; all the properties are informational.", "name": "analysis_config", "required": true, "type": { "kind": "instance_of", "type": { "name": "AnalysisConfig", "namespace": "ml._types" } } }, { "description": "Limits can be applied for the resources required to hold the mathematical models in memory. These limits are approximate and can be set per job. They do not control the memory used by other processes, for example the Elasticsearch Java processes.", "name": "analysis_limits", "required": false, "type": { "kind": "instance_of", "type": { "name": "AnalysisLimits", "namespace": "ml._types" } } }, { "description": "Advanced configuration option. The time between each periodic persistence of the model. The default value is a randomized value between 3 to 4 hours, which avoids all jobs persisting at exactly the same time. The smallest allowed value is 1 hour. For very large models (several GB), persistence could take 10-20 minutes, so do not set the `background_persist_interval` value too low.", "name": "background_persist_interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Advanced configuration option. Contains custom meta data about the job.", "name": "custom_settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "CustomSettings", "namespace": "ml._types" } } }, { "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job. It specifies a period of time (in days) after which only the first snapshot per day is retained. This period is relative to the timestamp of the most recent snapshot for this job. Valid values range from 0 to `model_snapshot_retention_days`.", "name": "daily_model_snapshot_retention_after_days", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Defines the format of the input data when you send data to the job by using the post data API. Note that when configure a datafeed, these properties are automatically set. When data is received via the post data API, it is not stored in Elasticsearch. Only the results for anomaly detection are retained.", "name": "data_description", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataDescription", "namespace": "ml._types" } } }, { "description": "Defines a datafeed for the anomaly detection job. If Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead.", "name": "datafeed_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "DatafeedConfig", "namespace": "ml._types" } } }, { "description": "A description of the job.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A list of job groups. A job can belong to no groups or many.", "name": "groups", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "This advanced configuration option stores model information along with the results. It provides a more detailed view into anomaly detection. If you enable model plot it can add considerable overhead to the performance of the system; it is not feasible for jobs with many entities. Model plot provides a simplified and indicative view of the model and its bounds. It does not display complex features such as multivariate correlations or multimodal data. As such, anomalies may occasionally be reported which cannot be seen in the model plot. Model plot config can be configured when the job is created or updated later. It must be disabled if performance issues are experienced.", "name": "model_plot_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "ModelPlotConfig", "namespace": "ml._types" } } }, { "description": "Advanced configuration option, which affects the automatic removal of old model snapshots for this job. It specifies the maximum period of time (in days) that snapshots are retained. This period is relative to the timestamp of the most recent snapshot for this job. By default, snapshots ten days older than the newest snapshot are deleted.", "name": "model_snapshot_retention_days", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Advanced configuration option. The period over which adjustments to the score are applied, as new data is seen. The default value is the longer of 30 days or 100 bucket spans.", "name": "renormalization_window_days", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "A text string that affects the name of the machine learning results index. By default, the job generates an index named `.ml-anomalies-shared`.", "name": "results_index_name", "required": false, "serverDefault": "shared", "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Advanced configuration option. The period of time (in days) that results are retained. Age is calculated relative to the timestamp of the latest bucket result. If this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch. The default value is null, which means all results are retained. Annotations generated by the system also count as results for retention purposes; they are deleted after the same number of days as results. Annotations added by users are retained forever.", "name": "results_retention_days", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ] }, "description": "Instantiates an anomaly detection job. If you include a `datafeed_config`, you must have read index privileges on the source index.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.put_job" }, "path": [ { "description": "The identifier for the anomaly detection job. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/put_job/MlPutJobRequest.ts#L30-L111" }, { "body": { "kind": "properties", "properties": [ { "name": "allow_lazy_open", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "analysis_config", "required": true, "type": { "kind": "instance_of", "type": { "name": "AnalysisConfigRead", "namespace": "ml._types" } } }, { "name": "analysis_limits", "required": true, "type": { "kind": "instance_of", "type": { "name": "AnalysisLimits", "namespace": "ml._types" } } }, { "name": "background_persist_interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "create_time", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "custom_settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "CustomSettings", "namespace": "ml._types" } } }, { "name": "daily_model_snapshot_retention_after_days", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "data_description", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataDescription", "namespace": "ml._types" } } }, { "name": "datafeed_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "Datafeed", "namespace": "ml._types" } } }, { "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "groups", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "job_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "job_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "model_plot_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "ModelPlotConfig", "namespace": "ml._types" } } }, { "name": "model_snapshot_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "model_snapshot_retention_days", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "renormalization_window_days", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "results_index_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "results_retention_days", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.put_job" }, "specLocation": "ml/put_job/MlPutJobResponse.ts#L29-L52" }, { "kind": "interface", "name": { "name": "AggregateOutput", "namespace": "ml.put_trained_model" }, "properties": [ { "name": "logistic_regression", "required": false, "type": { "kind": "instance_of", "type": { "name": "Weights", "namespace": "ml.put_trained_model" } } }, { "name": "weighted_sum", "required": false, "type": { "kind": "instance_of", "type": { "name": "Weights", "namespace": "ml.put_trained_model" } } }, { "name": "weighted_mode", "required": false, "type": { "kind": "instance_of", "type": { "name": "Weights", "namespace": "ml.put_trained_model" } } }, { "name": "exponent", "required": false, "type": { "kind": "instance_of", "type": { "name": "Weights", "namespace": "ml.put_trained_model" } } } ], "specLocation": "ml/put_trained_model/types.ts#L101-L106" }, { "kind": "interface", "name": { "name": "Definition", "namespace": "ml.put_trained_model" }, "properties": [ { "description": "Collection of preprocessors", "name": "preprocessors", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Preprocessor", "namespace": "ml.put_trained_model" } } } }, { "description": "The definition of the trained model.", "name": "trained_model", "required": true, "type": { "kind": "instance_of", "type": { "name": "TrainedModel", "namespace": "ml.put_trained_model" } } } ], "specLocation": "ml/put_trained_model/types.ts#L24-L29" }, { "kind": "interface", "name": { "name": "Ensemble", "namespace": "ml.put_trained_model" }, "properties": [ { "name": "aggregate_output", "required": false, "type": { "kind": "instance_of", "type": { "name": "AggregateOutput", "namespace": "ml.put_trained_model" } } }, { "name": "classification_labels", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "feature_names", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "target_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "trained_models", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TrainedModel", "namespace": "ml.put_trained_model" } } } } ], "specLocation": "ml/put_trained_model/types.ts#L93-L99" }, { "kind": "interface", "name": { "name": "FrequencyEncodingPreprocessor", "namespace": "ml.put_trained_model" }, "properties": [ { "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "feature_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "frequency_map", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } } ], "specLocation": "ml/put_trained_model/types.ts#L38-L42" }, { "kind": "interface", "name": { "name": "Input", "namespace": "ml.put_trained_model" }, "properties": [ { "name": "field_names", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "specLocation": "ml/put_trained_model/types.ts#L56-L58" }, { "kind": "interface", "name": { "name": "OneHotEncodingPreprocessor", "namespace": "ml.put_trained_model" }, "properties": [ { "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "hot_map", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "ml/put_trained_model/types.ts#L44-L47" }, { "kind": "interface", "name": { "name": "Preprocessor", "namespace": "ml.put_trained_model" }, "properties": [ { "name": "frequency_encoding", "required": false, "type": { "kind": "instance_of", "type": { "name": "FrequencyEncodingPreprocessor", "namespace": "ml.put_trained_model" } } }, { "name": "one_hot_encoding", "required": false, "type": { "kind": "instance_of", "type": { "name": "OneHotEncodingPreprocessor", "namespace": "ml.put_trained_model" } } }, { "name": "target_mean_encoding", "required": false, "type": { "kind": "instance_of", "type": { "name": "TargetMeanEncodingPreprocessor", "namespace": "ml.put_trained_model" } } } ], "specLocation": "ml/put_trained_model/types.ts#L31-L36", "variants": { "kind": "container" } }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The compressed (GZipped and Base64 encoded) inference definition of the\nmodel. If compressed_definition is specified, then definition cannot be\nspecified.", "name": "compressed_definition", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The inference definition for the model. If definition is specified, then\ncompressed_definition cannot be specified.", "name": "definition", "required": false, "type": { "kind": "instance_of", "type": { "name": "Definition", "namespace": "ml.put_trained_model" } } }, { "description": "A human-readable description of the inference trained model.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The default configuration for inference. This can be either a regression\nor classification configuration. It must match the underlying\ndefinition.trained_model's target_type. For pre-packaged models such as\nELSER the config is not required.", "name": "inference_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "InferenceConfigCreateContainer", "namespace": "ml._types" } } }, { "description": "The input field names for the model definition.", "name": "input", "required": false, "type": { "kind": "instance_of", "type": { "name": "Input", "namespace": "ml.put_trained_model" } } }, { "description": "An object map that contains metadata about the model.", "name": "metadata", "required": false, "type": { "kind": "user_defined_value" } }, { "description": "The model type.", "name": "model_type", "required": false, "serverDefault": "tree_ensemble", "type": { "kind": "instance_of", "type": { "name": "TrainedModelType", "namespace": "ml._types" } } }, { "description": "The estimated memory usage in bytes to keep the trained model in memory.\nThis property is supported only if defer_definition_decompression is true\nor the model definition is not supplied.", "name": "model_size_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The platform architecture (if applicable) of the trained mode. If the model\nonly works on one platform, because it is heavily optimized for a particular\nprocessor architecture and OS combination, then this field specifies which.\nThe format of the string must match the platform identifiers used by Elasticsearch,\nso one of, `linux-x86_64`, `linux-aarch64`, `darwin-x86_64`, `darwin-aarch64`,\nor `windows-x86_64`. For portable models (those that work independent of processor\narchitecture or OS features), leave this field unset.", "name": "platform_architecture", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "An array of tags to organize the model.", "name": "tags", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "availability": { "serverless": {}, "stack": { "since": "8.12.0" } }, "description": "Optional prefix strings applied at inference", "name": "prefix_strings", "required": false, "since": "8.12.0", "type": { "kind": "instance_of", "type": { "name": "TrainedModelPrefixStrings", "namespace": "ml._types" } } } ] }, "description": "Enables you to supply a trained model that is not created by data frame analytics.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.put_trained_model" }, "path": [ { "description": "The unique identifier of the trained model.", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "availability": { "serverless": {}, "stack": { "since": "8.0.0" } }, "description": "If set to `true` and a `compressed_definition` is provided,\nthe request defers definition decompression and skips relevant\nvalidations.", "name": "defer_definition_decompression", "required": false, "since": "8.0.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.8.0" } }, "description": "Whether to wait for all child operations (e.g. model download)\nto complete.", "name": "wait_for_completion", "required": false, "since": "8.8.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/put_trained_model/MlPutTrainedModelRequest.ts#L29-L124" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "TrainedModelConfig", "namespace": "ml._types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.put_trained_model" }, "specLocation": "ml/put_trained_model/MlPutTrainedModelResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "TargetMeanEncodingPreprocessor", "namespace": "ml.put_trained_model" }, "properties": [ { "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "feature_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "target_map", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } }, { "name": "default_value", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/put_trained_model/types.ts#L49-L54" }, { "kind": "interface", "name": { "name": "TrainedModel", "namespace": "ml.put_trained_model" }, "properties": [ { "description": "The definition for a binary decision tree.", "name": "tree", "required": false, "type": { "kind": "instance_of", "type": { "name": "TrainedModelTree", "namespace": "ml.put_trained_model" } } }, { "description": "The definition of a node in a tree.\nThere are two major types of nodes: leaf nodes and not-leaf nodes.\n- Leaf nodes only need node_index and leaf_value defined.\n- All other nodes need split_feature, left_child, right_child, threshold, decision_type, and default_left defined.", "name": "tree_node", "required": false, "type": { "kind": "instance_of", "type": { "name": "TrainedModelTreeNode", "namespace": "ml.put_trained_model" } } }, { "description": "The definition for an ensemble model", "name": "ensemble", "required": false, "type": { "kind": "instance_of", "type": { "name": "Ensemble", "namespace": "ml.put_trained_model" } } } ], "specLocation": "ml/put_trained_model/types.ts#L60-L72" }, { "kind": "interface", "name": { "name": "TrainedModelTree", "namespace": "ml.put_trained_model" }, "properties": [ { "name": "classification_labels", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "feature_names", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "target_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "tree_structure", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TrainedModelTreeNode", "namespace": "ml.put_trained_model" } } } } ], "specLocation": "ml/put_trained_model/types.ts#L74-L79" }, { "kind": "interface", "name": { "name": "TrainedModelTreeNode", "namespace": "ml.put_trained_model" }, "properties": [ { "name": "decision_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "default_left", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "leaf_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "left_child", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "node_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "right_child", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "split_feature", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "split_gain", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "threshold", "required": false, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/put_trained_model/types.ts#L81-L91" }, { "kind": "interface", "name": { "name": "Weights", "namespace": "ml.put_trained_model" }, "properties": [ { "name": "weights", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "ml/put_trained_model/types.ts#L108-L110" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Creates or updates a trained model alias. A trained model alias is a logical\nname used to reference a single trained model.\nYou can use aliases instead of trained model identifiers to make it easier to\nreference your models. For example, you can use aliases in inference\naggregations and processors.\nAn alias must be unique and refer to only a single trained model. However,\nyou can have multiple aliases for each trained model.\nIf you use this API to update an alias such that it references a different\ntrained model ID and the model uses a different type of data frame analytics,\nan error occurs. For example, this situation occurs if you have a trained\nmodel for regression analysis and a trained model for classification\nanalysis; you cannot reassign an alias from one type of trained model to\nanother.\nIf you use this API to update an alias and there are very few input fields in\ncommon between the old and new trained models for the model alias, the API\nreturns a warning.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.put_trained_model_alias" }, "path": [ { "description": "The alias to create or update. This value cannot end in numbers.", "name": "model_alias", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "The identifier for the trained model that the alias refers to.", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies whether the alias gets reassigned to the specified trained\nmodel if it is already assigned to a different model. If the alias is\nalready assigned and this parameter is false, the API returns an error.", "name": "reassign", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/put_trained_model_alias/MlPutTrainedModelAliasRequest.ts#L23-L65" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.put_trained_model_alias" }, "specLocation": "ml/put_trained_model_alias/MlPutTrainedModelAliasResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The definition part for the model. Must be a base64 encoded string.", "name": "definition", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The total uncompressed definition length in bytes. Not base64 encoded.", "name": "total_definition_length", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The total number of parts that will be uploaded. Must be greater than 0.", "name": "total_parts", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ] }, "description": "Creates part of a trained model definition.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.put_trained_model_definition_part" }, "path": [ { "description": "The unique identifier of the trained model.", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The definition part number. When the definition is loaded for inference the definition parts are streamed in the\norder of their part number. The first part must be `0` and the final part must be `total_parts - 1`.", "name": "part", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/put_trained_model_definition_part/MlPutTrainedModelDefinitionPartRequest.ts#L24-L57" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.put_trained_model_definition_part" }, "specLocation": "ml/put_trained_model_definition_part/MlPutTrainedModelDefinitionPartResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The model vocabulary, which must not be empty.", "name": "vocabulary", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "availability": { "serverless": {}, "stack": { "since": "8.2.0" } }, "description": "The optional model merges if required by the tokenizer.", "name": "merges", "required": false, "since": "8.2.0", "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "availability": { "serverless": {}, "stack": { "since": "8.9.0" } }, "description": "The optional vocabulary value scores if required by the tokenizer.", "name": "scores", "required": false, "since": "8.9.0", "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } } ] }, "description": "Creates a trained model vocabulary.\nThis API is supported only for natural language processing (NLP) models.\nThe vocabulary is stored in the index as described in `inference_config.*.vocabulary` of the trained model definition.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.put_trained_model_vocabulary" }, "path": [ { "description": "The unique identifier of the trained model.", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/put_trained_model_vocabulary/MlPutTrainedModelVocabularyRequest.ts#L24-L60" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.put_trained_model_vocabulary" }, "specLocation": "ml/put_trained_model_vocabulary/MlPutTrainedModelVocabularyResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Resets an anomaly detection job.\nAll model state and results are deleted. The job is ready to start over as if\nit had just been created.\nIt is not currently possible to reset multiple jobs using wildcards or a\ncomma separated list.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.reset_job" }, "path": [ { "description": "The ID of the job to reset.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Should this request wait until the operation has completed before\nreturning.", "name": "wait_for_completion", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies whether annotations that have been added by the\nuser should be deleted along with any auto-generated annotations when the job is\nreset.", "name": "delete_user_annotations", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/reset_job/MlResetJobRequest.ts#L23-L57" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.reset_job" }, "specLocation": "ml/reset_job/MlResetJobResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Refer to the description for the `delete_intervening_results` query parameter.", "name": "delete_intervening_results", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "description": "Reverts to a specific snapshot.\nThe machine learning features react quickly to anomalous input, learning new\nbehaviors in data. Highly anomalous input increases the variance in the\nmodels whilst the system learns whether this is a new step-change in behavior\nor a one-off event. In the case where this anomalous input is known to be a\none-off, then it might be appropriate to reset the model state to a time\nbefore this event. For example, you might consider reverting to a saved\nsnapshot after Black Friday or a critical system failure.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.revert_model_snapshot" }, "path": [ { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "You can specify `empty` as the . Reverting to the empty\nsnapshot means the anomaly detection job starts learning a new model from\nscratch when it is started.", "name": "snapshot_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "If true, deletes the results in the time period between the latest\nresults and the time of the reverted snapshot. It also resets the model\nto accept records for this time period. If you choose not to delete\nintervening results when reverting a snapshot, the job will not accept\ninput data that is older than the current time. If you want to resend\ndata, then delete the intervening results.", "name": "delete_intervening_results", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/revert_model_snapshot/MlRevertModelSnapshotRequest.ts#L23-L69" }, { "body": { "kind": "properties", "properties": [ { "name": "model", "required": true, "type": { "kind": "instance_of", "type": { "name": "ModelSnapshot", "namespace": "ml._types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.revert_model_snapshot" }, "specLocation": "ml/revert_model_snapshot/MlRevertModelSnapshotResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Sets a cluster wide upgrade_mode setting that prepares machine learning\nindices for an upgrade.\nWhen upgrading your cluster, in some circumstances you must restart your\nnodes and reindex your machine learning indices. In those circumstances,\nthere must be no machine learning jobs running. You can close the machine\nlearning jobs, do the upgrade, then open all the jobs again. Alternatively,\nyou can use this API to temporarily halt tasks associated with the jobs and\ndatafeeds and prevent new jobs from opening. You can also use this API\nduring upgrades that do not require you to reindex your machine learning\nindices, though stopping jobs is not a requirement in that case.\nYou can see the current value for the upgrade_mode setting by using the get\nmachine learning info API.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.set_upgrade_mode" }, "path": [], "query": [ { "description": "When `true`, it enables `upgrade_mode` which temporarily halts all job\nand datafeed tasks and prohibits new job and datafeed tasks from\nstarting.", "name": "enabled", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The time to wait for the request to be completed.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ml/set_upgrade_mode/MlSetUpgradeModeRequest.ts#L23-L56" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.set_upgrade_mode" }, "specLocation": "ml/set_upgrade_mode/MlSetUpgradeModeResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Starts a data frame analytics job.\nA data frame analytics job can be started and stopped multiple times\nthroughout its lifecycle.\nIf the destination index does not exist, it is created automatically the\nfirst time you start the data frame analytics job. The\n`index.number_of_shards` and `index.number_of_replicas` settings for the\ndestination index are copied from the source index. If there are multiple\nsource indices, the destination index copies the highest setting values. The\nmappings for the destination index are also copied from the source indices.\nIf there are any mapping conflicts, the job fails to start.\nIf the destination index exists, it is used as is. You can therefore set up\nthe destination index in advance with custom settings and mappings.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.start_data_frame_analytics" }, "path": [ { "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Controls the amount of time to wait until the data frame analytics job\nstarts.", "name": "timeout", "required": false, "serverDefault": "20s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ml/start_data_frame_analytics/MlStartDataFrameAnalyticsRequest.ts#L24-L60" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The ID of the node that the job was started on. If the job is allowed to open lazily and has not yet been assigned to a node, this value is an empty string.\nThe node ID of the node the job has been assigned to, or\nan empty string if it hasn't been assigned to a node. In\nserverless if the job has been assigned to run then the\nnode ID will be \"serverless\".", "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.start_data_frame_analytics" }, "specLocation": "ml/start_data_frame_analytics/MlStartDataFrameAnalyticsResponse.ts#L22-L34" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Refer to the description for the `end` query parameter.", "name": "end", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Refer to the description for the `start` query parameter.", "name": "start", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Refer to the description for the `timeout` query parameter.", "name": "timeout", "required": false, "serverDefault": "20s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ] }, "description": "Starts one or more datafeeds.\n\nA datafeed must be started in order to retrieve data from Elasticsearch. A datafeed can be started and stopped\nmultiple times throughout its lifecycle.\n\nBefore you can start a datafeed, the anomaly detection job must be open. Otherwise, an error occurs.\n\nIf you restart a stopped datafeed, it continues processing input data from the next millisecond after it was stopped.\nIf new data was indexed for that exact millisecond between stopping and starting, it will be ignored.\n\nWhen Elasticsearch security features are enabled, your datafeed remembers which roles the last user to create or\nupdate it had at the time of creation or update and runs the query using those same roles. If you provided secondary\nauthorization headers when you created or updated the datafeed, those credentials are used instead.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.start_datafeed" }, "path": [ { "description": "A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase\nalphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric\ncharacters.", "name": "datafeed_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "The time that the datafeed should end, which can be specified by using one of the following formats:\n\n* ISO 8601 format with milliseconds, for example `2017-01-22T06:00:00.000Z`\n* ISO 8601 format without milliseconds, for example `2017-01-22T06:00:00+00:00`\n* Milliseconds since the epoch, for example `1485061200000`\n\nDate-time arguments using either of the ISO 8601 formats must have a time zone designator, where `Z` is accepted\nas an abbreviation for UTC time. When a URL is expected (for example, in browsers), the `+` used in time zone\ndesignators must be encoded as `%2B`.\nThe end time value is exclusive. If you do not specify an end time, the datafeed\nruns continuously.", "name": "end", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "The time that the datafeed should begin, which can be specified by using the same formats as the `end` parameter.\nThis value is inclusive.\nIf you do not specify a start time and the datafeed is associated with a new anomaly detection job, the analysis\nstarts from the earliest time for which data is available.\nIf you restart a stopped datafeed and specify a start value that is earlier than the timestamp of the latest\nprocessed record, the datafeed continues from 1 millisecond after the timestamp of the latest processed record.", "name": "start", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "description": "Specifies the amount of time to wait until a datafeed starts.", "name": "timeout", "required": false, "serverDefault": "20s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ml/start_datafeed/MlStartDatafeedRequest.ts#L24-L91" }, { "body": { "kind": "properties", "properties": [ { "description": "The ID of the node that the job was started on. In serverless this will be the \"serverless\".\nIf the job is allowed to open lazily and has not yet been assigned to a node, this value is an empty string.", "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeIds", "namespace": "_types" } } }, { "description": "For a successful response, this value is always `true`. On failure, an exception is returned instead.", "name": "started", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.start_datafeed" }, "specLocation": "ml/start_datafeed/MlStartDatafeedResponse.ts#L22-L34" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Starts a trained model deployment, which allocates the model to every machine learning node.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.start_trained_model_deployment" }, "path": [ { "description": "The unique identifier of the trained model. Currently, only PyTorch models are supported.", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "The inference cache size (in memory outside the JVM heap) per node for the model.\nThe default value is the same size as the `model_size_bytes`. To disable the cache,\n`0b` can be provided.", "name": "cache_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "availability": { "stack": { "since": "8.8.0" } }, "description": "A unique identifier for the deployment of the model.", "name": "deployment_id", "required": false, "since": "8.8.0", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The number of model allocations on each node where the model is deployed.\nAll allocations on a node share the same copy of the model in memory but use\na separate set of threads to evaluate the model.\nIncreasing this value generally increases the throughput.\nIf this setting is greater than the number of hardware threads\nit will automatically be changed to a value less than the number of hardware threads.", "name": "number_of_allocations", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The deployment priority.", "name": "priority", "required": false, "type": { "kind": "instance_of", "type": { "name": "TrainingPriority", "namespace": "ml._types" } } }, { "description": "Specifies the number of inference requests that are allowed in the queue. After the number of requests exceeds\nthis value, new requests are rejected with a 429 error.", "name": "queue_capacity", "required": false, "serverDefault": 1024, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Sets the number of threads used by each model allocation during inference. This generally increases\nthe inference speed. The inference process is a compute-bound process; any number\ngreater than the number of available hardware threads on the machine does not increase the\ninference speed. If this setting is greater than the number of hardware threads\nit will automatically be changed to a value less than the number of hardware threads.", "name": "threads_per_allocation", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the amount of time to wait for the model to deploy.", "name": "timeout", "required": false, "serverDefault": "20s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Specifies the allocation status to wait for before returning.", "name": "wait_for", "required": false, "serverDefault": "started", "type": { "kind": "instance_of", "type": { "name": "DeploymentAllocationState", "namespace": "ml._types" } } } ], "specLocation": "ml/start_trained_model_deployment/MlStartTrainedModelDeploymentRequest.ts#L29-L92" }, { "body": { "kind": "properties", "properties": [ { "name": "assignment", "required": true, "type": { "kind": "instance_of", "type": { "name": "TrainedModelAssignment", "namespace": "ml._types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.start_trained_model_deployment" }, "specLocation": "ml/start_trained_model_deployment/MlStartTrainedModelDeploymentResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Stops one or more data frame analytics jobs.\nA data frame analytics job can be started and stopped multiple times\nthroughout its lifecycle.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.stop_data_frame_analytics" }, "path": [ { "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no data frame analytics\njobs that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nThe default value is true, which returns an empty data_frame_analytics\narray when there are no matches and the subset of results when there are\npartial matches. If this parameter is false, the request returns a 404\nstatus code when there are no matches or only partial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, the data frame analytics job is stopped forcefully.", "name": "force", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Controls the amount of time to wait until the data frame analytics job\nstops. Defaults to 20 seconds.", "name": "timeout", "required": false, "serverDefault": "20s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ml/stop_data_frame_analytics/MlStopDataFrameAnalyticsRequest.ts#L24-L70" }, { "body": { "kind": "properties", "properties": [ { "name": "stopped", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.stop_data_frame_analytics" }, "specLocation": "ml/stop_data_frame_analytics/MlStopDataFrameAnalyticsResponse.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Refer to the description for the `allow_no_match` query parameter.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Refer to the description for the `force` query parameter.", "name": "force", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Refer to the description for the `timeout` query parameter.", "name": "timeout", "required": false, "serverDefault": "20s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ] }, "description": "Stops one or more datafeeds.\nA datafeed that is stopped ceases to retrieve data from Elasticsearch. A datafeed can be started and stopped\nmultiple times throughout its lifecycle.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.stop_datafeed" }, "path": [ { "description": "Identifier for the datafeed. You can stop multiple datafeeds in a single API request by using a comma-separated\nlist of datafeeds or a wildcard expression. You can close all datafeeds by using `_all` or by specifying `*` as\nthe identifier.", "name": "datafeed_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request:\n\n* Contains wildcard expressions and there are no datafeeds that match.\n* Contains the `_all` string or no identifiers and there are no matches.\n* Contains wildcard expressions and there are only partial matches.\n\nIf `true`, the API returns an empty datafeeds array when there are no matches and the subset of results when\nthere are partial matches. If `false`, the API returns a 404 status code when there are no matches or only\npartial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the datafeed is stopped forcefully.", "name": "force", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies the amount of time to wait until a datafeed stops.", "name": "timeout", "required": false, "serverDefault": "20s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ml/stop_datafeed/MlStopDatafeedRequest.ts#L24-L78" }, { "body": { "kind": "properties", "properties": [ { "name": "stopped", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.stop_datafeed" }, "specLocation": "ml/stop_datafeed/MlStopDatafeedResponse.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Stops a trained model deployment.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.stop_trained_model_deployment" }, "path": [ { "description": "The unique identifier of the trained model.", "name": "model_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request: contains wildcard expressions and there are no deployments that match;\ncontains the `_all` string or no identifiers and there are no matches; or contains wildcard expressions and\nthere are only partial matches. By default, it returns an empty array when there are no matches and the subset of results when there are partial matches.\nIf `false`, the request returns a 404 status code when there are no matches or only partial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Forcefully stops the deployment, even if it is used by ingest pipelines. You can't use these pipelines until you\nrestart the model deployment.", "name": "force", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/stop_trained_model_deployment/MlStopTrainedModelDeploymentRequest.ts#L23-L53" }, { "body": { "kind": "properties", "properties": [ { "name": "stopped", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.stop_trained_model_deployment" }, "specLocation": "ml/stop_trained_model_deployment/MlStopTrainedModelDeploymentResponse.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "A description of the job.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The approximate maximum amount of memory resources that are permitted for\nanalytical processing. If your `elasticsearch.yml` file contains an\n`xpack.ml.max_model_memory_limit` setting, an error occurs when you try\nto create data frame analytics jobs that have `model_memory_limit` values\ngreater than that setting.", "docId": "ml-settings", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html", "name": "model_memory_limit", "required": false, "serverDefault": "1gb", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The maximum number of threads to be used by the analysis. Using more\nthreads may decrease the time necessary to complete the analysis at the\ncost of using more CPU. Note that the process may use additional threads\nfor operational functionality other than the analysis itself.", "name": "max_num_threads", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies whether this job can start when there is insufficient machine\nlearning node capacity for it to be immediately assigned to a node.", "docId": "ml-settings", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html", "name": "allow_lazy_start", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "description": "Updates an existing data frame analytics job.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.update_data_frame_analytics" }, "path": [ { "description": "Identifier for the data frame analytics job. This identifier can contain\nlowercase alphanumeric characters (a-z and 0-9), hyphens, and\nunderscores. It must start and end with alphanumeric characters.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/update_data_frame_analytics/MlUpdateDataFrameAnalyticsRequest.ts#L24-L72" }, { "body": { "kind": "properties", "properties": [ { "name": "authorization", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsAuthorization", "namespace": "ml._types" } } }, { "name": "allow_lazy_start", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "analysis", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisContainer", "namespace": "ml._types" } } }, { "name": "analyzed_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalysisAnalyzedFields", "namespace": "ml._types" } } }, { "name": "create_time", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "dest", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsDestination", "namespace": "ml._types" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "max_num_threads", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "model_memory_limit", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "source", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataframeAnalyticsSource", "namespace": "ml._types" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.update_data_frame_analytics" }, "specLocation": "ml/update_data_frame_analytics/MlUpdateDataFrameAnalyticsResponse.ts#L30-L45" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "If set, the datafeed performs aggregation searches. Support for aggregations is limited and should be used only\nwith low cardinality data.", "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AggregationContainer", "namespace": "_types.aggregations" } } } }, { "description": "Datafeeds might search over long time periods, for several months or years. This search is split into time\nchunks in order to ensure the load on Elasticsearch is managed. Chunking configuration controls how the size of\nthese time chunks are calculated; it is an advanced configuration option.", "name": "chunking_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "ChunkingConfig", "namespace": "ml._types" } } }, { "description": "Specifies whether the datafeed checks for missing data and the size of the window. The datafeed can optionally\nsearch over indices that have already been read in an effort to determine whether any data has subsequently been\nadded to the index. If missing data is found, it is a good indication that the `query_delay` is set too low and\nthe data is being indexed after the datafeed has passed that moment in time. This check runs only on real-time\ndatafeeds.", "name": "delayed_data_check_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "DelayedDataCheckConfig", "namespace": "ml._types" } } }, { "description": "The interval at which scheduled queries are made while the datafeed runs in real time. The default value is\neither the bucket span for short bucket spans, or, for longer bucket spans, a sensible fraction of the bucket\nspan. When `frequency` is shorter than the bucket span, interim results for the last (partial) bucket are\nwritten then eventually overwritten by the full bucket results. If the datafeed uses aggregations, this value\nmust be divisible by the interval of the date histogram aggregation.", "name": "frequency", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "aliases": [ "indexes" ], "description": "An array of index names. Wildcards are supported. If any of the indices are in remote clusters, the machine\nlearning nodes must have the `remote_cluster_client` role.", "name": "indices", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Specifies index expansion options that are used during search.", "name": "indices_options", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndicesOptions", "namespace": "_types" } } }, { "name": "job_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "If a real-time datafeed has never seen any data (including during any initial training period), it automatically\nstops and closes the associated job after this many real-time searches return no documents. In other words,\nit stops after `frequency` times `max_empty_searches` of real-time operation. If not set, a datafeed with no\nend time that sees no data remains started until it is explicitly stopped. By default, it is not set.", "name": "max_empty_searches", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The Elasticsearch query domain-specific language (DSL). This value corresponds to the query object in an\nElasticsearch search POST body. All the options that are supported by Elasticsearch can be used, as this\nobject is passed verbatim to Elasticsearch. Note that if you change the query, the analyzed data is also\nchanged. Therefore, the time required to learn might be long and the understandability of the results is\nunpredictable. If you want to make significant changes to the source data, it is recommended that you\nclone the job and datafeed and make the amendments in the clone. Let both run in parallel and close one\nwhen you are satisfied with the results of the job.", "name": "query", "required": false, "serverDefault": "{\"match_all\": {\"boost\": 1}}", "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "The number of seconds behind real time that data is queried. For example, if data from 10:04 a.m. might\nnot be searchable in Elasticsearch until 10:06 a.m., set this property to 120 seconds. The default\nvalue is randomly selected between `60s` and `120s`. This randomness improves the query performance\nwhen there are multiple jobs running on the same node.", "name": "query_delay", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Specifies runtime fields for the datafeed search.", "name": "runtime_mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } }, { "description": "Specifies scripts that evaluate custom expressions and returns script fields to the datafeed.\nThe detector configuration objects in a job can contain functions that use these script fields.", "name": "script_fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ScriptField", "namespace": "_types" } } } }, { "description": "The size parameter that is used in Elasticsearch searches when the datafeed does not use aggregations.\nThe maximum value is the value of `index.max_result_window`.", "name": "scroll_size", "required": false, "serverDefault": 1000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ] }, "description": "Updates the properties of a datafeed.\nYou must stop and start the datafeed for the changes to be applied.\nWhen Elasticsearch security features are enabled, your datafeed remembers which roles the user who updated it had at\nthe time of the update and runs the query using those same roles. If you provide secondary authorization headers,\nthose credentials are used instead.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.update_datafeed" }, "path": [ { "description": "A numerical character string that uniquely identifies the datafeed.\nThis identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores.\nIt must start and end with alphanumeric characters.", "name": "datafeed_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "If `true`, wildcard indices expressions that resolve into no concrete indices are ignored. This includes the\n`_all` string or when no indices are specified.", "name": "allow_no_indices", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Type of index that wildcard patterns can match. If the request can target data streams, this argument determines\nwhether wildcard expressions match hidden data streams. Supports comma-separated values. Valid values are:\n\n* `all`: Match any data stream or index, including hidden ones.\n* `closed`: Match closed, non-hidden indices. Also matches any non-hidden data stream. Data streams cannot be closed.\n* `hidden`: Match hidden data streams and hidden indices. Must be combined with `open`, `closed`, or both.\n* `none`: Wildcard patterns are not accepted.\n* `open`: Match open, non-hidden indices. Also matches any non-hidden data stream.", "name": "expand_wildcards", "required": false, "serverDefault": "open", "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "deprecation": { "description": "", "version": "7.16.0" }, "description": "If `true`, concrete, expanded or aliased indices are ignored when frozen.", "name": "ignore_throttled", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, unavailable indices (missing or closed) are ignored.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "ml/update_datafeed/MlUpdateDatafeedRequest.ts#L31-L162" }, { "body": { "kind": "properties", "properties": [ { "name": "authorization", "required": false, "type": { "kind": "instance_of", "type": { "name": "DatafeedAuthorization", "namespace": "ml._types" } } }, { "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AggregationContainer", "namespace": "_types.aggregations" } } } }, { "name": "chunking_config", "required": true, "type": { "kind": "instance_of", "type": { "name": "ChunkingConfig", "namespace": "ml._types" } } }, { "name": "delayed_data_check_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "DelayedDataCheckConfig", "namespace": "ml._types" } } }, { "name": "datafeed_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "frequency", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "indices_options", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndicesOptions", "namespace": "_types" } } }, { "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "max_empty_searches", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "name": "query_delay", "required": true, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "runtime_mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } }, { "name": "script_fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ScriptField", "namespace": "_types" } } } }, { "name": "scroll_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.update_datafeed" }, "specLocation": "ml/update_datafeed/MlUpdateDatafeedResponse.ts#L31-L49" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The items to add to the filter.", "name": "add_items", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "A description for the filter.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The items to remove from the filter.", "name": "remove_items", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "description": "Updates the description of a filter, adds items, or removes items from the list.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.update_filter" }, "path": [ { "description": "A string that uniquely identifies a filter.", "name": "filter_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/update_filter/MlUpdateFilterRequest.ts#L23-L51" }, { "body": { "kind": "properties", "properties": [ { "name": "description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "filter_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "items", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.update_filter" }, "specLocation": "ml/update_filter/MlUpdateFilterResponse.ts#L22-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Advanced configuration option. Specifies whether this job can open when\nthere is insufficient machine learning node capacity for it to be\nimmediately assigned to a node. If `false` and a machine learning node\nwith capacity to run the job cannot immediately be found, the open\nanomaly detection jobs API returns an error. However, this is also\nsubject to the cluster-wide `xpack.ml.max_lazy_ml_nodes` setting. If this\noption is set to `true`, the open anomaly detection jobs API does not\nreturn an error and the job waits in the opening state until sufficient\nmachine learning node capacity is available.", "docId": "ml-settings", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html", "name": "allow_lazy_open", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "analysis_limits", "required": false, "type": { "kind": "instance_of", "type": { "name": "AnalysisMemoryLimit", "namespace": "ml._types" } } }, { "description": "Advanced configuration option. The time between each periodic persistence\nof the model.\nThe default value is a randomized value between 3 to 4 hours, which\navoids all jobs persisting at exactly the same time. The smallest allowed\nvalue is 1 hour.\nFor very large models (several GB), persistence could take 10-20 minutes,\nso do not set the value too low.\nIf the job is open when you make the update, you must stop the datafeed,\nclose the job, then reopen the job and restart the datafeed for the\nchanges to take effect.", "name": "background_persist_interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Advanced configuration option. Contains custom meta data about the job.\nFor example, it can contain custom URL information as shown in Adding\ncustom URLs to machine learning results.", "docId": "ml.customUrls", "name": "custom_settings", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "categorization_filters", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "A description of the job.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "model_plot_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "ModelPlotConfig", "namespace": "ml._types" } } }, { "name": "model_prune_window", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Advanced configuration option, which affects the automatic removal of old\nmodel snapshots for this job. It specifies a period of time (in days)\nafter which only the first snapshot per day is retained. This period is\nrelative to the timestamp of the most recent snapshot for this job. Valid\nvalues range from 0 to `model_snapshot_retention_days`. For jobs created\nbefore version 7.8.0, the default value matches\n`model_snapshot_retention_days`.", "docId": "ml-model-snapshots", "docUrl": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-ad-run-jobs.html#ml-ad-model-snapshots", "name": "daily_model_snapshot_retention_after_days", "required": false, "serverDefault": 1, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Advanced configuration option, which affects the automatic removal of old\nmodel snapshots for this job. It specifies the maximum period of time (in\ndays) that snapshots are retained. This period is relative to the\ntimestamp of the most recent snapshot for this job.", "docId": "ml-model-snapshots", "docUrl": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-ad-run-jobs.html#ml-ad-model-snapshots", "name": "model_snapshot_retention_days", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Advanced configuration option. The period over which adjustments to the\nscore are applied, as new data is seen.", "name": "renormalization_window_days", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Advanced configuration option. The period of time (in days) that results\nare retained. Age is calculated relative to the timestamp of the latest\nbucket result. If this property has a non-null value, once per day at\n00:30 (server time), results that are the specified number of days older\nthan the latest bucket result are deleted from Elasticsearch. The default\nvalue is null, which means all results are retained.", "name": "results_retention_days", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "A list of job groups. A job can belong to no groups or many.", "name": "groups", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "An array of detector update objects.", "name": "detectors", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Detector", "namespace": "ml._types" } } } }, { "description": "Settings related to how categorization interacts with partition fields.", "name": "per_partition_categorization", "required": false, "type": { "kind": "instance_of", "type": { "name": "PerPartitionCategorization", "namespace": "ml._types" } } } ] }, "description": "Updates certain properties of an anomaly detection job.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.update_job" }, "path": [ { "description": "Identifier for the job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/update_job/MlUpdateJobRequest.ts#L33-L138" }, { "body": { "kind": "properties", "properties": [ { "name": "allow_lazy_open", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "analysis_config", "required": true, "type": { "kind": "instance_of", "type": { "name": "AnalysisConfigRead", "namespace": "ml._types" } } }, { "name": "analysis_limits", "required": true, "type": { "kind": "instance_of", "type": { "name": "AnalysisLimits", "namespace": "ml._types" } } }, { "name": "background_persist_interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "create_time", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "finished_time", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "custom_settings", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "daily_model_snapshot_retention_after_days", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "data_description", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataDescription", "namespace": "ml._types" } } }, { "name": "datafeed_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "Datafeed", "namespace": "ml._types" } } }, { "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "groups", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "job_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "job_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "model_plot_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "ModelPlotConfig", "namespace": "ml._types" } } }, { "name": "model_snapshot_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "model_snapshot_retention_days", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "renormalization_window_days", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "results_index_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "results_retention_days", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.update_job" }, "specLocation": "ml/update_job/MlUpdateJobResponse.ts#L29-L53" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "A description of the model snapshot.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, this snapshot will not be deleted during automatic cleanup of\nsnapshots older than `model_snapshot_retention_days`. However, this\nsnapshot will be deleted when the job is deleted.", "name": "retain", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "description": "Updates certain properties of a snapshot.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.update_model_snapshot" }, "path": [ { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Identifier for the model snapshot.", "name": "snapshot_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "ml/update_model_snapshot/MlUpdateModelSnapshotRequest.ts#L23-L54" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "model", "required": true, "type": { "kind": "instance_of", "type": { "name": "ModelSnapshot", "namespace": "ml._types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.update_model_snapshot" }, "specLocation": "ml/update_model_snapshot/MlUpdateModelSnapshotResponse.ts#L22-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Upgrades an anomaly detection model snapshot to the latest major version.\nOver time, older snapshot formats are deprecated and removed. Anomaly\ndetection jobs support only snapshots that are from the current or previous\nmajor version.\nThis API provides a means to upgrade a snapshot to the current major version.\nThis aids in preparing the cluster for an upgrade to the next major version.\nOnly one snapshot per anomaly detection job can be upgraded at a time and the\nupgraded snapshot cannot be the current snapshot of the anomaly detection\njob.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.upgrade_job_snapshot" }, "path": [ { "description": "Identifier for the anomaly detection job.", "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "A numerical character string that uniquely identifies the model snapshot.", "name": "snapshot_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "When true, the API won’t respond until the upgrade is complete.\nOtherwise, it responds as soon as the upgrade task is assigned to a node.", "name": "wait_for_completion", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Controls the time to wait for the request to complete.", "name": "timeout", "required": false, "serverDefault": "30m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "ml/upgrade_job_snapshot/MlUpgradeJobSnapshotRequest.ts#L24-L63" }, { "body": { "kind": "properties", "properties": [ { "description": "The ID of the node that the upgrade task was started on if it is still running. In serverless this will be the \"serverless\".", "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } }, { "description": "When true, this means the task is complete. When false, it is still running.", "name": "completed", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "ml.upgrade_job_snapshot" }, "specLocation": "ml/upgrade_job_snapshot/MlUpgradeJobSnapshotResponse.ts#L22-L31" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "job_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "analysis_config", "required": false, "type": { "kind": "instance_of", "type": { "name": "AnalysisConfig", "namespace": "ml._types" } } }, { "name": "analysis_limits", "required": false, "type": { "kind": "instance_of", "type": { "name": "AnalysisLimits", "namespace": "ml._types" } } }, { "name": "data_description", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataDescription", "namespace": "ml._types" } } }, { "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "model_plot", "required": false, "type": { "kind": "instance_of", "type": { "name": "ModelPlotConfig", "namespace": "ml._types" } } }, { "name": "model_snapshot_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "model_snapshot_retention_days", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "results_index_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ] }, "description": "Validates an anomaly detection job.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.validate" }, "path": [], "query": [], "specLocation": "ml/validate/MlValidateJobRequest.ts#L27-L44" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.validate" }, "specLocation": "ml/validate/MlValidateJobResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "detector", "kind": "value", "value": { "kind": "instance_of", "type": { "name": "Detector", "namespace": "ml._types" } } }, "description": "Validates an anomaly detection detector.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ml.validate_detector" }, "path": [], "query": [], "specLocation": "ml/validate_detector/MlValidateDetectorRequest.ts#L23-L31" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "ml.validate_detector" }, "specLocation": "ml/validate_detector/MlValidateDetectorResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "operations", "kind": "value", "value": { "kind": "array_of", "value": { "items": [ { "kind": "instance_of", "type": { "name": "OperationContainer", "namespace": "_global.bulk" } }, { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "monitoring.bulk" } }, { "kind": "instance_of", "type": { "name": "TPartialDocument", "namespace": "monitoring.bulk" } } ], "kind": "instance_of", "type": { "name": "UpdateAction", "namespace": "_global.bulk" } }, { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "monitoring.bulk" } } ], "kind": "union_of" } } }, "description": "Used by the monitoring features to send monitoring data.", "generics": [ { "name": "TDocument", "namespace": "monitoring.bulk" }, { "name": "TPartialDocument", "namespace": "monitoring.bulk" } ], "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "monitoring.bulk" }, "path": [ { "deprecation": { "description": "", "version": "7.0.0" }, "description": "Default document type for items which don't provide one", "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "query": [ { "description": "Identifier of the monitored system", "name": "system_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "", "name": "system_api_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Collection interval (e.g., '10s' or '10000ms') of the payload", "name": "interval", "required": true, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "monitoring/bulk/BulkMonitoringRequest.ts#L24-L59" }, { "body": { "kind": "properties", "properties": [ { "name": "error", "required": false, "type": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } }, { "description": "True if there is was an error", "name": "errors", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Was collection disabled?", "name": "ignored", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "took", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "monitoring.bulk" }, "specLocation": "monitoring/bulk/BulkMonitoringResponse.ts#L23-L32" }, { "kind": "interface", "name": { "name": "AdaptiveSelection", "namespace": "nodes._types" }, "properties": [ { "description": "The exponentially weighted moving average queue size of search requests on the keyed node.", "name": "avg_queue_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The exponentially weighted moving average response time of search requests on the keyed node.", "name": "avg_response_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The exponentially weighted moving average response time, in nanoseconds, of search requests on the keyed node.", "name": "avg_response_time_ns", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The exponentially weighted moving average service time of search requests on the keyed node.", "name": "avg_service_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The exponentially weighted moving average service time, in nanoseconds, of search requests on the keyed node.", "name": "avg_service_time_ns", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The number of outstanding search requests to the keyed node from the node these stats are for.", "name": "outgoing_searches", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The rank of this node; used for shard selection when routing search requests.", "name": "rank", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/_types/Stats.ts#L403-L432" }, { "kind": "interface", "name": { "name": "Breaker", "namespace": "nodes._types" }, "properties": [ { "description": "Estimated memory used for the operation.", "name": "estimated_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Estimated memory used, in bytes, for the operation.", "name": "estimated_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Memory limit for the circuit breaker.", "name": "limit_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Memory limit, in bytes, for the circuit breaker.", "name": "limit_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "A constant that all estimates for the circuit breaker are multiplied with to calculate a final estimate.", "name": "overhead", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "Total number of times the circuit breaker has been triggered and prevented an out of memory error.", "name": "tripped", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L434-L459" }, { "kind": "interface", "name": { "name": "Cgroup", "namespace": "nodes._types" }, "properties": [ { "description": "Contains statistics about `cpuacct` control group for the node.", "name": "cpuacct", "required": false, "type": { "kind": "instance_of", "type": { "name": "CpuAcct", "namespace": "nodes._types" } } }, { "description": "Contains statistics about `cpu` control group for the node.", "name": "cpu", "required": false, "type": { "kind": "instance_of", "type": { "name": "CgroupCpu", "namespace": "nodes._types" } } }, { "description": "Contains statistics about the memory control group for the node.", "name": "memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "CgroupMemory", "namespace": "nodes._types" } } } ], "specLocation": "nodes/_types/Stats.ts#L461-L474" }, { "kind": "interface", "name": { "name": "CgroupCpu", "namespace": "nodes._types" }, "properties": [ { "description": "The `cpu` control group to which the Elasticsearch process belongs.", "name": "control_group", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The period of time, in microseconds, for how regularly all tasks in the same cgroup as the Elasticsearch process should have their access to CPU resources reallocated.", "name": "cfs_period_micros", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The total amount of time, in microseconds, for which all tasks in the same cgroup as the Elasticsearch process can run during one period `cfs_period_micros`.", "name": "cfs_quota_micros", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Contains CPU statistics for the node.", "name": "stat", "required": false, "type": { "kind": "instance_of", "type": { "name": "CgroupCpuStat", "namespace": "nodes._types" } } } ], "specLocation": "nodes/_types/Stats.ts#L487-L504" }, { "kind": "interface", "name": { "name": "CgroupCpuStat", "namespace": "nodes._types" }, "properties": [ { "description": "The number of reporting periods (as specified by `cfs_period_micros`) that have elapsed.", "name": "number_of_elapsed_periods", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The number of times all tasks in the same cgroup as the Elasticsearch process have been throttled.", "name": "number_of_times_throttled", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The total amount of time, in nanoseconds, for which all tasks in the same cgroup as the Elasticsearch process have been throttled.", "name": "time_throttled_nanos", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitNanos", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L506-L519" }, { "kind": "interface", "name": { "name": "CgroupMemory", "namespace": "nodes._types" }, "properties": [ { "description": "The `memory` control group to which the Elasticsearch process belongs.", "name": "control_group", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The maximum amount of user memory (including file cache) allowed for all tasks in the same cgroup as the Elasticsearch process.\nThis value can be too big to store in a `long`, so is returned as a string so that the value returned can exactly match what the underlying operating system interface returns.\nAny value that is too large to parse into a `long` almost certainly means no limit has been set for the cgroup.", "name": "limit_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The total current memory usage by processes in the cgroup, in bytes, by all tasks in the same cgroup as the Elasticsearch process.\nThis value is stored as a string for consistency with `limit_in_bytes`.", "name": "usage_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/_types/Stats.ts#L521-L537" }, { "kind": "interface", "name": { "name": "Client", "namespace": "nodes._types" }, "properties": [ { "description": "Unique ID for the HTTP client.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Reported agent for the HTTP client.\nIf unavailable, this property is not included in the response.", "name": "agent", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Local address for the HTTP connection.", "name": "local_address", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Remote address for the HTTP connection.", "name": "remote_address", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The URI of the client’s most recent request.", "name": "last_uri", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Time at which the client opened the connection.", "name": "opened_time_millis", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Time at which the client closed the connection if the connection is closed.", "name": "closed_time_millis", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Time of the most recent request from this client.", "name": "last_request_time_millis", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of requests from this client.", "name": "request_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Cumulative size in bytes of all requests from this client.", "name": "request_size_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Value from the client’s `x-opaque-id` HTTP header.\nIf unavailable, this property is not included in the response.", "name": "x_opaque_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/_types/Stats.ts#L649-L696" }, { "kind": "interface", "name": { "name": "ClusterAppliedStats", "namespace": "nodes._types" }, "properties": [ { "name": "recordings", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Recording", "namespace": "nodes._types" } } } } ], "specLocation": "nodes/_types/Stats.ts#L221-L223" }, { "kind": "interface", "name": { "name": "ClusterStateQueue", "namespace": "nodes._types" }, "properties": [ { "description": "Total number of cluster states in queue.", "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of pending cluster states in queue.", "name": "pending", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of committed cluster states in queue.", "name": "committed", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L248-L261" }, { "kind": "interface", "name": { "name": "ClusterStateUpdate", "namespace": "nodes._types" }, "properties": [ { "description": "The number of cluster state update attempts that did not change the cluster state since the node started.", "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The cumulative amount of time spent computing no-op cluster state updates since the node started.", "name": "computation_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The cumulative amount of time, in milliseconds, spent computing no-op cluster state updates since the node started.", "name": "computation_time_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "The cumulative amount of time spent publishing cluster state updates which ultimately succeeded, which includes everything from the start of the publication (just after the computation of the new cluster state) until the publication has finished and the master node is ready to start processing the next state update.\nThis includes the time measured by `context_construction_time`, `commit_time`, `completion_time` and `master_apply_time`.", "name": "publication_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The cumulative amount of time, in milliseconds, spent publishing cluster state updates which ultimately succeeded, which includes everything from the start of the publication (just after the computation of the new cluster state) until the publication has finished and the master node is ready to start processing the next state update.\nThis includes the time measured by `context_construction_time`, `commit_time`, `completion_time` and `master_apply_time`.", "name": "publication_time_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "The cumulative amount of time spent constructing a publication context since the node started for publications that ultimately succeeded.\nThis statistic includes the time spent computing the difference between the current and new cluster state preparing a serialized representation of this difference.", "name": "context_construction_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The cumulative amount of time, in milliseconds, spent constructing a publication context since the node started for publications that ultimately succeeded.\nThis statistic includes the time spent computing the difference between the current and new cluster state preparing a serialized representation of this difference.", "name": "context_construction_time_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "The cumulative amount of time spent waiting for a successful cluster state update to commit, which measures the time from the start of each publication until a majority of the master-eligible nodes have written the state to disk and confirmed the write to the elected master.", "name": "commit_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The cumulative amount of time, in milliseconds, spent waiting for a successful cluster state update to commit, which measures the time from the start of each publication until a majority of the master-eligible nodes have written the state to disk and confirmed the write to the elected master.", "name": "commit_time_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "The cumulative amount of time spent waiting for a successful cluster state update to complete, which measures the time from the start of each publication until all the other nodes have notified the elected master that they have applied the cluster state.", "name": "completion_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The cumulative amount of time, in milliseconds, spent waiting for a successful cluster state update to complete, which measures the time from the start of each publication until all the other nodes have notified the elected master that they have applied the cluster state.", "name": "completion_time_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "The cumulative amount of time spent successfully applying cluster state updates on the elected master since the node started.", "name": "master_apply_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The cumulative amount of time, in milliseconds, spent successfully applying cluster state updates on the elected master since the node started.", "name": "master_apply_time_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "The cumulative amount of time spent notifying listeners of a no-op cluster state update since the node started.", "name": "notification_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The cumulative amount of time, in milliseconds, spent notifying listeners of a no-op cluster state update since the node started.", "name": "notification_time_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L278-L343" }, { "kind": "interface", "name": { "name": "Context", "namespace": "nodes._types" }, "properties": [ { "name": "context", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "compilations", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "cache_evictions", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "compilation_limit_triggered", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L997-L1002" }, { "kind": "interface", "name": { "name": "Cpu", "namespace": "nodes._types" }, "properties": [ { "name": "percent", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "sys", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "sys_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "user", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "user_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "load_average", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } } ], "specLocation": "nodes/_types/Stats.ts#L539-L548" }, { "kind": "interface", "name": { "name": "CpuAcct", "namespace": "nodes._types" }, "properties": [ { "description": "The `cpuacct` control group to which the Elasticsearch process belongs.", "name": "control_group", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The total CPU time, in nanoseconds, consumed by all tasks in the same cgroup as the Elasticsearch process.", "name": "usage_nanos", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitNanos", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L476-L485" }, { "kind": "interface", "name": { "name": "DataPathStats", "namespace": "nodes._types" }, "properties": [ { "description": "Total amount of disk space available to this Java virtual machine on this file store.", "name": "available", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Total number of bytes available to this Java virtual machine on this file store.", "name": "available_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "disk_queue", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "disk_reads", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "disk_read_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "disk_read_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "disk_writes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "disk_write_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "disk_write_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total amount of unallocated disk space in the file store.", "name": "free", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Total number of unallocated bytes in the file store.", "name": "free_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Mount point of the file store (for example: `/dev/sda2`).", "name": "mount", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Path to the file store.", "name": "path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Total size of the file store.", "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Total size of the file store in bytes.", "name": "total_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Type of the file store (ex: ext4).", "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/_types/Stats.ts#L550-L594" }, { "kind": "interface", "name": { "name": "Discovery", "namespace": "nodes._types" }, "properties": [ { "description": "Contains statistics for the cluster state queue of the node.", "name": "cluster_state_queue", "required": false, "type": { "kind": "instance_of", "type": { "name": "ClusterStateQueue", "namespace": "nodes._types" } } }, { "description": "Contains statistics for the published cluster states of the node.", "name": "published_cluster_states", "required": false, "type": { "kind": "instance_of", "type": { "name": "PublishedClusterStates", "namespace": "nodes._types" } } }, { "description": "Contains low-level statistics about how long various activities took during cluster state updates while the node was the elected master.\nOmitted if the node is not master-eligible.\nEvery field whose name ends in `_time` within this object is also represented as a raw number of milliseconds in a field whose name ends in `_time_millis`.\nThe human-readable fields with a `_time` suffix are only returned if requested with the `?human=true` query parameter.", "name": "cluster_state_update", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ClusterStateUpdate", "namespace": "nodes._types" } } } }, { "name": "serialized_cluster_states", "required": false, "type": { "kind": "instance_of", "type": { "name": "SerializedClusterState", "namespace": "nodes._types" } } }, { "name": "cluster_applier_stats", "required": false, "type": { "kind": "instance_of", "type": { "name": "ClusterAppliedStats", "namespace": "nodes._types" } } } ], "specLocation": "nodes/_types/Stats.ts#L201-L219" }, { "inherits": { "type": { "name": "MemoryStats", "namespace": "nodes._types" } }, "kind": "interface", "name": { "name": "ExtendedMemoryStats", "namespace": "nodes._types" }, "properties": [ { "description": "Percentage of free memory.", "name": "free_percent", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Percentage of used memory.", "name": "used_percent", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L622-L631" }, { "kind": "interface", "name": { "name": "FileSystem", "namespace": "nodes._types" }, "properties": [ { "description": "List of all file stores.", "name": "data", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "DataPathStats", "namespace": "nodes._types" } } } }, { "description": "Last time the file stores statistics were refreshed.\nRecorded in milliseconds since the Unix Epoch.", "name": "timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Contains statistics for all file stores of the node.", "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "FileSystemTotal", "namespace": "nodes._types" } } }, { "description": "Contains I/O statistics for the node.", "name": "io_stats", "required": false, "type": { "kind": "instance_of", "type": { "name": "IoStats", "namespace": "nodes._types" } } } ], "specLocation": "nodes/_types/Stats.ts#L698-L716" }, { "kind": "interface", "name": { "name": "FileSystemTotal", "namespace": "nodes._types" }, "properties": [ { "description": "Total disk space available to this Java virtual machine on all file stores.\nDepending on OS or process level restrictions, this might appear less than `free`.\nThis is the actual amount of free disk space the Elasticsearch node can utilise.", "name": "available", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Total number of bytes available to this Java virtual machine on all file stores.\nDepending on OS or process level restrictions, this might appear less than `free_in_bytes`.\nThis is the actual amount of free disk space the Elasticsearch node can utilise.", "name": "available_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total unallocated disk space in all file stores.", "name": "free", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Total number of unallocated bytes in all file stores.", "name": "free_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total size of all file stores.", "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Total size of all file stores in bytes.", "name": "total_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L757-L786" }, { "kind": "interface", "name": { "name": "GarbageCollector", "namespace": "nodes._types" }, "properties": [ { "description": "Contains statistics about JVM garbage collectors for the node.", "name": "collectors", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "GarbageCollectorTotal", "namespace": "nodes._types" } } } } ], "specLocation": "nodes/_types/Stats.ts#L923-L928" }, { "kind": "interface", "name": { "name": "GarbageCollectorTotal", "namespace": "nodes._types" }, "properties": [ { "description": "Total number of JVM garbage collectors that collect objects.", "name": "collection_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total time spent by JVM collecting objects.", "name": "collection_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Total time, in milliseconds, spent by JVM collecting objects.", "name": "collection_time_in_millis", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L930-L943" }, { "kind": "interface", "name": { "name": "Http", "namespace": "nodes._types" }, "properties": [ { "description": "Current number of open HTTP connections for the node.", "name": "current_open", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Total number of HTTP connections opened for the node.", "name": "total_opened", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Information on current and recently-closed HTTP client connections.\nClients that have been closed longer than the `http.client_stats.closed_channels.max_age` setting will not be represented here.", "name": "clients", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Client", "namespace": "nodes._types" } } } } ], "specLocation": "nodes/_types/Stats.ts#L633-L647" }, { "kind": "interface", "name": { "name": "IndexingPressure", "namespace": "nodes._types" }, "properties": [ { "description": "Contains statistics for memory consumption from indexing load.", "name": "memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexingPressureMemory", "namespace": "nodes._types" } } } ], "specLocation": "nodes/_types/Stats.ts#L116-L121" }, { "kind": "interface", "name": { "name": "IndexingPressureMemory", "namespace": "nodes._types" }, "properties": [ { "description": "Configured memory limit for the indexing requests.\nReplica requests have an automatic limit that is 1.5x this value.", "name": "limit", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Configured memory limit, in bytes, for the indexing requests.\nReplica requests have an automatic limit that is 1.5x this value.", "name": "limit_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Contains statistics for current indexing load.", "name": "current", "required": false, "type": { "kind": "instance_of", "type": { "name": "PressureMemory", "namespace": "nodes._types" } } }, { "description": "Contains statistics for the cumulative indexing load since the node started.", "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "PressureMemory", "namespace": "nodes._types" } } } ], "specLocation": "nodes/_types/Stats.ts#L123-L142" }, { "kind": "interface", "name": { "name": "Ingest", "namespace": "nodes._types" }, "properties": [ { "description": "Contains statistics about ingest pipelines for the node.", "name": "pipelines", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "IngestTotal", "namespace": "nodes._types" } } } }, { "description": "Contains statistics about ingest operations for the node.", "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "IngestTotal", "namespace": "nodes._types" } } } ], "specLocation": "nodes/_types/Stats.ts#L345-L354" }, { "kind": "interface", "name": { "name": "IngestTotal", "namespace": "nodes._types" }, "properties": [ { "description": "Total number of documents ingested during the lifetime of this node.", "name": "count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total number of documents currently being ingested.", "name": "current", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total number of failed ingest operations during the lifetime of this node.", "name": "failed", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total number of ingest processors.", "name": "processors", "required": false, "type": { "kind": "array_of", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "KeyedProcessor", "namespace": "nodes._types" } } } } }, { "description": "Total time, in milliseconds, spent preprocessing ingest documents during the lifetime of this node.", "name": "time_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L356-L377" }, { "kind": "interface", "name": { "name": "IoStatDevice", "namespace": "nodes._types" }, "properties": [ { "description": "The Linux device name.", "name": "device_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The total number of read and write operations for the device completed since starting Elasticsearch.", "name": "operations", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The total number of kilobytes read for the device since starting Elasticsearch.", "name": "read_kilobytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The total number of read operations for the device completed since starting Elasticsearch.", "name": "read_operations", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The total number of kilobytes written for the device since starting Elasticsearch.", "name": "write_kilobytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The total number of write operations for the device completed since starting Elasticsearch.", "name": "write_operations", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L730-L755" }, { "kind": "interface", "name": { "name": "IoStats", "namespace": "nodes._types" }, "properties": [ { "description": "Array of disk metrics for each device that is backing an Elasticsearch data path.\nThese disk metrics are probed periodically and averages between the last probe and the current probe are computed.", "name": "devices", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IoStatDevice", "namespace": "nodes._types" } } } }, { "description": "The sum of the disk metrics for all devices that back an Elasticsearch data path.", "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "IoStatDevice", "namespace": "nodes._types" } } } ], "specLocation": "nodes/_types/Stats.ts#L718-L728" }, { "kind": "interface", "name": { "name": "Jvm", "namespace": "nodes._types" }, "properties": [ { "description": "Contains statistics about JVM buffer pools for the node.", "name": "buffer_pools", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "NodeBufferPool", "namespace": "nodes._types" } } } }, { "description": "Contains statistics about classes loaded by JVM for the node.", "name": "classes", "required": false, "type": { "kind": "instance_of", "type": { "name": "JvmClasses", "namespace": "nodes._types" } } }, { "description": "Contains statistics about JVM garbage collectors for the node.", "name": "gc", "required": false, "type": { "kind": "instance_of", "type": { "name": "GarbageCollector", "namespace": "nodes._types" } } }, { "description": "Contains JVM memory usage statistics for the node.", "name": "mem", "required": false, "type": { "kind": "instance_of", "type": { "name": "JvmMemoryStats", "namespace": "nodes._types" } } }, { "description": "Contains statistics about JVM thread usage for the node.", "name": "threads", "required": false, "type": { "kind": "instance_of", "type": { "name": "JvmThreads", "namespace": "nodes._types" } } }, { "description": "Last time JVM statistics were refreshed.", "name": "timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Human-readable JVM uptime.\nOnly returned if the `human` query parameter is `true`.", "name": "uptime", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "JVM uptime in milliseconds.", "name": "uptime_in_millis", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L811-L845" }, { "kind": "interface", "name": { "name": "JvmClasses", "namespace": "nodes._types" }, "properties": [ { "description": "Number of classes currently loaded by JVM.", "name": "current_loaded_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total number of classes loaded since the JVM started.", "name": "total_loaded_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total number of classes unloaded since the JVM started.", "name": "total_unloaded_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L908-L921" }, { "kind": "interface", "name": { "name": "JvmMemoryStats", "namespace": "nodes._types" }, "properties": [ { "description": "Memory, in bytes, currently in use by the heap.", "name": "heap_used_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Percentage of memory currently in use by the heap.", "name": "heap_used_percent", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Amount of memory, in bytes, available for use by the heap.", "name": "heap_committed_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Maximum amount of memory, in bytes, available for use by the heap.", "name": "heap_max_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Non-heap memory used, in bytes.", "name": "non_heap_used_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Amount of non-heap memory available, in bytes.", "name": "non_heap_committed_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Contains statistics about heap memory usage for the node.", "name": "pools", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Pool", "namespace": "nodes._types" } } } } ], "specLocation": "nodes/_types/Stats.ts#L847-L876" }, { "kind": "interface", "name": { "name": "JvmThreads", "namespace": "nodes._types" }, "properties": [ { "description": "Number of active threads in use by JVM.", "name": "count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Highest number of threads used by JVM.", "name": "peak_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L897-L906" }, { "kind": "interface", "name": { "name": "KeyedProcessor", "namespace": "nodes._types" }, "properties": [ { "name": "stats", "required": false, "type": { "kind": "instance_of", "type": { "name": "Processor", "namespace": "nodes._types" } } }, { "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/_types/Stats.ts#L379-L382" }, { "kind": "interface", "name": { "name": "MemoryStats", "namespace": "nodes._types" }, "properties": [ { "description": "If the amount of physical memory has been overridden using the `es`.`total_memory_bytes` system property then this reports the overridden value in bytes.\nOtherwise it reports the same value as `total_in_bytes`.", "name": "adjusted_total_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "resident", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "resident_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "share", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "share_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_virtual", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "total_virtual_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total amount of physical memory in bytes.", "name": "total_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Amount of free physical memory in bytes.", "name": "free_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Amount of used physical memory in bytes.", "name": "used_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L596-L620" }, { "kind": "interface", "name": { "name": "NodeBufferPool", "namespace": "nodes._types" }, "properties": [ { "description": "Number of buffer pools.", "name": "count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total capacity of buffer pools.", "name": "total_capacity", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Total capacity of buffer pools in bytes.", "name": "total_capacity_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Size of buffer pools.", "name": "used", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Size of buffer pools in bytes.", "name": "used_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L788-L809" }, { "kind": "interface", "name": { "name": "NodeReloadError", "namespace": "nodes._types" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "reload_exception", "required": false, "type": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } } ], "specLocation": "nodes/_types/NodeReloadResult.ts#L24-L27" }, { "codegenNames": [ "stats", "error" ], "kind": "type_alias", "name": { "name": "NodeReloadResult", "namespace": "nodes._types" }, "specLocation": "nodes/_types/NodeReloadResult.ts#L29-L30", "type": { "items": [ { "kind": "instance_of", "type": { "name": "Stats", "namespace": "nodes._types" } }, { "kind": "instance_of", "type": { "name": "NodeReloadError", "namespace": "nodes._types" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "NodesResponseBase", "namespace": "nodes._types" }, "properties": [ { "codegenName": "node_stats", "description": "Contains statistics about the number of nodes selected by the request’s node filters.", "docId": "cluster-nodes", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster.html#cluster-nodes", "name": "_nodes", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeStatistics", "namespace": "_types" } } } ], "specLocation": "nodes/_types/NodesResponseBase.ts#L22-L29" }, { "kind": "interface", "name": { "name": "OperatingSystem", "namespace": "nodes._types" }, "properties": [ { "name": "cpu", "required": false, "type": { "kind": "instance_of", "type": { "name": "Cpu", "namespace": "nodes._types" } } }, { "name": "mem", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExtendedMemoryStats", "namespace": "nodes._types" } } }, { "name": "swap", "required": false, "type": { "kind": "instance_of", "type": { "name": "MemoryStats", "namespace": "nodes._types" } } }, { "name": "cgroup", "required": false, "type": { "kind": "instance_of", "type": { "name": "Cgroup", "namespace": "nodes._types" } } }, { "name": "timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L945-L951" }, { "kind": "interface", "name": { "name": "Pool", "namespace": "nodes._types" }, "properties": [ { "description": "Memory, in bytes, used by the heap.", "name": "used_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Maximum amount of memory, in bytes, available for use by the heap.", "name": "max_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Largest amount of memory, in bytes, historically used by the heap.", "name": "peak_used_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Largest amount of memory, in bytes, historically used by the heap.", "name": "peak_max_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L878-L895" }, { "kind": "interface", "name": { "name": "PressureMemory", "namespace": "nodes._types" }, "properties": [ { "description": "Memory consumed by indexing requests in the coordinating, primary, or replica stage.", "name": "all", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Memory consumed, in bytes, by indexing requests in the coordinating, primary, or replica stage.", "name": "all_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Memory consumed by indexing requests in the coordinating or primary stage.\nThis value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally.", "name": "combined_coordinating_and_primary", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Memory consumed, in bytes, by indexing requests in the coordinating or primary stage.\nThis value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally.", "name": "combined_coordinating_and_primary_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Memory consumed by indexing requests in the coordinating stage.", "name": "coordinating", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Memory consumed, in bytes, by indexing requests in the coordinating stage.", "name": "coordinating_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Memory consumed by indexing requests in the primary stage.", "name": "primary", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Memory consumed, in bytes, by indexing requests in the primary stage.", "name": "primary_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Memory consumed by indexing requests in the replica stage.", "name": "replica", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "description": "Memory consumed, in bytes, by indexing requests in the replica stage.", "name": "replica_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of indexing requests rejected in the coordinating stage.", "name": "coordinating_rejections", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of indexing requests rejected in the primary stage.", "name": "primary_rejections", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of indexing requests rejected in the replica stage.", "name": "replica_rejections", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L144-L199" }, { "kind": "interface", "name": { "name": "Process", "namespace": "nodes._types" }, "properties": [ { "description": "Contains CPU statistics for the node.", "name": "cpu", "required": false, "type": { "kind": "instance_of", "type": { "name": "Cpu", "namespace": "nodes._types" } } }, { "description": "Contains virtual memory statistics for the node.", "name": "mem", "required": false, "type": { "kind": "instance_of", "type": { "name": "MemoryStats", "namespace": "nodes._types" } } }, { "description": "Number of opened file descriptors associated with the current or `-1` if not supported.", "name": "open_file_descriptors", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Maximum number of file descriptors allowed on the system, or `-1` if not supported.", "name": "max_file_descriptors", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Last time the statistics were refreshed.\nRecorded in milliseconds since the Unix Epoch.", "name": "timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L953-L975" }, { "kind": "interface", "name": { "name": "Processor", "namespace": "nodes._types" }, "properties": [ { "description": "Number of documents transformed by the processor.", "name": "count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of documents currently being transformed by the processor.", "name": "current", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of failed operations for the processor.", "name": "failed", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Time, in milliseconds, spent by the processor transforming documents.", "name": "time_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L384-L401" }, { "kind": "interface", "name": { "name": "PublishedClusterStates", "namespace": "nodes._types" }, "properties": [ { "description": "Number of published cluster states.", "name": "full_states", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of incompatible differences between published cluster states.", "name": "incompatible_diffs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of compatible differences between published cluster states.", "name": "compatible_diffs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L263-L276" }, { "kind": "interface", "name": { "name": "Recording", "namespace": "nodes._types" }, "properties": [ { "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "cumulative_execution_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "cumulative_execution_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "cumulative_execution_time_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L225-L230" }, { "kind": "interface", "name": { "name": "RepositoryLocation", "namespace": "nodes._types" }, "properties": [ { "name": "base_path", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Container name (Azure)", "name": "container", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Bucket name (GCP, S3)", "name": "bucket", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/_types/RepositoryMeteringInformation.ts#L68-L74" }, { "kind": "interface", "name": { "name": "RepositoryMeteringInformation", "namespace": "nodes._types" }, "properties": [ { "description": "Repository name.", "name": "repository_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Repository type.", "name": "repository_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Represents an unique location within the repository.", "name": "repository_location", "required": true, "type": { "kind": "instance_of", "type": { "name": "RepositoryLocation", "namespace": "nodes._types" } } }, { "description": "An identifier that changes every time the repository is updated.", "name": "repository_ephemeral_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Time the repository was created or updated. Recorded in milliseconds since the Unix Epoch.", "name": "repository_started_at", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "Time the repository was deleted or updated. Recorded in milliseconds since the Unix Epoch.", "name": "repository_stopped_at", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "A flag that tells whether or not this object has been archived. When a repository is closed or updated the\nrepository metering information is archived and kept for a certain period of time. This allows retrieving the\nrepository metering information of previous repository instantiations.", "name": "archived", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The cluster state version when this object was archived, this field can be used as a logical timestamp to delete\nall the archived metrics up to an observed version. This field is only present for archived repository metering\ninformation objects. The main purpose of this field is to avoid possible race conditions during repository metering\ninformation deletions, i.e. deleting archived repositories metering information that we haven’t observed yet.", "name": "cluster_version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "description": "An object with the number of request performed against the repository grouped by request type.", "name": "request_counts", "required": true, "type": { "kind": "instance_of", "type": { "name": "RequestCounts", "namespace": "nodes._types" } } } ], "specLocation": "nodes/_types/RepositoryMeteringInformation.ts#L24-L66" }, { "kind": "interface", "name": { "name": "RequestCounts", "namespace": "nodes._types" }, "properties": [ { "description": "Number of Get Blob Properties requests (Azure)", "name": "GetBlobProperties", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of Get Blob requests (Azure)", "name": "GetBlob", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of List Blobs requests (Azure)", "name": "ListBlobs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of Put Blob requests (Azure)", "name": "PutBlob", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of Put Block (Azure)", "name": "PutBlock", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of Put Block List requests", "name": "PutBlockList", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of get object requests (GCP, S3)", "name": "GetObject", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of list objects requests (GCP, S3)", "name": "ListObjects", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of insert object requests, including simple, multipart and resumable uploads. Resumable uploads\ncan perform multiple http requests to insert a single object but they are considered as a single request\nsince they are billed as an individual operation. (GCP)", "name": "InsertObject", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of PutObject requests (S3)", "name": "PutObject", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of Multipart requests, including CreateMultipartUpload, UploadPart and CompleteMultipartUpload requests (S3)", "name": "PutMultipartObject", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/RepositoryMeteringInformation.ts#L76-L103" }, { "kind": "interface", "name": { "name": "ScriptCache", "namespace": "nodes._types" }, "properties": [ { "description": "Total number of times the script cache has evicted old data.", "name": "cache_evictions", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total number of times the script compilation circuit breaker has limited inline script compilations.", "name": "compilation_limit_triggered", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total number of inline script compilations performed by the node.", "name": "compilations", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "context", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/_types/Stats.ts#L1031-L1045" }, { "kind": "interface", "name": { "name": "Scripting", "namespace": "nodes._types" }, "properties": [ { "description": "Total number of times the script cache has evicted old data.", "name": "cache_evictions", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Total number of inline script compilations performed by the node.", "name": "compilations", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Contains this recent history of script compilations.", "name": "compilations_history", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } }, { "description": "Total number of times the script compilation circuit breaker has limited inline script compilations.", "name": "compilation_limit_triggered", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "contexts", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Context", "namespace": "nodes._types" } } } } ], "specLocation": "nodes/_types/Stats.ts#L977-L995" }, { "kind": "interface", "name": { "name": "SerializedClusterState", "namespace": "nodes._types" }, "properties": [ { "description": "Number of published cluster states.", "name": "full_states", "required": false, "type": { "kind": "instance_of", "type": { "name": "SerializedClusterStateDetail", "namespace": "nodes._types" } } }, { "name": "diffs", "required": false, "type": { "kind": "instance_of", "type": { "name": "SerializedClusterStateDetail", "namespace": "nodes._types" } } } ], "specLocation": "nodes/_types/Stats.ts#L232-L238" }, { "kind": "interface", "name": { "name": "SerializedClusterStateDetail", "namespace": "nodes._types" }, "properties": [ { "name": "count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "uncompressed_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "uncompressed_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "compressed_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "compressed_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L240-L246" }, { "kind": "interface", "name": { "name": "Stats", "namespace": "nodes._types" }, "properties": [ { "description": "Statistics about adaptive replica selection.", "name": "adaptive_selection", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AdaptiveSelection", "namespace": "nodes._types" } } } }, { "description": "Statistics about the field data circuit breaker.", "name": "breakers", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Breaker", "namespace": "nodes._types" } } } }, { "description": "File system information, data path, free disk space, read/write stats.", "name": "fs", "required": false, "type": { "kind": "instance_of", "type": { "name": "FileSystem", "namespace": "nodes._types" } } }, { "description": "Network host for the node, based on the network host setting.", "name": "host", "required": false, "type": { "kind": "instance_of", "type": { "name": "Host", "namespace": "_types" } } }, { "description": "HTTP connection information.", "name": "http", "required": false, "type": { "kind": "instance_of", "type": { "name": "Http", "namespace": "nodes._types" } } }, { "description": "Statistics about ingest preprocessing.", "name": "ingest", "required": false, "type": { "kind": "instance_of", "type": { "name": "Ingest", "namespace": "nodes._types" } } }, { "description": "IP address and port for the node.", "name": "ip", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "Ip", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Ip", "namespace": "_types" } } } ], "kind": "union_of" } }, { "description": "JVM stats, memory pool information, garbage collection, buffer pools, number of loaded/unloaded classes.", "name": "jvm", "required": false, "type": { "kind": "instance_of", "type": { "name": "Jvm", "namespace": "nodes._types" } } }, { "description": "Human-readable identifier for the node.\nBased on the node name setting.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Operating system stats, load average, mem, swap.", "name": "os", "required": false, "type": { "kind": "instance_of", "type": { "name": "OperatingSystem", "namespace": "nodes._types" } } }, { "description": "Process statistics, memory consumption, cpu usage, open file descriptors.", "name": "process", "required": false, "type": { "kind": "instance_of", "type": { "name": "Process", "namespace": "nodes._types" } } }, { "description": "Roles assigned to the node.", "name": "roles", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeRoles", "namespace": "_types" } } }, { "description": "Contains script statistics for the node.", "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "Scripting", "namespace": "nodes._types" } } }, { "name": "script_cache", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "items": [ { "kind": "instance_of", "type": { "name": "ScriptCache", "namespace": "nodes._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ScriptCache", "namespace": "nodes._types" } } } ], "kind": "union_of" } } }, { "description": "Statistics about each thread pool, including current size, queue and rejected tasks.", "name": "thread_pool", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ThreadCount", "namespace": "nodes._types" } } } }, { "name": "timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Transport statistics about sent and received bytes in cluster communication.", "name": "transport", "required": false, "type": { "kind": "instance_of", "type": { "name": "Transport", "namespace": "nodes._types" } } }, { "description": "Host and port for the transport layer, used for internal communication between nodes in a cluster.", "name": "transport_address", "required": false, "type": { "kind": "instance_of", "type": { "name": "TransportAddress", "namespace": "_types" } } }, { "description": "Contains a list of attributes for the node.", "name": "attributes", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Contains node discovery statistics for the node.", "name": "discovery", "required": false, "type": { "kind": "instance_of", "type": { "name": "Discovery", "namespace": "nodes._types" } } }, { "description": "Contains indexing pressure statistics for the node.", "name": "indexing_pressure", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexingPressure", "namespace": "nodes._types" } } }, { "description": "Indices stats about size, document count, indexing and deletion times, search times, field cache size, merges and flushes.", "name": "indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardStats", "namespace": "indices.stats" } } } ], "specLocation": "nodes/_types/Stats.ts#L30-L114" }, { "kind": "interface", "name": { "name": "ThreadCount", "namespace": "nodes._types" }, "properties": [ { "description": "Number of active threads in the thread pool.", "name": "active", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of tasks completed by the thread pool executor.", "name": "completed", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Highest number of active threads in the thread pool.", "name": "largest", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of tasks in queue for the thread pool.", "name": "queue", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of tasks rejected by the thread pool executor.", "name": "rejected", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of threads in the thread pool.", "name": "threads", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L1004-L1029" }, { "kind": "interface", "name": { "name": "Transport", "namespace": "nodes._types" }, "properties": [ { "description": "The distribution of the time spent handling each inbound message on a transport thread, represented as a histogram.", "name": "inbound_handling_time_histogram", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TransportHistogram", "namespace": "nodes._types" } } } }, { "description": "The distribution of the time spent sending each outbound transport message on a transport thread, represented as a histogram.", "name": "outbound_handling_time_histogram", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TransportHistogram", "namespace": "nodes._types" } } } }, { "description": "Total number of RX (receive) packets received by the node during internal cluster communication.", "name": "rx_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Size of RX packets received by the node during internal cluster communication.", "name": "rx_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Size, in bytes, of RX packets received by the node during internal cluster communication.", "name": "rx_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Current number of inbound TCP connections used for internal communication between nodes.", "name": "server_open", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Total number of TX (transmit) packets sent by the node during internal cluster communication.", "name": "tx_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Size of TX packets sent by the node during internal cluster communication.", "name": "tx_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Size, in bytes, of TX packets sent by the node during internal cluster communication.", "name": "tx_size_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The cumulative number of outbound transport connections that this node has opened since it started.\nEach transport connection may comprise multiple TCP connections but is only counted once in this statistic.\nTransport connections are typically long-lived so this statistic should remain constant in a stable cluster.", "name": "total_outbound_connections", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L1047-L1090" }, { "kind": "interface", "name": { "name": "TransportHistogram", "namespace": "nodes._types" }, "properties": [ { "description": "The number of times a transport thread took a period of time within the bounds of this bucket to handle an inbound message.", "name": "count", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The exclusive upper bound of the bucket in milliseconds.\nMay be omitted on the last bucket if this bucket has no upper bound.", "name": "lt_millis", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "The inclusive lower bound of the bucket in milliseconds. May be omitted on the first bucket if this bucket has no lower bound.", "name": "ge_millis", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/_types/Stats.ts#L1092-L1106" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "You can use this API to clear the archived repositories metering information in the cluster.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "nodes.clear_repositories_metering_archive" }, "path": [ { "description": "Comma-separated list of node IDs or names used to limit returned information.\nAll the nodes selective options are explained [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster.html#cluster-nodes).", "name": "node_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeIds", "namespace": "_types" } } }, { "description": "Specifies the maximum [archive_version](https://www.elastic.co/guide/en/elasticsearch/reference/current/get-repositories-metering-api.html#get-repositories-metering-api-response-body) to be cleared from the archive.", "name": "max_archive_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "query": [], "specLocation": "nodes/clear_repositories_metering_archive/ClearRepositoriesMeteringArchiveRequest.ts#L24-L43" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "ResponseBase", "namespace": "nodes.clear_repositories_metering_archive" } } }, "kind": "response", "name": { "name": "Response", "namespace": "nodes.clear_repositories_metering_archive" }, "specLocation": "nodes/clear_repositories_metering_archive/ClearRepositoriesMeteringArchiveResponse.ts#L36-L38" }, { "inherits": { "type": { "name": "NodesResponseBase", "namespace": "nodes._types" } }, "kind": "interface", "name": { "name": "ResponseBase", "namespace": "nodes.clear_repositories_metering_archive" }, "properties": [ { "description": "Name of the cluster. Based on the [Cluster name setting](https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html#cluster-name).", "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Contains repositories metering information for the nodes selected by the request.", "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "RepositoryMeteringInformation", "namespace": "nodes._types" } } } } ], "specLocation": "nodes/clear_repositories_metering_archive/ClearRepositoriesMeteringArchiveResponse.ts#L25-L34" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "You can use the cluster repositories metering API to retrieve repositories metering information in a cluster.\nThis API exposes monotonically non-decreasing counters and it’s expected that clients would durably store the\ninformation needed to compute aggregations over a period of time. Additionally, the information exposed by this\nAPI is volatile, meaning that it won’t be present after node restarts.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "nodes.get_repositories_metering_info" }, "path": [ { "description": "Comma-separated list of node IDs or names used to limit returned information.\nAll the nodes selective options are explained [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster.html#cluster-nodes).", "name": "node_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeIds", "namespace": "_types" } } } ], "query": [], "specLocation": "nodes/get_repositories_metering_info/GetRepositoriesMeteringInfoRequest.ts#L23-L41" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "ResponseBase", "namespace": "nodes.get_repositories_metering_info" } } }, "kind": "response", "name": { "name": "Response", "namespace": "nodes.get_repositories_metering_info" }, "specLocation": "nodes/get_repositories_metering_info/GetRepositoriesMeteringInfoResponse.ts#L36-L38" }, { "inherits": { "type": { "name": "NodesResponseBase", "namespace": "nodes._types" } }, "kind": "interface", "name": { "name": "ResponseBase", "namespace": "nodes.get_repositories_metering_info" }, "properties": [ { "description": "Name of the cluster. Based on the [Cluster name setting](https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html#cluster-name).", "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Contains repositories metering information for the nodes selected by the request.", "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "RepositoryMeteringInformation", "namespace": "nodes._types" } } } } ], "specLocation": "nodes/get_repositories_metering_info/GetRepositoriesMeteringInfoResponse.ts#L25-L34" }, { "kind": "interface", "name": { "name": "HotThread", "namespace": "nodes.hot_threads" }, "properties": [ { "name": "hosts", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Host", "namespace": "_types" } } } }, { "name": "node_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "node_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "threads", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "nodes/hot_threads/types.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "This API yields a breakdown of the hot threads on each selected node in the cluster.\nThe output is plain text with a breakdown of each node’s top hot threads.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "nodes.hot_threads" }, "path": [ { "description": "List of node IDs or names used to limit returned information.", "name": "node_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeIds", "namespace": "_types" } } } ], "query": [ { "description": "If true, known idle threads (e.g. waiting in a socket select, or to get\na task from an empty queue) are filtered out.", "name": "ignore_idle_threads", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The interval to do the second sampling of threads.", "name": "interval", "required": false, "serverDefault": "500ms", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Number of samples of thread stacktrace.", "name": "snapshots", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Period to wait for a connection to the master node. If no response\nis received before the timeout expires, the request fails and\nreturns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Specifies the number of hot threads to provide information for.", "name": "threads", "required": false, "serverDefault": 3, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received\nbefore the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The type to sample.", "name": "type", "required": false, "serverDefault": "cpu", "type": { "kind": "instance_of", "type": { "name": "ThreadType", "namespace": "_types" } } }, { "description": "The sort order for 'cpu' type (default: total)", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "ThreadType", "namespace": "_types" } } } ], "specLocation": "nodes/hot_threads/NodesHotThreadsRequest.ts#L25-L83" }, { "body": { "kind": "properties", "properties": [ { "name": "hot_threads", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "HotThread", "namespace": "nodes.hot_threads" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "nodes.hot_threads" }, "specLocation": "nodes/hot_threads/NodesHotThreadsResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "DeprecationIndexing", "namespace": "nodes.info" }, "properties": [ { "name": "enabled", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } } ], "specLocation": "nodes/info/types.ts#L144-L146" }, { "kind": "interface", "name": { "name": "NodeInfo", "namespace": "nodes.info" }, "properties": [ { "name": "attributes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "build_flavor", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Short hash of the last git commit in this release.", "name": "build_hash", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "build_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The node’s host name.", "name": "host", "required": true, "type": { "kind": "instance_of", "type": { "name": "Host", "namespace": "_types" } } }, { "name": "http", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoHttp", "namespace": "nodes.info" } } }, { "description": "The node’s IP address.", "name": "ip", "required": true, "type": { "kind": "instance_of", "type": { "name": "Ip", "namespace": "_types" } } }, { "name": "jvm", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeJvmInfo", "namespace": "nodes.info" } } }, { "description": "The node's name", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "network", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoNetwork", "namespace": "nodes.info" } } }, { "name": "os", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeOperatingSystemInfo", "namespace": "nodes.info" } } }, { "name": "plugins", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "PluginStats", "namespace": "_types" } } } }, { "name": "process", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeProcessInfo", "namespace": "nodes.info" } } }, { "name": "roles", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeRoles", "namespace": "_types" } } }, { "name": "settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoSettings", "namespace": "nodes.info" } } }, { "name": "thread_pool", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "NodeThreadPoolInfo", "namespace": "nodes.info" } } } }, { "description": "Total heap allowed to be used to hold recently indexed documents before they must be written to disk. This size is a shared pool across all shards on this node, and is controlled by Indexing Buffer settings.", "docId": "indexing-buffer", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/indexing-buffer.html", "name": "total_indexing_buffer", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Same as total_indexing_buffer, but expressed in bytes.", "name": "total_indexing_buffer_in_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "transport", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoTransport", "namespace": "nodes.info" } } }, { "description": "Host and port where transport HTTP connections are accepted.", "name": "transport_address", "required": true, "type": { "kind": "instance_of", "type": { "name": "TransportAddress", "namespace": "_types" } } }, { "description": "Elasticsearch version running on this node.", "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "modules", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "PluginStats", "namespace": "_types" } } } }, { "name": "ingest", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngest", "namespace": "nodes.info" } } }, { "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "NodeInfoAggregation", "namespace": "nodes.info" } } } } ], "specLocation": "nodes/info/types.ts#L31-L67" }, { "kind": "interface", "name": { "name": "NodeInfoAction", "namespace": "nodes.info" }, "properties": [ { "name": "destructive_requires_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/info/types.ts#L181-L183" }, { "kind": "interface", "name": { "name": "NodeInfoAggregation", "namespace": "nodes.info" }, "properties": [ { "name": "types", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "nodes/info/types.ts#L232-L234" }, { "kind": "interface", "name": { "name": "NodeInfoBootstrap", "namespace": "nodes.info" }, "properties": [ { "name": "memory_lock", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/info/types.ts#L201-L203" }, { "kind": "interface", "name": { "name": "NodeInfoClient", "namespace": "nodes.info" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/info/types.ts#L185-L187" }, { "attachedBehaviors": [ "AdditionalProperties" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "user_defined_value" } ], "type": { "name": "AdditionalProperties", "namespace": "_spec_utils" } } ], "kind": "interface", "name": { "name": "NodeInfoDiscover", "namespace": "nodes.info" }, "properties": [ { "name": "seed_hosts", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "seed_providers", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "nodes/info/types.ts#L173-L179" }, { "kind": "interface", "name": { "name": "NodeInfoHttp", "namespace": "nodes.info" }, "properties": [ { "name": "bound_address", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "max_content_length", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "max_content_length_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "publish_address", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/info/types.ts#L303-L308" }, { "kind": "interface", "name": { "name": "NodeInfoIngest", "namespace": "nodes.info" }, "properties": [ { "name": "processors", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "NodeInfoIngestProcessor", "namespace": "nodes.info" } } } } ], "specLocation": "nodes/info/types.ts#L224-L226" }, { "kind": "interface", "name": { "name": "NodeInfoIngestDownloader", "namespace": "nodes.info" }, "properties": [ { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/info/types.ts#L128-L130" }, { "kind": "interface", "name": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" }, "properties": [ { "name": "downloader", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestDownloader", "namespace": "nodes.info" } } } ], "specLocation": "nodes/info/types.ts#L124-L126" }, { "kind": "interface", "name": { "name": "NodeInfoIngestProcessor", "namespace": "nodes.info" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/info/types.ts#L228-L230" }, { "kind": "interface", "name": { "name": "NodeInfoJvmMemory", "namespace": "nodes.info" }, "properties": [ { "name": "direct_max", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "direct_max_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "heap_init", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "heap_init_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "heap_max", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "heap_max_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "non_heap_init", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "non_heap_init_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "non_heap_max", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "non_heap_max_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/info/types.ts#L310-L321" }, { "kind": "interface", "name": { "name": "NodeInfoMemory", "namespace": "nodes.info" }, "properties": [ { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "total_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "nodes/info/types.ts#L323-L326" }, { "kind": "interface", "name": { "name": "NodeInfoNetwork", "namespace": "nodes.info" }, "properties": [ { "name": "primary_interface", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoNetworkInterface", "namespace": "nodes.info" } } }, { "name": "refresh_interval", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "nodes/info/types.ts#L328-L331" }, { "kind": "interface", "name": { "name": "NodeInfoNetworkInterface", "namespace": "nodes.info" }, "properties": [ { "name": "address", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "mac_address", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "specLocation": "nodes/info/types.ts#L333-L337" }, { "kind": "interface", "name": { "name": "NodeInfoOSCPU", "namespace": "nodes.info" }, "properties": [ { "name": "cache_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "cache_size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "cores_per_socket", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "mhz", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "model", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "total_cores", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "total_sockets", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "vendor", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/info/types.ts#L339-L348" }, { "kind": "interface", "name": { "name": "NodeInfoPath", "namespace": "nodes.info" }, "properties": [ { "name": "logs", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "home", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "repo", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "data", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "nodes/info/types.ts#L158-L163" }, { "kind": "interface", "name": { "name": "NodeInfoRepositories", "namespace": "nodes.info" }, "properties": [ { "name": "url", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoRepositoriesUrl", "namespace": "nodes.info" } } } ], "specLocation": "nodes/info/types.ts#L165-L167" }, { "kind": "interface", "name": { "name": "NodeInfoRepositoriesUrl", "namespace": "nodes.info" }, "properties": [ { "name": "allowed_urls", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/info/types.ts#L169-L171" }, { "kind": "interface", "name": { "name": "NodeInfoScript", "namespace": "nodes.info" }, "properties": [ { "name": "allowed_types", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "disable_max_compilations_rate", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/info/types.ts#L281-L284" }, { "kind": "interface", "name": { "name": "NodeInfoSearch", "namespace": "nodes.info" }, "properties": [ { "name": "remote", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoSearchRemote", "namespace": "nodes.info" } } } ], "specLocation": "nodes/info/types.ts#L286-L288" }, { "kind": "interface", "name": { "name": "NodeInfoSearchRemote", "namespace": "nodes.info" }, "properties": [ { "name": "connect", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/info/types.ts#L290-L292" }, { "kind": "interface", "name": { "name": "NodeInfoSettings", "namespace": "nodes.info" }, "properties": [ { "name": "cluster", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoSettingsCluster", "namespace": "nodes.info" } } }, { "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoSettingsNode", "namespace": "nodes.info" } } }, { "name": "path", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoPath", "namespace": "nodes.info" } } }, { "name": "repositories", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoRepositories", "namespace": "nodes.info" } } }, { "name": "discovery", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoDiscover", "namespace": "nodes.info" } } }, { "name": "action", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoAction", "namespace": "nodes.info" } } }, { "name": "client", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoClient", "namespace": "nodes.info" } } }, { "name": "http", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoSettingsHttp", "namespace": "nodes.info" } } }, { "name": "bootstrap", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoBootstrap", "namespace": "nodes.info" } } }, { "name": "transport", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoSettingsTransport", "namespace": "nodes.info" } } }, { "name": "network", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoSettingsNetwork", "namespace": "nodes.info" } } }, { "name": "xpack", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoXpack", "namespace": "nodes.info" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoScript", "namespace": "nodes.info" } } }, { "name": "search", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoSearch", "namespace": "nodes.info" } } }, { "name": "ingest", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoSettingsIngest", "namespace": "nodes.info" } } } ], "specLocation": "nodes/info/types.ts#L69-L85" }, { "kind": "interface", "name": { "name": "NodeInfoSettingsCluster", "namespace": "nodes.info" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "routing", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexRouting", "namespace": "indices._types" } } }, { "name": "election", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoSettingsClusterElection", "namespace": "nodes.info" } } }, { "name": "initial_master_nodes", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "availability": { "serverless": {}, "stack": { "since": "7.16.0" } }, "name": "deprecation_indexing", "required": false, "since": "7.16.0", "type": { "kind": "instance_of", "type": { "name": "DeprecationIndexing", "namespace": "nodes.info" } } } ], "specLocation": "nodes/info/types.ts#L132-L142" }, { "kind": "interface", "name": { "name": "NodeInfoSettingsClusterElection", "namespace": "nodes.info" }, "properties": [ { "name": "strategy", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "specLocation": "nodes/info/types.ts#L148-L150" }, { "kind": "interface", "name": { "name": "NodeInfoSettingsHttp", "namespace": "nodes.info" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoSettingsHttpType", "namespace": "nodes.info" } } }, { "name": "type.default", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "compression", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "port", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } } ], "specLocation": "nodes/info/types.ts#L189-L194" }, { "kind": "interface", "name": { "name": "NodeInfoSettingsHttpType", "namespace": "nodes.info" }, "properties": [ { "name": "default", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "shortcutProperty": "default", "specLocation": "nodes/info/types.ts#L196-L199" }, { "kind": "interface", "name": { "name": "NodeInfoSettingsIngest", "namespace": "nodes.info" }, "properties": [ { "name": "attachment", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "append", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "csv", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "convert", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "date", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "date_index_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "dot_expander", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "enrich", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "fail", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "foreach", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "json", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "user_agent", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "kv", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "geoip", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "grok", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "gsub", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "join", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "lowercase", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "remove", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "rename", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "set", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "split", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "trim", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "uppercase", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "urldecode", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "dissect", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "set_security_user", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "pipeline", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "drop", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "circle", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } }, { "name": "inference", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoIngestInfo", "namespace": "nodes.info" } } } ], "specLocation": "nodes/info/types.ts#L87-L122" }, { "kind": "interface", "name": { "name": "NodeInfoSettingsNetwork", "namespace": "nodes.info" }, "properties": [ { "name": "host", "required": true, "type": { "kind": "instance_of", "type": { "name": "Host", "namespace": "_types" } } } ], "specLocation": "nodes/info/types.ts#L220-L222" }, { "kind": "interface", "name": { "name": "NodeInfoSettingsNode", "namespace": "nodes.info" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "attr", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "max_local_storage_nodes", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/info/types.ts#L152-L156" }, { "kind": "interface", "name": { "name": "NodeInfoSettingsTransport", "namespace": "nodes.info" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoSettingsTransportType", "namespace": "nodes.info" } } }, { "name": "type.default", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "features", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoSettingsTransportFeatures", "namespace": "nodes.info" } } } ], "specLocation": "nodes/info/types.ts#L205-L209" }, { "kind": "interface", "name": { "name": "NodeInfoSettingsTransportFeatures", "namespace": "nodes.info" }, "properties": [ { "name": "x-pack", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/info/types.ts#L216-L218" }, { "kind": "interface", "name": { "name": "NodeInfoSettingsTransportType", "namespace": "nodes.info" }, "properties": [ { "name": "default", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "shortcutProperty": "default", "specLocation": "nodes/info/types.ts#L211-L214" }, { "kind": "interface", "name": { "name": "NodeInfoTransport", "namespace": "nodes.info" }, "properties": [ { "name": "bound_address", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "publish_address", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "profiles", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "nodes/info/types.ts#L350-L354" }, { "kind": "interface", "name": { "name": "NodeInfoXpack", "namespace": "nodes.info" }, "properties": [ { "name": "license", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoXpackLicense", "namespace": "nodes.info" } } }, { "name": "security", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoXpackSecurity", "namespace": "nodes.info" } } }, { "name": "notification", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ], "specLocation": "nodes/info/types.ts#L236-L240" }, { "kind": "interface", "name": { "name": "NodeInfoXpackLicense", "namespace": "nodes.info" }, "properties": [ { "name": "self_generated", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoXpackLicenseType", "namespace": "nodes.info" } } } ], "specLocation": "nodes/info/types.ts#L273-L275" }, { "kind": "interface", "name": { "name": "NodeInfoXpackLicenseType", "namespace": "nodes.info" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/info/types.ts#L277-L279" }, { "kind": "interface", "name": { "name": "NodeInfoXpackSecurity", "namespace": "nodes.info" }, "properties": [ { "name": "http", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoXpackSecuritySsl", "namespace": "nodes.info" } } }, { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "transport", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoXpackSecuritySsl", "namespace": "nodes.info" } } }, { "name": "authc", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoXpackSecurityAuthc", "namespace": "nodes.info" } } } ], "specLocation": "nodes/info/types.ts#L242-L247" }, { "kind": "interface", "name": { "name": "NodeInfoXpackSecurityAuthc", "namespace": "nodes.info" }, "properties": [ { "name": "realms", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoXpackSecurityAuthcRealms", "namespace": "nodes.info" } } }, { "name": "token", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoXpackSecurityAuthcToken", "namespace": "nodes.info" } } } ], "specLocation": "nodes/info/types.ts#L253-L256" }, { "kind": "interface", "name": { "name": "NodeInfoXpackSecurityAuthcRealms", "namespace": "nodes.info" }, "properties": [ { "name": "file", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "NodeInfoXpackSecurityAuthcRealmsStatus", "namespace": "nodes.info" } } } }, { "name": "native", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "NodeInfoXpackSecurityAuthcRealmsStatus", "namespace": "nodes.info" } } } }, { "name": "pki", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "NodeInfoXpackSecurityAuthcRealmsStatus", "namespace": "nodes.info" } } } } ], "specLocation": "nodes/info/types.ts#L258-L262" }, { "kind": "interface", "name": { "name": "NodeInfoXpackSecurityAuthcRealmsStatus", "namespace": "nodes.info" }, "properties": [ { "name": "enabled", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "order", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/info/types.ts#L268-L271" }, { "kind": "interface", "name": { "name": "NodeInfoXpackSecurityAuthcToken", "namespace": "nodes.info" }, "properties": [ { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/info/types.ts#L264-L266" }, { "kind": "interface", "name": { "name": "NodeInfoXpackSecuritySsl", "namespace": "nodes.info" }, "properties": [ { "name": "ssl", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "nodes/info/types.ts#L249-L251" }, { "kind": "interface", "name": { "name": "NodeJvmInfo", "namespace": "nodes.info" }, "properties": [ { "name": "gc_collectors", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "mem", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeInfoJvmMemory", "namespace": "nodes.info" } } }, { "name": "memory_pools", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "pid", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "start_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "vm_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "vm_vendor", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "vm_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "aliases": [ "bundled_jdk" ], "name": "using_bundled_jdk", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "using_compressed_ordinary_object_pointers", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "input_arguments", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "nodes/info/types.ts#L356-L370" }, { "kind": "interface", "name": { "name": "NodeOperatingSystemInfo", "namespace": "nodes.info" }, "properties": [ { "description": "Name of the JVM architecture (ex: amd64, x86)", "name": "arch", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Number of processors available to the Java virtual machine", "name": "available_processors", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of processors actually used to calculate thread pool size. This number can be set with the node.processors setting of a node and defaults to the number of processors reported by the OS.", "name": "allocated_processors", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Name of the operating system (ex: Linux, Windows, Mac OS X)", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "pretty_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Refresh interval for the OS statistics", "name": "refresh_interval_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "description": "Version of the operating system", "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "cpu", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoOSCPU", "namespace": "nodes.info" } } }, { "name": "mem", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoMemory", "namespace": "nodes.info" } } }, { "name": "swap", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeInfoMemory", "namespace": "nodes.info" } } } ], "specLocation": "nodes/info/types.ts#L372-L389" }, { "kind": "interface", "name": { "name": "NodeProcessInfo", "namespace": "nodes.info" }, "properties": [ { "description": "Process identifier (PID)", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Indicates if the process address space has been successfully locked in memory", "name": "mlockall", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Refresh interval for the process statistics", "name": "refresh_interval_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "nodes/info/types.ts#L391-L398" }, { "kind": "interface", "name": { "name": "NodeThreadPoolInfo", "namespace": "nodes.info" }, "properties": [ { "name": "core", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "keep_alive", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "max", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "queue_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "nodes/info/types.ts#L294-L301" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns cluster nodes information.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "nodes.info" }, "path": [ { "description": "Comma-separated list of node IDs or names used to limit returned information.", "name": "node_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeIds", "namespace": "_types" } } }, { "description": "Limits the information returned to the specific metrics. Supports a comma-separated list, such as http,ingest.", "name": "metric", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metrics", "namespace": "_types" } } } ], "query": [ { "description": "If true, returns settings in flat format.", "name": "flat_settings", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "nodes/info/NodesInfoRequest.ts#L24-L55" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "ResponseBase", "namespace": "nodes.info" } } }, "kind": "response", "name": { "name": "Response", "namespace": "nodes.info" }, "specLocation": "nodes/info/NodesInfoResponse.ts#L30-L32" }, { "inherits": { "type": { "name": "NodesResponseBase", "namespace": "nodes._types" } }, "kind": "interface", "name": { "name": "ResponseBase", "namespace": "nodes.info" }, "properties": [ { "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "NodeInfo", "namespace": "nodes.info" } } } } ], "specLocation": "nodes/info/NodesInfoResponse.ts#L25-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The password for the Elasticsearch keystore.", "name": "secure_settings_password", "required": false, "type": { "kind": "instance_of", "type": { "name": "Password", "namespace": "_types" } } } ] }, "description": "Reloads the keystore on nodes in the cluster.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "nodes.reload_secure_settings" }, "path": [ { "description": "The names of particular nodes in the cluster to target.", "name": "node_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeIds", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "nodes/reload_secure_settings/ReloadSecureSettingsRequest.ts#L24-L50" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "ResponseBase", "namespace": "nodes.reload_secure_settings" } } }, "kind": "response", "name": { "name": "Response", "namespace": "nodes.reload_secure_settings" }, "specLocation": "nodes/reload_secure_settings/ReloadSecureSettingsResponse.ts#L30-L32" }, { "inherits": { "type": { "name": "NodesResponseBase", "namespace": "nodes._types" } }, "kind": "interface", "name": { "name": "ResponseBase", "namespace": "nodes.reload_secure_settings" }, "properties": [ { "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "NodeReloadResult", "namespace": "nodes._types" } } } } ], "specLocation": "nodes/reload_secure_settings/ReloadSecureSettingsResponse.ts#L25-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns cluster nodes statistics.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "nodes.stats" }, "path": [ { "description": "Comma-separated list of node IDs or names used to limit returned information.", "name": "node_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeIds", "namespace": "_types" } } }, { "description": "Limit the information returned to the specified metrics", "name": "metric", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metrics", "namespace": "_types" } } }, { "description": "Limit the information returned for indices metric to the specific index metrics. It can be used only if indices (or all) metric is specified.", "name": "index_metric", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metrics", "namespace": "_types" } } } ], "query": [ { "description": "Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.", "name": "completion_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Comma-separated list or wildcard expressions of fields to include in fielddata statistics.", "name": "fielddata_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Comma-separated list or wildcard expressions of fields to include in the statistics.", "name": "fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "Comma-separated list of search groups to include in the search statistics.", "name": "groups", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).", "name": "include_segment_file_sizes", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Indicates whether statistics are aggregated at the cluster, index, or shard level.", "name": "level", "required": false, "type": { "kind": "instance_of", "type": { "name": "Level", "namespace": "_types" } } }, { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "A comma-separated list of document types for the indexing index metric.", "name": "types", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "If `true`, the response includes information from segments that are not loaded into memory.", "name": "include_unloaded_segments", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "nodes/stats/NodesStatsRequest.ts#L24-L75" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "ResponseBase", "namespace": "nodes.stats" } } }, "kind": "response", "name": { "name": "Response", "namespace": "nodes.stats" }, "specLocation": "nodes/stats/NodesStatsResponse.ts#L30-L32" }, { "inherits": { "type": { "name": "NodesResponseBase", "namespace": "nodes._types" } }, "kind": "interface", "name": { "name": "ResponseBase", "namespace": "nodes.stats" }, "properties": [ { "name": "cluster_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Stats", "namespace": "nodes._types" } } } } ], "specLocation": "nodes/stats/NodesStatsResponse.ts#L25-L28" }, { "kind": "interface", "name": { "name": "NodeUsage", "namespace": "nodes.usage" }, "properties": [ { "name": "rest_actions", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } }, { "name": "since", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "timestamp", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "aggregations", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ], "specLocation": "nodes/usage/types.ts#L25-L30" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information on the usage of features.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "nodes.usage" }, "path": [ { "description": "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes", "name": "node_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeIds", "namespace": "_types" } } }, { "description": "Limits the information returned to the specific metrics.\nA comma-separated list of the following options: `_all`, `rest_actions`.", "name": "metric", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metrics", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "nodes/usage/NodesUsageRequest.ts#L24-L49" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "ResponseBase", "namespace": "nodes.usage" } } }, "kind": "response", "name": { "name": "Response", "namespace": "nodes.usage" }, "specLocation": "nodes/usage/NodesUsageResponse.ts#L30-L32" }, { "inherits": { "type": { "name": "NodesResponseBase", "namespace": "nodes._types" } }, "kind": "interface", "name": { "name": "ResponseBase", "namespace": "nodes.usage" }, "properties": [ { "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "NodeUsage", "namespace": "nodes.usage" } } } } ], "specLocation": "nodes/usage/NodesUsageResponse.ts#L25-L28" }, { "kind": "interface", "name": { "name": "QueryRule", "namespace": "query_ruleset._types" }, "properties": [ { "name": "rule_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryRuleType", "namespace": "query_ruleset._types" } } }, { "name": "criteria", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "QueryRuleCriteria", "namespace": "query_ruleset._types" } } } }, { "name": "actions", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryRuleActions", "namespace": "query_ruleset._types" } } } ], "specLocation": "query_ruleset/_types/QueryRuleset.ts#L37-L42" }, { "kind": "interface", "name": { "name": "QueryRuleActions", "namespace": "query_ruleset._types" }, "properties": [ { "name": "ids", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } }, { "name": "docs", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "PinnedDoc", "namespace": "_types.query_dsl" } } } } ], "specLocation": "query_ruleset/_types/QueryRuleset.ts#L67-L70" }, { "kind": "interface", "name": { "name": "QueryRuleCriteria", "namespace": "query_ruleset._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryRuleCriteriaType", "namespace": "query_ruleset._types" } } }, { "name": "metadata", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "values", "required": false, "type": { "kind": "array_of", "value": { "kind": "user_defined_value" } } } ], "specLocation": "query_ruleset/_types/QueryRuleset.ts#L48-L52" }, { "kind": "enum", "members": [ { "name": "global" }, { "name": "exact" }, { "name": "exact_fuzzy" }, { "name": "prefix" }, { "name": "suffix" }, { "name": "contains" }, { "name": "lt" }, { "name": "lte" }, { "name": "gt" }, { "name": "gte" } ], "name": { "name": "QueryRuleCriteriaType", "namespace": "query_ruleset._types" }, "specLocation": "query_ruleset/_types/QueryRuleset.ts#L54-L65" }, { "kind": "enum", "members": [ { "name": "pinned" } ], "name": { "name": "QueryRuleType", "namespace": "query_ruleset._types" }, "specLocation": "query_ruleset/_types/QueryRuleset.ts#L44-L46" }, { "kind": "interface", "name": { "name": "QueryRuleset", "namespace": "query_ruleset._types" }, "properties": [ { "description": "Query Ruleset unique identifier", "name": "ruleset_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Rules associated with the query ruleset", "name": "rules", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "QueryRule", "namespace": "query_ruleset._types" } } } } ], "specLocation": "query_ruleset/_types/QueryRuleset.ts#L26-L35" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes a query ruleset.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "query_ruleset.delete" }, "path": [ { "description": "The unique identifier of the query ruleset to delete", "name": "ruleset_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "query_ruleset/delete/QueryRulesetDeleteRequest.ts#L22-L35" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "query_ruleset.delete" }, "specLocation": "query_ruleset/delete/QueryRulesetDeleteResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns the details about a query ruleset", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "query_ruleset.get" }, "path": [ { "description": "The unique identifier of the query ruleset", "name": "ruleset_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "query_ruleset/get/QueryRulesetGetRequest.ts#L22-L35" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "QueryRuleset", "namespace": "query_ruleset._types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "query_ruleset.get" }, "specLocation": "query_ruleset/get/QueryRulesetGetResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "QueryRulesetListItem", "namespace": "query_ruleset.list" }, "properties": [ { "description": "Ruleset unique identifier", "name": "ruleset_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The number of rules associated with this ruleset", "name": "rules_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "query_ruleset/list/types.ts#L22-L31" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns summarized information about existing query rulesets.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "query_ruleset.list" }, "path": [], "query": [ { "description": "Starting offset (default: 0)", "name": "from", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "specifies a max number of results to get", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "query_ruleset/list/QueryRulesetListRequest.ts#L22-L39" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "results", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "QueryRulesetListItem", "namespace": "query_ruleset.list" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "query_ruleset.list" }, "specLocation": "query_ruleset/list/QueryRulesetListResponse.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "rules", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "QueryRule", "namespace": "query_ruleset._types" } } } } ] }, "description": "Creates or updates a query ruleset.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "query_ruleset.put" }, "path": [ { "description": "The unique identifier of the query ruleset to be created or updated", "name": "ruleset_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "query_ruleset/put/QueryRulesetPutRequest.ts#L23-L43" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "query_ruleset.put" }, "specLocation": "query_ruleset/put/QueryRulesetPutResponse.ts#L22-L26" }, { "kind": "interface", "name": { "name": "DateHistogramGrouping", "namespace": "rollup._types" }, "properties": [ { "description": "How long to wait before rolling up new documents.\nBy default, the indexer attempts to roll up all data that is available.\nHowever, it is not uncommon for data to arrive out of order.\nThe indexer is unable to deal with data that arrives after a time-span has been rolled up.\nYou need to specify a delay that matches the longest period of time you expect out-of-order data to arrive.", "name": "delay", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The date field that is to be rolled up.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The interval of time buckets to be generated when rolling up.", "docId": "calendar-and-fixed-intervals", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-datehistogram-aggregation.html#calendar_and_fixed_intervals", "name": "calendar_interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The interval of time buckets to be generated when rolling up.", "docId": "calendar-and-fixed-intervals", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-datehistogram-aggregation.html#calendar_and_fixed_intervals", "name": "fixed_interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Defines what `time_zone` the rollup documents are stored as.\nUnlike raw data, which can shift timezones on the fly, rolled documents have to be stored with a specific timezone.\nBy default, rollup documents are stored in `UTC`.", "name": "time_zone", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeZone", "namespace": "_types" } } } ], "specLocation": "rollup/_types/Groupings.ts#L42-L73" }, { "kind": "interface", "name": { "name": "FieldMetric", "namespace": "rollup._types" }, "properties": [ { "description": "The field to collect metrics for. This must be a numeric of some kind.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "An array of metrics to collect for the field. At least one metric must be configured.", "name": "metrics", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Metric", "namespace": "rollup._types" } } } } ], "specLocation": "rollup/_types/Metric.ts#L30-L35" }, { "kind": "interface", "name": { "name": "Groupings", "namespace": "rollup._types" }, "properties": [ { "description": "A date histogram group aggregates a date field into time-based buckets.\nThis group is mandatory; you currently cannot roll up documents without a timestamp and a `date_histogram` group.", "name": "date_histogram", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateHistogramGrouping", "namespace": "rollup._types" } } }, { "description": "The histogram group aggregates one or more numeric fields into numeric histogram intervals.", "name": "histogram", "required": false, "type": { "kind": "instance_of", "type": { "name": "HistogramGrouping", "namespace": "rollup._types" } } }, { "description": "The terms group can be used on keyword or numeric fields to allow bucketing via the terms aggregation at a later point.\nThe indexer enumerates and stores all values of a field for each time-period.\nThis can be potentially costly for high-cardinality groups such as IP addresses, especially if the time-bucket is particularly sparse.", "name": "terms", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsGrouping", "namespace": "rollup._types" } } } ], "specLocation": "rollup/_types/Groupings.ts#L24-L40" }, { "kind": "interface", "name": { "name": "HistogramGrouping", "namespace": "rollup._types" }, "properties": [ { "description": "The set of fields that you wish to build histograms for.\nAll fields specified must be some kind of numeric.\nOrder does not matter.", "name": "fields", "required": true, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "description": "The interval of histogram buckets to be generated when rolling up.\nFor example, a value of `5` creates buckets that are five units wide (`0-5`, `5-10`, etc).\nNote that only one interval can be specified in the histogram group, meaning that all fields being grouped via the histogram must share the same interval.", "name": "interval", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "rollup/_types/Groupings.ts#L84-L97" }, { "kind": "enum", "members": [ { "name": "min" }, { "name": "max" }, { "name": "sum" }, { "name": "avg" }, { "name": "value_count" } ], "name": { "name": "Metric", "namespace": "rollup._types" }, "specLocation": "rollup/_types/Metric.ts#L22-L28" }, { "kind": "interface", "name": { "name": "TermsGrouping", "namespace": "rollup._types" }, "properties": [ { "description": "The set of fields that you wish to collect terms for.\nThis array can contain fields that are both keyword and numerics.\nOrder does not matter.", "name": "fields", "required": true, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } } ], "specLocation": "rollup/_types/Groupings.ts#L75-L82" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes an existing rollup job.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "rollup.delete_job" }, "path": [ { "description": "Identifier for the job.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "rollup/delete_job/DeleteRollupJobRequest.ts#L23-L35" }, { "body": { "kind": "properties", "properties": [ { "name": "acknowledged", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "task_failures", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TaskFailure", "namespace": "_types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "rollup.delete_job" }, "specLocation": "rollup/delete_job/DeleteRollupJobResponse.ts#L22-L27" }, { "kind": "enum", "members": [ { "name": "started" }, { "name": "indexing" }, { "name": "stopping" }, { "name": "stopped" }, { "name": "aborting" } ], "name": { "name": "IndexingJobState", "namespace": "rollup.get_jobs" }, "specLocation": "rollup/get_jobs/types.ts#L66-L72" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves the configuration, stats, and status of rollup jobs.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "rollup.get_jobs" }, "path": [ { "description": "Identifier for the rollup job.\nIf it is `_all` or omitted, the API returns all rollup jobs.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "rollup/get_jobs/GetRollupJobRequest.ts#L23-L36" }, { "body": { "kind": "properties", "properties": [ { "name": "jobs", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RollupJob", "namespace": "rollup.get_jobs" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "rollup.get_jobs" }, "specLocation": "rollup/get_jobs/GetRollupJobResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "RollupJob", "namespace": "rollup.get_jobs" }, "properties": [ { "name": "config", "required": true, "type": { "kind": "instance_of", "type": { "name": "RollupJobConfiguration", "namespace": "rollup.get_jobs" } } }, { "name": "stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "RollupJobStats", "namespace": "rollup.get_jobs" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "RollupJobStatus", "namespace": "rollup.get_jobs" } } } ], "specLocation": "rollup/get_jobs/types.ts#L28-L32" }, { "kind": "interface", "name": { "name": "RollupJobConfiguration", "namespace": "rollup.get_jobs" }, "properties": [ { "name": "cron", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "groups", "required": true, "type": { "kind": "instance_of", "type": { "name": "Groupings", "namespace": "rollup._types" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "index_pattern", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "metrics", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldMetric", "namespace": "rollup._types" } } } }, { "name": "page_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "rollup_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "timeout", "required": true, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "rollup/get_jobs/types.ts#L34-L43" }, { "kind": "interface", "name": { "name": "RollupJobStats", "namespace": "rollup.get_jobs" }, "properties": [ { "name": "documents_processed", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "index_failures", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "index_time_in_ms", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "index_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "pages_processed", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "rollups_indexed", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "search_failures", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "search_time_in_ms", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "search_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "trigger_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "processing_time_in_ms", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "processing_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "rollup/get_jobs/types.ts#L45-L58" }, { "kind": "interface", "name": { "name": "RollupJobStatus", "namespace": "rollup.get_jobs" }, "properties": [ { "name": "current_position", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "job_state", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexingJobState", "namespace": "rollup.get_jobs" } } }, { "name": "upgraded_doc_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "rollup/get_jobs/types.ts#L60-L64" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns the capabilities of any rollup jobs that have been configured for a specific index or index pattern.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "rollup.get_rollup_caps" }, "path": [ { "description": "Index, indices or index-pattern to return rollup capabilities for.\n`_all` may be used to fetch rollup capabilities from all jobs.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "rollup/get_rollup_caps/GetRollupCapabilitiesRequest.ts#L23-L36" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "RollupCapabilities", "namespace": "rollup.get_rollup_caps" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "rollup.get_rollup_caps" }, "specLocation": "rollup/get_rollup_caps/GetRollupCapabilitiesResponse.ts#L24-L27" }, { "kind": "interface", "name": { "name": "RollupCapabilities", "namespace": "rollup.get_rollup_caps" }, "properties": [ { "name": "rollup_jobs", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RollupCapabilitySummary", "namespace": "rollup.get_rollup_caps" } } } } ], "specLocation": "rollup/get_rollup_caps/types.ts#L25-L27" }, { "kind": "interface", "name": { "name": "RollupCapabilitySummary", "namespace": "rollup.get_rollup_caps" }, "properties": [ { "name": "fields", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RollupFieldSummary", "namespace": "rollup.get_rollup_caps" } } } } }, { "name": "index_pattern", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "rollup_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "rollup/get_rollup_caps/types.ts#L29-L34" }, { "kind": "interface", "name": { "name": "RollupFieldSummary", "namespace": "rollup.get_rollup_caps" }, "properties": [ { "name": "agg", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "calendar_interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "time_zone", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeZone", "namespace": "_types" } } } ], "specLocation": "rollup/get_rollup_caps/types.ts#L36-L40" }, { "kind": "interface", "name": { "name": "IndexCapabilities", "namespace": "rollup.get_rollup_index_caps" }, "properties": [ { "name": "rollup_jobs", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RollupJobSummary", "namespace": "rollup.get_rollup_index_caps" } } } } ], "specLocation": "rollup/get_rollup_index_caps/types.ts#L24-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns the rollup capabilities of all jobs inside of a rollup index (for example, the index where rollup data is stored).", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "rollup.get_rollup_index_caps" }, "path": [ { "description": "Data stream or index to check for rollup capabilities.\nWildcard (`*`) expressions are supported.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } } ], "query": [], "specLocation": "rollup/get_rollup_index_caps/GetRollupIndexCapabilitiesRequest.ts#L23-L36" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "IndexCapabilities", "namespace": "rollup.get_rollup_index_caps" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "rollup.get_rollup_index_caps" }, "specLocation": "rollup/get_rollup_index_caps/GetRollupIndexCapabilitiesResponse.ts#L24-L27" }, { "kind": "interface", "name": { "name": "RollupJobSummary", "namespace": "rollup.get_rollup_index_caps" }, "properties": [ { "name": "fields", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RollupJobSummaryField", "namespace": "rollup.get_rollup_index_caps" } } } } }, { "name": "index_pattern", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "job_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "rollup_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "specLocation": "rollup/get_rollup_index_caps/types.ts#L28-L33" }, { "kind": "interface", "name": { "name": "RollupJobSummaryField", "namespace": "rollup.get_rollup_index_caps" }, "properties": [ { "name": "agg", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "time_zone", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeZone", "namespace": "_types" } } }, { "name": "calendar_interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "rollup/get_rollup_index_caps/types.ts#L35-L39" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "A cron string which defines the intervals when the rollup job should be executed. When the interval\ntriggers, the indexer attempts to rollup the data in the index pattern. The cron pattern is unrelated\nto the time interval of the data being rolled up. For example, you may wish to create hourly rollups\nof your document but to only run the indexer on a daily basis at midnight, as defined by the cron. The\ncron pattern is defined just like a Watcher cron schedule.", "name": "cron", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Defines the grouping fields and aggregations that are defined for this rollup job. These fields will then be\navailable later for aggregating into buckets. These aggs and fields can be used in any combination. Think of\nthe groups configuration as defining a set of tools that can later be used in aggregations to partition the\ndata. Unlike raw data, we have to think ahead to which fields and aggregations might be used. Rollups provide\nenough flexibility that you simply need to determine which fields are needed, not in what order they are needed.", "name": "groups", "required": true, "type": { "kind": "instance_of", "type": { "name": "Groupings", "namespace": "rollup._types" } } }, { "description": "The index or index pattern to roll up. Supports wildcard-style patterns (`logstash-*`). The job attempts to\nrollup the entire index or index-pattern.", "name": "index_pattern", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Defines the metrics to collect for each grouping tuple. By default, only the doc_counts are collected for each\ngroup. To make rollup useful, you will often add metrics like averages, mins, maxes, etc. Metrics are defined\non a per-field basis and for each field you configure which metric should be collected.", "name": "metrics", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldMetric", "namespace": "rollup._types" } } } }, { "description": "The number of bucket results that are processed on each iteration of the rollup indexer. A larger value tends\nto execute faster, but requires more memory during processing. This value has no effect on how the data is\nrolled up; it is merely used for tweaking the speed or memory cost of the indexer.", "name": "page_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The index that contains the rollup results. The index can be shared with other rollup jobs. The data is stored so that it doesn’t interfere with unrelated jobs.", "name": "rollup_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "Time to wait for the request to complete.", "name": "timeout", "required": false, "serverDefault": "20s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "headers", "required": false, "type": { "kind": "instance_of", "type": { "name": "HttpHeaders", "namespace": "_types" } } } ] }, "description": "Creates a rollup job.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "rollup.put_job" }, "path": [ { "description": "Identifier for the rollup job. This can be any alphanumeric string and uniquely identifies the\ndata that is associated with the rollup job. The ID is persistent; it is stored with the rolled\nup data. If you create a job, let it run for a while, then delete the job, the data that the job\nrolled up is still be associated with this job ID. You cannot create a new job with the same ID\nsince that could lead to problems with mismatched job configurations.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "rollup/put_job/CreateRollupJobRequest.ts#L27-L89" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "rollup.put_job" }, "specLocation": "rollup/put_job/CreateRollupJobResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "aliases": [ "aggs" ], "description": "Specifies aggregations.", "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AggregationContainer", "namespace": "_types.aggregations" } } } }, { "description": "Specifies a DSL query.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Must be zero if set, as rollups work on pre-aggregated data.", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ] }, "description": "Enables searching rolled-up data using the standard Query DSL.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "rollup.rollup_search" }, "path": [ { "description": "Enables searching rolled-up data using the standard Query DSL.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "Indicates whether hits.total should be rendered as an integer or an object in the rest search response", "name": "rest_total_hits_as_int", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response", "name": "typed_keys", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "rollup/rollup_search/RollupSearchRequest.ts#L27-L57" }, { "body": { "kind": "properties", "properties": [ { "name": "took", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "timed_out", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "terminated_early", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "_shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } }, { "name": "hits", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "rollup.rollup_search" } } ], "kind": "instance_of", "type": { "name": "HitsMetadata", "namespace": "_global.search._types" } } }, { "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "AggregateName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Aggregate", "namespace": "_types.aggregations" } } } } ] }, "generics": [ { "name": "TDocument", "namespace": "rollup.rollup_search" } ], "kind": "response", "name": { "name": "Response", "namespace": "rollup.rollup_search" }, "specLocation": "rollup/rollup_search/RollupSearchResponse.ts#L27-L36" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Starts an existing, stopped rollup job.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "rollup.start_job" }, "path": [ { "description": "Identifier for the rollup job.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "rollup/start_job/StartRollupJobRequest.ts#L23-L35" }, { "body": { "kind": "properties", "properties": [ { "name": "started", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "rollup.start_job" }, "specLocation": "rollup/start_job/StartRollupJobResponse.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Stops an existing, started rollup job.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "rollup.stop_job" }, "path": [ { "description": "Identifier for the rollup job.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "If `wait_for_completion` is `true`, the API blocks for (at maximum) the specified duration while waiting for the job to stop.\nIf more than `timeout` time has passed, the API throws a timeout exception.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If set to `true`, causes the API to block until the indexer state completely stops.\nIf set to `false`, the API returns immediately and the indexer is stopped asynchronously in the background.", "name": "wait_for_completion", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "rollup/stop_job/StopRollupJobRequest.ts#L24-L50" }, { "body": { "kind": "properties", "properties": [ { "name": "stopped", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "rollup.stop_job" }, "specLocation": "rollup/stop_job/StopRollupJobResponse.ts#L20-L22" }, { "kind": "interface", "name": { "name": "AnalyticsCollection", "namespace": "search_application._types" }, "properties": [ { "description": "Data stream for the collection.", "name": "event_data_stream", "required": true, "type": { "kind": "instance_of", "type": { "name": "EventDataStream", "namespace": "search_application._types" } } } ], "specLocation": "search_application/_types/BehavioralAnalytics.ts#L22-L27" }, { "kind": "interface", "name": { "name": "EventDataStream", "namespace": "search_application._types" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } ], "specLocation": "search_application/_types/BehavioralAnalytics.ts#L29-L31" }, { "kind": "interface", "name": { "name": "SearchApplication", "namespace": "search_application._types" }, "properties": [ { "description": "Search Application name.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Indices that are part of the Search Application.", "name": "indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } }, { "description": "Last time the Search Application was updated.", "name": "updated_at_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "Analytics collection associated to the Search Application.", "name": "analytics_collection_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Search template to use on search operations.", "name": "template", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchApplicationTemplate", "namespace": "search_application._types" } } } ], "specLocation": "search_application/_types/SearchApplication.ts#L24-L45" }, { "kind": "interface", "name": { "name": "SearchApplicationTemplate", "namespace": "search_application._types" }, "properties": [ { "description": "The associated mustache template.", "name": "script", "required": true, "type": { "kind": "instance_of", "type": { "name": "InlineScript", "namespace": "_types" } } } ], "specLocation": "search_application/_types/SearchApplication.ts#L47-L52" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes a search application.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "search_application.delete" }, "path": [ { "description": "The name of the search application to delete", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "search_application/delete/SearchApplicationsDeleteRequest.ts#L22-L35" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "search_application.delete" }, "specLocation": "search_application/delete/SearchApplicationsDeleteResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Delete a behavioral analytics collection.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "search_application.delete_behavioral_analytics" }, "path": [ { "description": "The name of the analytics collection to be deleted", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "search_application/delete_behavioral_analytics/BehavioralAnalyticsDeleteRequest.ts#L22-L35" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "search_application.delete_behavioral_analytics" }, "specLocation": "search_application/delete_behavioral_analytics/BehavioralAnalyticsDeleteResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns the details about a search application", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "search_application.get" }, "path": [ { "description": "The name of the search application", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "search_application/get/SearchApplicationsGetRequest.ts#L22-L35" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "SearchApplication", "namespace": "search_application._types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "search_application.get" }, "specLocation": "search_application/get/SearchApplicationsGetResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns the existing behavioral analytics collections.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "search_application.get_behavioral_analytics" }, "path": [ { "description": "A list of analytics collections to limit the returned information", "name": "name", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } } ], "query": [], "specLocation": "search_application/get_behavioral_analytics/BehavioralAnalyticsGetRequest.ts#L22-L35" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AnalyticsCollection", "namespace": "search_application._types" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "search_application.get_behavioral_analytics" }, "specLocation": "search_application/get_behavioral_analytics/BehavioralAnalyticsGetResponse.ts#L24-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns the existing search applications.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "search_application.list" }, "path": [], "query": [ { "description": "Query in the Lucene query string syntax.", "name": "q", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Starting offset.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies a max number of results to get.", "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "search_application/list/SearchApplicationsListRequest.ts#L22-L44" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "results", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SearchApplicationListItem", "namespace": "search_application.list" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "search_application.list" }, "specLocation": "search_application/list/SearchApplicationsListResponse.ts#L24-L29" }, { "kind": "interface", "name": { "name": "SearchApplicationListItem", "namespace": "search_application.list" }, "properties": [ { "description": "Search Application name", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Indices that are part of the Search Application", "name": "indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } }, { "description": "Last time the Search Application was updated", "name": "updated_at_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "Analytics collection associated to the Search Application", "name": "analytics_collection_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "specLocation": "search_application/list/SearchApplicationsListResponse.ts#L31-L48" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "search_application", "kind": "value", "value": { "kind": "instance_of", "type": { "name": "SearchApplication", "namespace": "search_application._types" } } }, "description": "Creates or updates a search application.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "search_application.put" }, "path": [ { "description": "The name of the search application to be created or updated.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "If `true`, this request cannot replace or update existing Search Applications.", "name": "create", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "search_application/put/SearchApplicationsPutRequest.ts#L23-L48" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "search_application.put" }, "specLocation": "search_application/put/SearchApplicationsPutResponse.ts#L22-L26" }, { "inherits": { "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } }, "kind": "interface", "name": { "name": "AnalyticsAcknowledgeResponseBase", "namespace": "search_application.put_behavioral_analytics" }, "properties": [ { "description": "The name of the analytics collection created or updated", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "specLocation": "search_application/put_behavioral_analytics/BehavioralAnalyticsPutResponse.ts#L28-L33" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Creates a behavioral analytics collection.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "search_application.put_behavioral_analytics" }, "path": [ { "description": "The name of the analytics collection to be created or updated.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "search_application/put_behavioral_analytics/BehavioralAnalyticsPutRequest.ts#L22-L35" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AnalyticsAcknowledgeResponseBase", "namespace": "search_application.put_behavioral_analytics" } } }, "kind": "response", "name": { "name": "Response", "namespace": "search_application.put_behavioral_analytics" }, "specLocation": "search_application/put_behavioral_analytics/BehavioralAnalyticsPutResponse.ts#L24-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Query parameters specific to this request, which will override any defaults specified in the template.", "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ] }, "description": "Perform a search against a search application.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "search_application.search" }, "path": [ { "description": "The name of the search application to be searched.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "search_application/search/SearchApplicationsSearchRequest.ts#L24-L43" }, { "body": { "kind": "value", "value": { "generics": [ { "kind": "instance_of", "type": { "name": "TDocument", "namespace": "search_application.search" } } ], "kind": "instance_of", "type": { "name": "ResponseBody", "namespace": "_global.search" } } }, "generics": [ { "name": "TDocument", "namespace": "search_application.search" } ], "kind": "response", "name": { "name": "Response", "namespace": "search_application.search" }, "specLocation": "search_application/search/SearchApplicationsSearchResponse.ts#L23-L25" }, { "kind": "enum", "members": [ { "name": "cluster" }, { "name": "indices" }, { "name": "shards" } ], "name": { "name": "StatsLevel", "namespace": "searchable_snapshots._types" }, "specLocation": "searchable_snapshots/_types/stats.ts#L20-L24" }, { "kind": "interface", "name": { "name": "Node", "namespace": "searchable_snapshots.cache_stats" }, "properties": [ { "name": "shared_cache", "required": true, "type": { "kind": "instance_of", "type": { "name": "Shared", "namespace": "searchable_snapshots.cache_stats" } } } ], "specLocation": "searchable_snapshots/cache_stats/Response.ts#L30-L32" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieve node-level cache statistics about searchable snapshots.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "searchable_snapshots.cache_stats" }, "path": [ { "description": "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes", "name": "node_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeIds", "namespace": "_types" } } } ], "query": [ { "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "searchable_snapshots/cache_stats/Request.ts#L24-L35" }, { "body": { "kind": "properties", "properties": [ { "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Node", "namespace": "searchable_snapshots.cache_stats" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "searchable_snapshots.cache_stats" }, "specLocation": "searchable_snapshots/cache_stats/Response.ts#L24-L28" }, { "kind": "interface", "name": { "name": "Shared", "namespace": "searchable_snapshots.cache_stats" }, "properties": [ { "name": "reads", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "bytes_read_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "writes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "bytes_written_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "evictions", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "num_regions", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "region_size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } } ], "specLocation": "searchable_snapshots/cache_stats/Response.ts#L34-L43" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Clear the cache of searchable snapshots.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "searchable_snapshots.clear_cache" }, "path": [ { "description": "A comma-separated list of index names", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", "name": "expand_wildcards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExpandWildcards", "namespace": "_types" } } }, { "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", "name": "allow_no_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", "name": "ignore_unavailable", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "pretty", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "human", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "searchable_snapshots/clear_cache/SearchableSnapshotsClearCacheRequest.ts#L23-L38" }, { "body": { "kind": "value", "value": { "kind": "user_defined_value" } }, "kind": "response", "name": { "name": "Response", "namespace": "searchable_snapshots.clear_cache" }, "specLocation": "searchable_snapshots/clear_cache/SearchableSnapshotsClearCacheResponse.ts#L22-L25" }, { "kind": "interface", "name": { "name": "MountedSnapshot", "namespace": "searchable_snapshots.mount" }, "properties": [ { "name": "snapshot", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "name": "shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } } ], "specLocation": "searchable_snapshots/mount/types.ts#L23-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "renamed_index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "index_settings", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "ignore_index_settings", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "description": "Mount a snapshot as a searchable index.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "searchable_snapshots.mount" }, "path": [ { "description": "The name of the repository containing the snapshot of the index to mount", "name": "repository", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "The name of the snapshot of the index to mount", "name": "snapshot", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Explicit operation timeout for connection to master node", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Should this request wait until the operation has completed before returning", "name": "wait_for_completion", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Selects the kind of local storage used to accelerate searches. Experimental, and defaults to `full_copy`", "name": "storage", "required": false, "serverDefault": "full_copy", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "searchable_snapshots/mount/SearchableSnapshotsMountRequest.ts#L26-L49" }, { "body": { "kind": "properties", "properties": [ { "name": "snapshot", "required": true, "type": { "kind": "instance_of", "type": { "name": "MountedSnapshot", "namespace": "searchable_snapshots.mount" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "searchable_snapshots.mount" }, "specLocation": "searchable_snapshots/mount/SearchableSnapshotsMountResponse.ts#L22-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieve shard-level statistics about searchable snapshots.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "searchable_snapshots.stats" }, "path": [ { "description": "A comma-separated list of index names", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "query": [ { "description": "Return stats aggregated at cluster, index or shard level", "name": "level", "required": false, "type": { "kind": "instance_of", "type": { "name": "StatsLevel", "namespace": "searchable_snapshots._types" } } } ], "specLocation": "searchable_snapshots/stats/SearchableSnapshotsStatsRequest.ts#L24-L35" }, { "body": { "kind": "properties", "properties": [ { "name": "stats", "required": true, "type": { "kind": "user_defined_value" } }, { "name": "total", "required": true, "type": { "kind": "user_defined_value" } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "searchable_snapshots.stats" }, "specLocation": "searchable_snapshots/stats/SearchableSnapshotsStatsResponse.ts#L22-L27" }, { "kind": "interface", "name": { "name": "ApiKey", "namespace": "security._types" }, "properties": [ { "description": "Creation time for the API key in milliseconds.", "name": "creation", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Expiration time for the API key in milliseconds.", "name": "expiration", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Id for the API key", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Invalidation status for the API key.\nIf the key has been invalidated, it has a value of `true`. Otherwise, it is `false`.", "name": "invalidated", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Name of the API key.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Realm name of the principal for which this API key was created.", "name": "realm", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.14.0" } }, "description": "Realm type of the principal for which this API key was created", "name": "realm_type", "required": false, "since": "8.14.0", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Principal for which this API key was created", "name": "username", "required": false, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.14.0" } }, "description": "The profile uid for the API key owner principal, if requested and if it exists", "name": "profile_uid", "required": false, "since": "8.14.0", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.13.0" } }, "description": "Metadata of the API key", "name": "metadata", "required": false, "since": "7.13.0", "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "The role descriptors assigned to this API key when it was created or last updated.\nAn empty role descriptor means the API key inherits the owner user’s permissions.", "name": "role_descriptors", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "RoleDescriptor", "namespace": "security._types" } } } }, { "availability": { "serverless": {}, "stack": { "since": "8.5.0" } }, "description": "The owner user’s permissions associated with the API key.\nIt is a point-in-time snapshot captured at creation and subsequent updates.\nAn API key’s effective permissions are an intersection of its assigned privileges and the owner user’s permissions.", "name": "limited_by", "required": false, "since": "8.5.0", "type": { "kind": "array_of", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "RoleDescriptor", "namespace": "security._types" } } } } }, { "name": "_sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortResults", "namespace": "_types" } } } ], "specLocation": "security/_types/ApiKey.ts#L27-L89" }, { "kind": "interface", "name": { "name": "ApplicationGlobalUserPrivileges", "namespace": "security._types" }, "properties": [ { "name": "manage", "required": true, "type": { "kind": "instance_of", "type": { "name": "ManageUserPrivileges", "namespace": "security._types" } } } ], "specLocation": "security/_types/Privileges.ts#L218-L220" }, { "kind": "interface", "name": { "name": "ApplicationPrivileges", "namespace": "security._types" }, "properties": [ { "description": "The name of the application to which this entry applies.", "name": "application", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A list of strings, where each element is the name of an application privilege or action.", "name": "privileges", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "A list resources to which the privileges are applied.", "name": "resources", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "security/_types/Privileges.ts#L26-L39" }, { "kind": "interface", "name": { "name": "ClusterNode", "namespace": "security._types" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "specLocation": "security/_types/ClusterNode.ts#L22-L24" }, { "isOpen": true, "kind": "enum", "members": [ { "name": "all" }, { "name": "cancel_task" }, { "name": "create_snapshot" }, { "name": "cross_cluster_replication" }, { "name": "cross_cluster_search" }, { "name": "delegate_pki" }, { "name": "grant_api_key" }, { "name": "manage" }, { "name": "manage_api_key" }, { "name": "manage_autoscaling" }, { "name": "manage_behavioral_analytics" }, { "name": "manage_ccr" }, { "name": "manage_data_frame_transforms" }, { "name": "manage_data_stream_global_retention" }, { "name": "manage_enrich" }, { "name": "manage_ilm" }, { "name": "manage_index_templates" }, { "name": "manage_inference" }, { "name": "manage_ingest_pipelines" }, { "name": "manage_logstash_pipelines" }, { "name": "manage_ml" }, { "name": "manage_oidc" }, { "name": "manage_own_api_key" }, { "name": "manage_pipeline" }, { "name": "manage_rollup" }, { "name": "manage_saml" }, { "name": "manage_search_application" }, { "name": "manage_search_query_rules" }, { "name": "manage_search_synonyms" }, { "name": "manage_security" }, { "name": "manage_service_account" }, { "name": "manage_slm" }, { "name": "manage_token" }, { "name": "manage_transform" }, { "name": "manage_user_profile" }, { "name": "manage_watcher" }, { "name": "monitor" }, { "name": "monitor_data_frame_transforms" }, { "name": "monitor_data_stream_global_retention" }, { "name": "monitor_enrich" }, { "name": "monitor_inference" }, { "name": "monitor_ml" }, { "name": "monitor_rollup" }, { "name": "monitor_snapshot" }, { "name": "monitor_text_structure" }, { "name": "monitor_transform" }, { "name": "monitor_watcher" }, { "name": "none" }, { "name": "post_behavioral_analytics_event" }, { "name": "read_ccr" }, { "name": "read_connector_secrets" }, { "name": "read_fleet_secrets" }, { "name": "read_ilm" }, { "name": "read_pipeline" }, { "name": "read_security" }, { "name": "read_slm" }, { "name": "transport_client" }, { "name": "write_connector_secrets" }, { "name": "write_fleet_secrets" } ], "name": { "name": "ClusterPrivilege", "namespace": "security._types" }, "specLocation": "security/_types/Privileges.ts#L41-L102" }, { "kind": "interface", "name": { "name": "CreatedStatus", "namespace": "security._types" }, "properties": [ { "name": "created", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "security/_types/CreatedStatus.ts#L20-L22" }, { "kind": "interface", "name": { "name": "FieldRule", "namespace": "security._types" }, "properties": [ { "name": "username", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } }, { "name": "dn", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } }, { "name": "groups", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "specLocation": "security/_types/RoleMappingRule.ts#L36-L44", "variants": { "kind": "container", "nonExhaustive": true } }, { "kind": "interface", "name": { "name": "FieldSecurity", "namespace": "security._types" }, "properties": [ { "name": "except", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } }, { "name": "grant", "required": false, "type": { "kind": "instance_of", "type": { "name": "Fields", "namespace": "_types" } } } ], "specLocation": "security/_types/FieldSecurity.ts#L22-L25" }, { "kind": "interface", "name": { "name": "GlobalPrivilege", "namespace": "security._types" }, "properties": [ { "name": "application", "required": true, "type": { "kind": "instance_of", "type": { "name": "ApplicationGlobalUserPrivileges", "namespace": "security._types" } } } ], "specLocation": "security/_types/Privileges.ts#L214-L216" }, { "kind": "enum", "members": [ { "description": "In this type of grant, you must supply the user ID and password for which you want to create the API key.", "name": "password" }, { "description": "In this type of grant, you must supply an access token that was created by the Elasticsearch token service.", "name": "access_token" } ], "name": { "name": "GrantType", "namespace": "security._types" }, "specLocation": "security/_types/GrantType.ts#L20-L29" }, { "isOpen": true, "kind": "enum", "members": [ { "name": "all" }, { "name": "auto_configure" }, { "name": "create" }, { "name": "create_doc" }, { "name": "create_index" }, { "name": "cross_cluster_replication" }, { "name": "cross_cluster_replication_internal" }, { "name": "delete" }, { "name": "delete_index" }, { "name": "index" }, { "name": "maintenance" }, { "name": "manage" }, { "name": "manage_data_stream_lifecycle" }, { "name": "manage_follow_index" }, { "name": "manage_ilm" }, { "name": "manage_leader_index" }, { "name": "monitor" }, { "name": "none" }, { "name": "read" }, { "name": "read_cross_cluster" }, { "name": "view_index_metadata" }, { "name": "write" } ], "name": { "name": "IndexPrivilege", "namespace": "security._types" }, "specLocation": "security/_types/Privileges.ts#L188-L212" }, { "kind": "interface", "name": { "name": "IndicesPrivileges", "namespace": "security._types" }, "properties": [ { "description": "The document fields that the owners of the role have read access to.", "docId": "field-and-document-access-control", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/field-and-document-access-control.html", "name": "field_security", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldSecurity", "namespace": "security._types" } } }, { "description": "A list of indices (or index name patterns) to which the permissions in this entry apply.", "name": "names", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "The index level privileges that owners of the role have on the specified indices.", "name": "privileges", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexPrivilege", "namespace": "security._types" } } } }, { "description": "A search query that defines the documents the owners of the role have access to. A document within the specified indices must match this query for it to be accessible by the owners of the role.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndicesPrivilegesQuery", "namespace": "security._types" } } }, { "description": "Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.", "name": "allow_restricted_indices", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "security/_types/Privileges.ts#L104-L127" }, { "codegenNames": [ "json_text", "query", "template" ], "description": "While creating or updating a role you can provide either a JSON structure or a string to the API.\nHowever, the response provided by Elasticsearch will only be string with a json-as-text content.\n\nSince this is embedded in `IndicesPrivileges`, the same structure is used for clarity in both contexts.", "kind": "type_alias", "name": { "name": "IndicesPrivilegesQuery", "namespace": "security._types" }, "specLocation": "security/_types/Privileges.ts#L153-L161", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } }, { "kind": "instance_of", "type": { "name": "RoleTemplateQuery", "namespace": "security._types" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "ManageUserPrivileges", "namespace": "security._types" }, "properties": [ { "name": "applications", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "security/_types/Privileges.ts#L222-L224" }, { "kind": "interface", "name": { "name": "RealmInfo", "namespace": "security._types" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "security/_types/RealmInfo.ts#L22-L25" }, { "kind": "interface", "name": { "name": "RoleDescriptor", "namespace": "security._types" }, "properties": [ { "description": "A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute.", "name": "cluster", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "aliases": [ "index" ], "description": "A list of indices permissions entries.", "name": "indices", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndicesPrivileges", "namespace": "security._types" } } } }, { "description": "An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.", "name": "global", "required": false, "type": { "items": [ { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "GlobalPrivilege", "namespace": "security._types" } } }, { "kind": "instance_of", "type": { "name": "GlobalPrivilege", "namespace": "security._types" } } ], "kind": "union_of" } }, { "description": "A list of application privilege entries", "name": "applications", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ApplicationPrivileges", "namespace": "security._types" } } } }, { "description": "Optional meta-data. Within the metadata object, keys that begin with `_` are reserved for system usage.", "name": "metadata", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "A list of users that the API keys can impersonate.", "docId": "run-as-privilege", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/run-as-privilege.html", "name": "run_as", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "transient_metadata", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ], "specLocation": "security/_types/RoleDescriptor.ts#L28-L56" }, { "attachedBehaviors": [ "OverloadOf" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "RoleDescriptor", "namespace": "security._types" } } ], "type": { "name": "OverloadOf", "namespace": "_spec_utils" } } ], "kind": "interface", "name": { "name": "RoleDescriptorRead", "namespace": "security._types" }, "properties": [ { "description": "A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute.", "name": "cluster", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "aliases": [ "index" ], "description": "A list of indices permissions entries.", "name": "indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndicesPrivileges", "namespace": "security._types" } } } }, { "description": "An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.", "name": "global", "required": false, "type": { "items": [ { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "GlobalPrivilege", "namespace": "security._types" } } }, { "kind": "instance_of", "type": { "name": "GlobalPrivilege", "namespace": "security._types" } } ], "kind": "union_of" } }, { "description": "A list of application privilege entries", "name": "applications", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ApplicationPrivileges", "namespace": "security._types" } } } }, { "description": "Optional meta-data. Within the metadata object, keys that begin with `_` are reserved for system usage.", "name": "metadata", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "A list of users that the API keys can impersonate.", "docId": "run-as-privilege", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/run-as-privilege.html", "name": "run_as", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "transient_metadata", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ], "specLocation": "security/_types/RoleDescriptor.ts#L58-L86" }, { "kind": "interface", "name": { "name": "RoleMapping", "namespace": "security._types" }, "properties": [ { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "metadata", "required": true, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "name": "roles", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "role_templates", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RoleTemplate", "namespace": "security._types" } } } }, { "name": "rules", "required": true, "type": { "kind": "instance_of", "type": { "name": "RoleMappingRule", "namespace": "security._types" } } } ], "specLocation": "security/_types/RoleMapping.ts#L25-L33" }, { "kind": "interface", "name": { "name": "RoleMappingRule", "namespace": "security._types" }, "properties": [ { "name": "any", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RoleMappingRule", "namespace": "security._types" } } } }, { "name": "all", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RoleMappingRule", "namespace": "security._types" } } } }, { "name": "field", "required": false, "type": { "kind": "instance_of", "type": { "name": "FieldRule", "namespace": "security._types" } } }, { "name": "except", "required": false, "type": { "kind": "instance_of", "type": { "name": "RoleMappingRule", "namespace": "security._types" } } } ], "specLocation": "security/_types/RoleMappingRule.ts#L23-L34", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "RoleTemplate", "namespace": "security._types" }, "properties": [ { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "TemplateFormat", "namespace": "security._types" } } }, { "name": "template", "required": true, "type": { "kind": "instance_of", "type": { "name": "Script", "namespace": "_types" } } } ], "specLocation": "security/_types/RoleTemplate.ts#L28-L31" }, { "codegenNames": [ "query_string", "query_object" ], "kind": "type_alias", "name": { "name": "RoleTemplateInlineQuery", "namespace": "security._types" }, "specLocation": "security/_types/Privileges.ts#L182-L183", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } ], "kind": "union_of" } }, { "inherits": { "type": { "name": "ScriptBase", "namespace": "_types" } }, "kind": "interface", "name": { "name": "RoleTemplateInlineScript", "namespace": "security._types" }, "properties": [ { "name": "lang", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScriptLanguage", "namespace": "_types" } } }, { "name": "options", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "source", "required": true, "type": { "kind": "instance_of", "type": { "name": "RoleTemplateInlineQuery", "namespace": "security._types" } } } ], "shortcutProperty": "source", "specLocation": "security/_types/Privileges.ts#L175-L180" }, { "kind": "interface", "name": { "name": "RoleTemplateQuery", "namespace": "security._types" }, "properties": [ { "description": "When you create a role, you can specify a query that defines the document level security permissions. You can optionally\nuse Mustache templates in the role query to insert the username of the current authenticated user into the role.\nLike other places in Elasticsearch that support templating or scripting, you can specify inline, stored, or file-based\ntemplates and define custom parameters. You access the details for the current authenticated user through the _user parameter.", "docId": "templating-role-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/field-and-document-access-control.html#templating-role-query", "name": "template", "required": false, "type": { "kind": "instance_of", "type": { "name": "RoleTemplateScript", "namespace": "security._types" } } } ], "specLocation": "security/_types/Privileges.ts#L163-L173" }, { "codegenNames": [ "inline", "stored" ], "kind": "type_alias", "name": { "name": "RoleTemplateScript", "namespace": "security._types" }, "specLocation": "security/_types/Privileges.ts#L185-L186", "type": { "items": [ { "kind": "instance_of", "type": { "name": "RoleTemplateInlineScript", "namespace": "security._types" } }, { "kind": "instance_of", "type": { "name": "StoredScriptId", "namespace": "_types" } } ], "kind": "union_of" } }, { "kind": "enum", "members": [ { "name": "string" }, { "name": "json" } ], "name": { "name": "TemplateFormat", "namespace": "security._types" }, "specLocation": "security/_types/RoleTemplate.ts#L22-L25" }, { "kind": "interface", "name": { "name": "User", "namespace": "security._types" }, "properties": [ { "name": "email", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "full_name", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "metadata", "required": true, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "name": "roles", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "username", "required": true, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } }, { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "profile_uid", "required": false, "type": { "kind": "instance_of", "type": { "name": "UserProfileId", "namespace": "security._types" } } } ], "specLocation": "security/_types/User.ts#L23-L31" }, { "kind": "interface", "name": { "name": "UserIndicesPrivileges", "namespace": "security._types" }, "properties": [ { "description": "The document fields that the owners of the role have read access to.", "docId": "field-and-document-access-control", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/field-and-document-access-control.html", "name": "field_security", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldSecurity", "namespace": "security._types" } } } }, { "description": "A list of indices (or index name patterns) to which the permissions in this entry apply.", "name": "names", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "The index level privileges that owners of the role have on the specified indices.", "name": "privileges", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexPrivilege", "namespace": "security._types" } } } }, { "description": "Search queries that define the documents the user has access to. A document within the specified indices must match these queries for it to be accessible by the owners of the role.", "name": "query", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndicesPrivilegesQuery", "namespace": "security._types" } } } }, { "description": "Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.", "name": "allow_restricted_indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "security/_types/Privileges.ts#L129-L151" }, { "kind": "interface", "name": { "name": "UserProfile", "namespace": "security._types" }, "properties": [ { "name": "uid", "required": true, "type": { "kind": "instance_of", "type": { "name": "UserProfileId", "namespace": "security._types" } } }, { "name": "user", "required": true, "type": { "kind": "instance_of", "type": { "name": "UserProfileUser", "namespace": "security._types" } } }, { "name": "data", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "labels", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "enabled", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "security/_types/UserProfile.ts#L42-L48" }, { "kind": "interface", "name": { "name": "UserProfileHitMetadata", "namespace": "security._types" }, "properties": [ { "name": "_primary_term", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "_seq_no", "required": true, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } } ], "specLocation": "security/_types/UserProfile.ts#L28-L31" }, { "kind": "type_alias", "name": { "name": "UserProfileId", "namespace": "security._types" }, "specLocation": "security/_types/UserProfile.ts#L26-L26", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "interface", "name": { "name": "UserProfileUser", "namespace": "security._types" }, "properties": [ { "name": "email", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "full_name", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "realm_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "realm_domain", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "roles", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "username", "required": true, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } } ], "specLocation": "security/_types/UserProfile.ts#L33-L40" }, { "inherits": { "type": { "name": "UserProfile", "namespace": "security._types" } }, "kind": "interface", "name": { "name": "UserProfileWithMetadata", "namespace": "security._types" }, "properties": [ { "name": "last_synchronized", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "_doc", "required": true, "type": { "kind": "instance_of", "type": { "name": "UserProfileHitMetadata", "namespace": "security._types" } } } ], "specLocation": "security/_types/UserProfile.ts#L50-L53" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "access_token", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "grant_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "GrantType", "namespace": "security._types" } } }, { "name": "password", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "username", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Creates or updates a user profile on behalf of another user.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.activate_user_profile" }, "path": [], "query": [], "specLocation": "security/activate_user_profile/Request.ts#L23-L37" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "UserProfileWithMetadata", "namespace": "security._types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "security.activate_user_profile" }, "specLocation": "security/activate_user_profile/Response.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Enables you to submit a request with a basic auth header to authenticate a user and retrieve information about the authenticated user.\nA successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user.\nIf the user cannot be authenticated, this API returns a 401 status code.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.authenticate" }, "path": [], "query": [], "specLocation": "security/authenticate/SecurityAuthenticateRequest.ts#L22-L30" }, { "body": { "kind": "properties", "properties": [ { "name": "api_key", "required": false, "type": { "kind": "instance_of", "type": { "name": "ApiKey", "namespace": "security._types" } } }, { "name": "authentication_realm", "required": true, "type": { "kind": "instance_of", "type": { "name": "RealmInfo", "namespace": "security._types" } } }, { "name": "email", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "full_name", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "lookup_realm", "required": true, "type": { "kind": "instance_of", "type": { "name": "RealmInfo", "namespace": "security._types" } } }, { "name": "metadata", "required": true, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "name": "roles", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "username", "required": true, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } }, { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "authentication_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.14.0" } }, "name": "token", "required": false, "since": "7.14.0", "type": { "kind": "instance_of", "type": { "name": "Token", "namespace": "security.authenticate" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.authenticate" }, "specLocation": "security/authenticate/SecurityAuthenticateResponse.ts#L25-L43" }, { "kind": "interface", "name": { "name": "Token", "namespace": "security.authenticate" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.14.0" } }, "name": "type", "required": false, "since": "7.14.0", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "security/authenticate/types.ts#L22-L29" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The new password value. Passwords must be at least 6 characters long.", "name": "password", "required": false, "type": { "kind": "instance_of", "type": { "name": "Password", "namespace": "_types" } } }, { "description": "A hash of the new password value. This must be produced using the same\nhashing algorithm as has been configured for password storage. For more details,\nsee the explanation of the `xpack.security.authc.password_hashing.algorithm`\nsetting.", "name": "password_hash", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Changes the passwords of users in the native realm and built-in users.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.change_password" }, "path": [ { "description": "The user whose password you want to change. If you do not specify this\nparameter, the password is changed for the current user.", "name": "username", "required": false, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } } ], "query": [ { "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/change_password/SecurityChangePasswordRequest.ts#L23-L51" }, { "body": { "kind": "properties", "properties": [] }, "kind": "response", "name": { "name": "Response", "namespace": "security.change_password" }, "specLocation": "security/change_password/SecurityChangePasswordResponse.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Evicts a subset of all entries from the API key cache.\nThe cache is also automatically cleared on state changes of the security index.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.clear_api_key_cache" }, "path": [ { "description": "Comma-separated list of API key IDs to evict from the API key cache.\nTo evict all API keys, use `*`.\nDoes not support other wildcard patterns.", "name": "ids", "required": true, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } } ], "query": [], "specLocation": "security/clear_api_key_cache/SecurityClearApiKeyCacheRequest.ts#L23-L40" }, { "body": { "kind": "properties", "properties": [ { "codegenName": "node_stats", "name": "_nodes", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeStatistics", "namespace": "_types" } } }, { "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ClusterNode", "namespace": "security._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.clear_api_key_cache" }, "specLocation": "security/clear_api_key_cache/SecurityClearApiKeyCacheResponse.ts#L25-L32" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Evicts application privileges from the native application privileges cache.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.clear_cached_privileges" }, "path": [ { "description": "A comma-separated list of application names", "name": "application", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "security/clear_cached_privileges/SecurityClearCachedPrivilegesRequest.ts#L23-L32" }, { "body": { "kind": "properties", "properties": [ { "codegenName": "node_stats", "name": "_nodes", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeStatistics", "namespace": "_types" } } }, { "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ClusterNode", "namespace": "security._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.clear_cached_privileges" }, "specLocation": "security/clear_cached_privileges/SecurityClearCachedPrivilegesResponse.ts#L25-L32" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Evicts users from the user cache. Can completely clear the cache or evict specific users.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.clear_cached_realms" }, "path": [ { "description": "Comma-separated list of realms to clear", "name": "realms", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "Comma-separated list of usernames to clear from the cache", "name": "usernames", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "security/clear_cached_realms/SecurityClearCachedRealmsRequest.ts#L23-L35" }, { "body": { "kind": "properties", "properties": [ { "codegenName": "node_stats", "name": "_nodes", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeStatistics", "namespace": "_types" } } }, { "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ClusterNode", "namespace": "security._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.clear_cached_realms" }, "specLocation": "security/clear_cached_realms/SecurityClearCachedRealmsResponse.ts#L25-L32" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Evicts roles from the native role cache.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.clear_cached_roles" }, "path": [ { "description": "Role name", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [], "specLocation": "security/clear_cached_roles/ClearCachedRolesRequest.ts#L23-L32" }, { "body": { "kind": "properties", "properties": [ { "codegenName": "node_stats", "name": "_nodes", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeStatistics", "namespace": "_types" } } }, { "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ClusterNode", "namespace": "security._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.clear_cached_roles" }, "specLocation": "security/clear_cached_roles/ClearCachedRolesResponse.ts#L25-L32" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Evicts tokens from the service account token caches.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.clear_cached_service_tokens" }, "path": [ { "description": "An identifier for the namespace", "name": "namespace", "required": true, "type": { "kind": "instance_of", "type": { "name": "Namespace", "namespace": "_types" } } }, { "description": "An identifier for the service name", "name": "service", "required": true, "type": { "kind": "instance_of", "type": { "name": "Service", "namespace": "_types" } } }, { "description": "A comma-separated list of service token names", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [], "specLocation": "security/clear_cached_service_tokens/ClearCachedServiceTokensRequest.ts#L23-L34" }, { "body": { "kind": "properties", "properties": [ { "codegenName": "node_stats", "name": "_nodes", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeStatistics", "namespace": "_types" } } }, { "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ClusterNode", "namespace": "security._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.clear_cached_service_tokens" }, "specLocation": "security/clear_cached_service_tokens/ClearCachedServiceTokensResponse.ts#L25-L32" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Expiration time for the API key. By default, API keys never expire.", "name": "expiration", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Specifies the name for this API key.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.", "docId": "security-api-put-role", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/security-api-put-role.html", "name": "role_descriptors", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "RoleDescriptor", "namespace": "security._types" } } } }, { "availability": { "serverless": {}, "stack": { "since": "7.13.0" } }, "description": "Arbitrary metadata that you want to associate with the API key. It supports nested data structure. Within the metadata object, keys beginning with `_` are reserved for system usage.", "name": "metadata", "required": false, "since": "7.13.0", "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } } ] }, "description": "Creates an API key for access without requiring basic authentication.\nA successful request returns a JSON structure that contains the API key, its unique id, and its name.\nIf applicable, it also returns expiration information for the API key in milliseconds.\nNOTE: By default, API keys never expire. You can specify expiration information when you create the API keys.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.create_api_key" }, "path": [], "query": [ { "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/create_api_key/SecurityCreateApiKeyRequest.ts#L26-L58" }, { "body": { "kind": "properties", "properties": [ { "description": "Generated API key.", "name": "api_key", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Expiration in milliseconds for the API key.", "name": "expiration", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Unique ID for this API key.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Specifies the name for this API key.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.16.0" } }, "description": "API key credentials which is the base64-encoding of\nthe UTF-8 representation of `id` and `api_key` joined\nby a colon (`:`).", "name": "encoded", "required": true, "since": "7.16.0", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.create_api_key" }, "specLocation": "security/create_api_key/SecurityCreateApiKeyResponse.ts#L23-L50" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Creates a service accounts token for access without requiring basic authentication.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.create_service_token" }, "path": [ { "description": "An identifier for the namespace", "name": "namespace", "required": true, "type": { "kind": "instance_of", "type": { "name": "Namespace", "namespace": "_types" } } }, { "description": "An identifier for the service name", "name": "service", "required": true, "type": { "kind": "instance_of", "type": { "name": "Service", "namespace": "_types" } } }, { "description": "An identifier for the token name", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` (the default) then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/create_service_token/CreateServiceTokenRequest.ts#L24-L39" }, { "body": { "kind": "properties", "properties": [ { "name": "created", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "token", "required": true, "type": { "kind": "instance_of", "type": { "name": "Token", "namespace": "security.create_service_token" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.create_service_token" }, "specLocation": "security/create_service_token/CreateServiceTokenResponse.ts#L22-L27" }, { "kind": "interface", "name": { "name": "Token", "namespace": "security.create_service_token" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "security/create_service_token/types.ts#L22-L25" }, { "kind": "interface", "name": { "name": "FoundStatus", "namespace": "security.delete_privileges" }, "properties": [ { "name": "found", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "security/delete_privileges/types.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Removes application privileges.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.delete_privileges" }, "path": [ { "description": "Application name", "name": "application", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Privilege name", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/delete_privileges/SecurityDeletePrivilegesRequest.ts#L23-L36" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "FoundStatus", "namespace": "security.delete_privileges" } } } } }, "kind": "response", "name": { "name": "Response", "namespace": "security.delete_privileges" }, "specLocation": "security/delete_privileges/SecurityDeletePrivilegesResponse.ts#L23-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Removes roles in the native realm.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.delete_role" }, "path": [ { "description": "Role name", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/delete_role/SecurityDeleteRoleRequest.ts#L23-L35" }, { "body": { "kind": "properties", "properties": [ { "name": "found", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.delete_role" }, "specLocation": "security/delete_role/SecurityDeleteRoleResponse.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Removes role mappings.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.delete_role_mapping" }, "path": [ { "description": "Role-mapping name", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/delete_role_mapping/SecurityDeleteRoleMappingRequest.ts#L23-L35" }, { "body": { "kind": "properties", "properties": [ { "name": "found", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.delete_role_mapping" }, "specLocation": "security/delete_role_mapping/SecurityDeleteRoleMappingResponse.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes a service account token.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.delete_service_token" }, "path": [ { "description": "An identifier for the namespace", "name": "namespace", "required": true, "type": { "kind": "instance_of", "type": { "name": "Namespace", "namespace": "_types" } } }, { "description": "An identifier for the service name", "name": "service", "required": true, "type": { "kind": "instance_of", "type": { "name": "Service", "namespace": "_types" } } }, { "description": "An identifier for the token name", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` (the default) then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/delete_service_token/DeleteServiceTokenRequest.ts#L23-L37" }, { "body": { "kind": "properties", "properties": [ { "name": "found", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.delete_service_token" }, "specLocation": "security/delete_service_token/DeleteServiceTokenResponse.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes users from the native realm.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.delete_user" }, "path": [ { "description": "username", "name": "username", "required": true, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } } ], "query": [ { "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/delete_user/SecurityDeleteUserRequest.ts#L23-L34" }, { "body": { "kind": "properties", "properties": [ { "name": "found", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.delete_user" }, "specLocation": "security/delete_user/SecurityDeleteUserResponse.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Disables users in the native realm.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.disable_user" }, "path": [ { "description": "The username of the user to disable", "name": "username", "required": true, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } } ], "query": [ { "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/disable_user/SecurityDisableUserRequest.ts#L23-L34" }, { "body": { "kind": "properties", "properties": [] }, "kind": "response", "name": { "name": "Response", "namespace": "security.disable_user" }, "specLocation": "security/disable_user/SecurityDisableUserResponse.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Disables a user profile so it's not visible in user profile searches.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.disable_user_profile" }, "path": [ { "description": "Unique identifier for the user profile.", "name": "uid", "required": true, "type": { "kind": "instance_of", "type": { "name": "UserProfileId", "namespace": "security._types" } } } ], "query": [ { "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", "name": "refresh", "required": false, "serverDefault": "false", "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/disable_user_profile/Request.ts#L24-L47" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "security.disable_user_profile" }, "specLocation": "security/disable_user_profile/Response.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Enables users in the native realm.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.enable_user" }, "path": [ { "description": "The username of the user to enable", "name": "username", "required": true, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } } ], "query": [ { "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/enable_user/SecurityEnableUserRequest.ts#L23-L34" }, { "body": { "kind": "properties", "properties": [] }, "kind": "response", "name": { "name": "Response", "namespace": "security.enable_user" }, "specLocation": "security/enable_user/SecurityEnableUserResponse.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Enables a user profile so it's visible in user profile searches.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.enable_user_profile" }, "path": [ { "description": "Unique identifier for the user profile.", "name": "uid", "required": true, "type": { "kind": "instance_of", "type": { "name": "UserProfileId", "namespace": "security._types" } } } ], "query": [ { "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", "name": "refresh", "required": false, "serverDefault": "false", "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/enable_user_profile/Request.ts#L24-L47" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "security.enable_user_profile" }, "specLocation": "security/enable_user_profile/Response.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Enables a Kibana instance to configure itself for communication with a secured Elasticsearch cluster.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.enroll_kibana" }, "path": [], "query": [], "specLocation": "security/enroll_kibana/Request.ts#L22-L27" }, { "body": { "kind": "properties", "properties": [ { "name": "token", "required": true, "type": { "kind": "instance_of", "type": { "name": "Token", "namespace": "security.enroll_kibana" } } }, { "name": "http_ca", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.enroll_kibana" }, "specLocation": "security/enroll_kibana/Response.ts#L20-L25" }, { "kind": "interface", "name": { "name": "Token", "namespace": "security.enroll_kibana" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "security/enroll_kibana/Response.ts#L27-L30" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Allows a new node to join an existing cluster with security features enabled.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.enroll_node" }, "path": [], "query": [], "specLocation": "security/enroll_node/Request.ts#L22-L27" }, { "body": { "kind": "properties", "properties": [ { "name": "http_ca_key", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "http_ca_cert", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "transport_ca_cert", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "transport_key", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "transport_cert", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "nodes_addresses", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.enroll_node" }, "specLocation": "security/enroll_node/Response.ts#L20-L29" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves information for one or more API keys.\nNOTE: If you have only the `manage_own_api_key` privilege, this API returns only the API keys that you own.\nIf you have `read_security`, `manage_api_key` or greater privileges (including `manage_security`), this API returns all API keys regardless of ownership.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.get_api_key" }, "path": [], "query": [ { "description": "An API key id.\nThis parameter cannot be used with any of `name`, `realm_name` or `username`.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "An API key name.\nThis parameter cannot be used with any of `id`, `realm_name` or `username`.\nIt supports prefix search with wildcard.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "A boolean flag that can be used to query API keys owned by the currently authenticated user.\nThe `realm_name` or `username` parameters cannot be specified when this parameter is set to `true` as they are assumed to be the currently authenticated ones.", "name": "owner", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The name of an authentication realm.\nThis parameter cannot be used with either `id` or `name` or when `owner` flag is set to `true`.", "name": "realm_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "The username of a user.\nThis parameter cannot be used with either `id` or `name` or when `owner` flag is set to `true`.", "name": "username", "required": false, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.5.0" } }, "description": "Return the snapshot of the owner user's role descriptors\nassociated with the API key. An API key's actual\npermission is the intersection of its assigned role\ndescriptors and the owner user's role descriptors.", "name": "with_limited_by", "required": false, "serverDefault": false, "since": "8.5.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.10.0" } }, "description": "A boolean flag that can be used to query API keys that are currently active. An API key is considered active if it is neither invalidated, nor expired at query time. You can specify this together with other parameters such as `owner` or `name`. If `active_only` is false, the response will include both active and inactive (expired or invalidated) keys.", "name": "active_only", "required": false, "serverDefault": false, "since": "8.10.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.14.0" } }, "description": "Determines whether to also retrieve the profile uid, for the API key owner principal, if it exists.", "name": "with_profile_uid", "required": false, "serverDefault": false, "since": "8.14.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "security/get_api_key/SecurityGetApiKeyRequest.ts#L23-L86" }, { "body": { "kind": "properties", "properties": [ { "name": "api_keys", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ApiKey", "namespace": "security._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.get_api_key" }, "specLocation": "security/get_api_key/SecurityGetApiKeyResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.get_builtin_privileges" }, "path": [], "query": [], "specLocation": "security/get_builtin_privileges/SecurityGetBuiltinPrivilegesRequest.ts#L22-L28" }, { "body": { "kind": "properties", "properties": [ { "name": "cluster", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.get_builtin_privileges" }, "specLocation": "security/get_builtin_privileges/SecurityGetBuiltinPrivilegesResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves application privileges.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.get_privileges" }, "path": [ { "description": "Application name", "name": "application", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Privilege name", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [], "specLocation": "security/get_privileges/SecurityGetPrivilegesRequest.ts#L23-L33" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Actions", "namespace": "security.put_privileges" } } } } }, "kind": "response", "name": { "name": "Response", "namespace": "security.get_privileges" }, "specLocation": "security/get_privileges/SecurityGetPrivilegesResponse.ts#L23-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.\nThe get roles API cannot retrieve roles that are defined in roles files.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.get_role" }, "path": [ { "description": "The name of the role. You can specify multiple roles as a comma-separated list. If you do not specify this parameter, the API returns information about all roles.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [], "specLocation": "security/get_role/SecurityGetRoleRequest.ts#L23-L38" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Role", "namespace": "security.get_role" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "security.get_role" }, "specLocation": "security/get_role/SecurityGetRoleResponse.ts#L23-L26" }, { "kind": "interface", "name": { "name": "Role", "namespace": "security.get_role" }, "properties": [ { "name": "cluster", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndicesPrivileges", "namespace": "security._types" } } } }, { "name": "metadata", "required": true, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "name": "run_as", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "transient_metadata", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "applications", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ApplicationPrivileges", "namespace": "security._types" } } } }, { "name": "role_templates", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RoleTemplate", "namespace": "security._types" } } } }, { "availability": { "serverless": {}, "stack": { "since": "8.0.0" } }, "name": "global", "required": false, "since": "8.0.0", "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } } } } ], "specLocation": "security/get_role/types.ts#L29-L42" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves role mappings.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.get_role_mapping" }, "path": [ { "description": "The distinct name that identifies the role mapping. The name is used solely as an identifier to facilitate interaction via the API; it does not affect the behavior of the mapping in any way. You can specify multiple mapping names as a comma-separated list. If you do not specify this parameter, the API returns information about all role mappings.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [], "specLocation": "security/get_role_mapping/SecurityGetRoleMappingRequest.ts#L23-L36" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "RoleMapping", "namespace": "security._types" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "security.get_role_mapping" }, "specLocation": "security/get_role_mapping/SecurityGetRoleMappingResponse.ts#L23-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "This API returns a list of service accounts that match the provided path parameter(s).", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.get_service_accounts" }, "path": [ { "description": "Name of the namespace. Omit this parameter to retrieve information about all service accounts. If you omit this parameter, you must also omit the `service` parameter.", "name": "namespace", "required": false, "type": { "kind": "instance_of", "type": { "name": "Namespace", "namespace": "_types" } } }, { "description": "Name of the service name. Omit this parameter to retrieve information about all service accounts that belong to the specified `namespace`.", "name": "service", "required": false, "type": { "kind": "instance_of", "type": { "name": "Service", "namespace": "_types" } } } ], "query": [], "specLocation": "security/get_service_accounts/GetServiceAccountsRequest.ts#L23-L41" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "RoleDescriptorWrapper", "namespace": "security.get_service_accounts" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "security.get_service_accounts" }, "specLocation": "security/get_service_accounts/GetServiceAccountsResponse.ts#L23-L26" }, { "kind": "interface", "name": { "name": "RoleDescriptorWrapper", "namespace": "security.get_service_accounts" }, "properties": [ { "name": "role_descriptor", "required": true, "type": { "kind": "instance_of", "type": { "name": "RoleDescriptorRead", "namespace": "security._types" } } } ], "specLocation": "security/get_service_accounts/types.ts#L22-L24" }, { "kind": "interface", "name": { "name": "NodesCredentials", "namespace": "security.get_service_credentials" }, "properties": [ { "description": "General status showing how nodes respond to the above collection request", "name": "_nodes", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeStatistics", "namespace": "_types" } } }, { "description": "File-backed tokens collected from all nodes", "name": "file_tokens", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "NodesCredentialsFileToken", "namespace": "security.get_service_credentials" } } } } ], "specLocation": "security/get_service_credentials/types.ts#L23-L28" }, { "kind": "interface", "name": { "name": "NodesCredentialsFileToken", "namespace": "security.get_service_credentials" }, "properties": [ { "name": "nodes", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "security/get_service_credentials/types.ts#L30-L32" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves information of all service credentials for a service account.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.get_service_credentials" }, "path": [ { "description": "Name of the namespace.", "name": "namespace", "required": true, "type": { "kind": "instance_of", "type": { "name": "Namespace", "namespace": "_types" } } }, { "description": "Name of the service name.", "name": "service", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "security/get_service_credentials/GetServiceCredentialsRequest.ts#L23-L39" }, { "body": { "kind": "properties", "properties": [ { "name": "service_account", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "tokens", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } } }, { "description": "Contains service account credentials collected from all nodes of the cluster", "name": "nodes_credentials", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodesCredentials", "namespace": "security.get_service_credentials" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.get_service_credentials" }, "specLocation": "security/get_service_credentials/GetServiceCredentialsResponse.ts#L25-L33" }, { "kind": "enum", "members": [ { "name": "password" }, { "name": "client_credentials" }, { "name": "_kerberos" }, { "name": "refresh_token" } ], "name": { "name": "AccessTokenGrantType", "namespace": "security.get_token" }, "specLocation": "security/get_token/types.ts#L23-L28" }, { "inherits": { "type": { "name": "User", "namespace": "security._types" } }, "kind": "interface", "name": { "name": "AuthenticatedUser", "namespace": "security.get_token" }, "properties": [ { "name": "authentication_realm", "required": true, "type": { "kind": "instance_of", "type": { "name": "UserRealm", "namespace": "security.get_token" } } }, { "name": "lookup_realm", "required": true, "type": { "kind": "instance_of", "type": { "name": "UserRealm", "namespace": "security.get_token" } } }, { "name": "authentication_provider", "required": false, "type": { "kind": "instance_of", "type": { "name": "AuthenticationProvider", "namespace": "security.get_token" } } }, { "name": "authentication_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "security/get_token/types.ts#L40-L45" }, { "kind": "interface", "name": { "name": "AuthenticationProvider", "namespace": "security.get_token" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "specLocation": "security/get_token/types.ts#L35-L38" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "grant_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "AccessTokenGrantType", "namespace": "security.get_token" } } }, { "name": "scope", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "password", "required": false, "type": { "kind": "instance_of", "type": { "name": "Password", "namespace": "_types" } } }, { "name": "kerberos_ticket", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "refresh_token", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "username", "required": false, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } } ] }, "description": "Creates a bearer token for access without requiring basic authentication.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.get_token" }, "path": [], "query": [], "specLocation": "security/get_token/GetUserAccessTokenRequest.ts#L25-L39" }, { "body": { "kind": "properties", "properties": [ { "name": "access_token", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "expires_in", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "scope", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "refresh_token", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "kerberos_authentication_response_token", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "authentication", "required": true, "type": { "kind": "instance_of", "type": { "name": "AuthenticatedUser", "namespace": "security.get_token" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.get_token" }, "specLocation": "security/get_token/GetUserAccessTokenResponse.ts#L23-L33" }, { "kind": "interface", "name": { "name": "UserRealm", "namespace": "security.get_token" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "security/get_token/types.ts#L30-L33" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves information about users in the native realm and built-in users.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.get_user" }, "path": [ { "description": "An identifier for the user. You can specify multiple usernames as a comma-separated list. If you omit this parameter, the API retrieves information about all users.", "name": "username", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } } ], "kind": "union_of" } } ], "query": [ { "availability": { "serverless": {}, "stack": { "since": "8.5.0" } }, "description": "If true will return the User Profile ID for a user, if any.", "name": "with_profile_uid", "required": false, "serverDefault": false, "since": "8.5.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "security/get_user/SecurityGetUserRequest.ts#L23-L41" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "User", "namespace": "security._types" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "security.get_user" }, "specLocation": "security/get_user/SecurityGetUserResponse.ts#L23-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves security privileges for the logged in user.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.get_user_privileges" }, "path": [], "query": [ { "description": "The name of the application. Application privileges are always associated with exactly one application. If you do not specify this parameter, the API returns information about all privileges for all applications.", "name": "application", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "The name of the privilege. If you do not specify this parameter, the API returns information about all privileges for the requested application.", "name": "priviledge", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "username", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } } ], "specLocation": "security/get_user_privileges/SecurityGetUserPrivilegesRequest.ts#L23-L36" }, { "body": { "kind": "properties", "properties": [ { "name": "applications", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ApplicationPrivileges", "namespace": "security._types" } } } }, { "name": "cluster", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "global", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "GlobalPrivilege", "namespace": "security._types" } } } }, { "name": "indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "UserIndicesPrivileges", "namespace": "security._types" } } } }, { "name": "run_as", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.get_user_privileges" }, "specLocation": "security/get_user_privileges/SecurityGetUserPrivilegesResponse.ts#L27-L35" }, { "kind": "interface", "name": { "name": "GetUserProfileErrors", "namespace": "security.get_user_profile" }, "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "details", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "UserProfileId", "namespace": "security._types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } } } ], "specLocation": "security/get_user_profile/types.ts#L25-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves a user's profile using the unique profile ID.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.get_user_profile" }, "path": [ { "description": "A unique identifier for the user profile.", "name": "uid", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "UserProfileId", "namespace": "security._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "UserProfileId", "namespace": "security._types" } } } ], "kind": "union_of" } } ], "query": [ { "description": "List of filters for the `data` field of the profile document.\nTo return all content use `data=*`. To return a subset of content\nuse `data=` to retrieve content nested under the specified ``.\nBy default returns no `data` content.", "name": "data", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } } ], "specLocation": "security/get_user_profile/Request.ts#L23-L46" }, { "body": { "kind": "properties", "properties": [ { "name": "profiles", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "UserProfileWithMetadata", "namespace": "security._types" } } } }, { "name": "errors", "required": false, "type": { "kind": "instance_of", "type": { "name": "GetUserProfileErrors", "namespace": "security.get_user_profile" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.get_user_profile" }, "specLocation": "security/get_user_profile/Response.ts#L23-L28" }, { "kind": "enum", "members": [ { "name": "access_token" }, { "name": "password" } ], "name": { "name": "ApiKeyGrantType", "namespace": "security.grant_api_key" }, "specLocation": "security/grant_api_key/types.ts#L48-L51" }, { "kind": "interface", "name": { "name": "GrantApiKey", "namespace": "security.grant_api_key" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Expiration time for the API key. By default, API keys never expire.", "name": "expiration", "required": false, "type": { "kind": "instance_of", "type": { "name": "DurationLarge", "namespace": "_types" } } }, { "description": "The role descriptors for this API key.\nThis parameter is optional.\nWhen it is not specified or is an empty array, the API key has a point in time snapshot of permissions of the specified user or access token.\nIf you supply role descriptors, the resultant permissions are an intersection of API keys permissions and the permissions of the user or access token.", "name": "role_descriptors", "required": false, "type": { "items": [ { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "RoleDescriptor", "namespace": "security._types" } } }, { "kind": "array_of", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "RoleDescriptor", "namespace": "security._types" } } } } ], "kind": "union_of" } }, { "description": "Arbitrary metadata that you want to associate with the API key.\nIt supports nested data structure.\nWithin the `metadata` object, keys beginning with `_` are reserved for system usage.", "name": "metadata", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } } ], "specLocation": "security/grant_api_key/types.ts#L25-L46" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Defines the API key.", "name": "api_key", "required": true, "type": { "kind": "instance_of", "type": { "name": "GrantApiKey", "namespace": "security.grant_api_key" } } }, { "description": "The type of grant. Supported grant types are: `access_token`, `password`.", "name": "grant_type", "required": true, "type": { "kind": "instance_of", "type": { "name": "ApiKeyGrantType", "namespace": "security.grant_api_key" } } }, { "description": "The user’s access token.\nIf you specify the `access_token` grant type, this parameter is required.\nIt is not valid with other grant types.", "name": "access_token", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The user name that identifies the user.\nIf you specify the `password` grant type, this parameter is required.\nIt is not valid with other grant types.", "name": "username", "required": false, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } }, { "description": "The user’s password. If you specify the `password` grant type, this parameter is required.\nIt is not valid with other grant types.", "name": "password", "required": false, "type": { "kind": "instance_of", "type": { "name": "Password", "namespace": "_types" } } }, { "description": "The name of the user to be impersonated.", "name": "run_as", "required": false, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } } ] }, "description": "Creates an API key on behalf of another user.\nThis API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API.\nThe caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created.\nIt is not possible to use this API to create an API key without that user’s credentials.\nThe user, for whom the authentication credentials is provided, can optionally \"run as\" (impersonate) another user.\nIn this case, the API key will be created on behalf of the impersonated user.\n\nThis API is intended be used by applications that need to create and manage API keys for end users, but cannot guarantee that those users have permission to create API keys on their own behalf.\n\nA successful grant API key API call returns a JSON structure that contains the API key, its unique id, and its name.\nIf applicable, it also returns expiration information for the API key in milliseconds.\n\nBy default, API keys never expire. You can specify expiration information when you create the API keys.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.grant_api_key" }, "path": [], "query": [], "specLocation": "security/grant_api_key/SecurityGrantApiKeyRequest.ts#L24-L75" }, { "body": { "kind": "properties", "properties": [ { "name": "api_key", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "expiration", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "encoded", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.grant_api_key" }, "specLocation": "security/grant_api_key/SecurityGrantApiKeyResponse.ts#L23-L31" }, { "kind": "interface", "name": { "name": "ApplicationPrivilegesCheck", "namespace": "security.has_privileges" }, "properties": [ { "description": "The name of the application.", "name": "application", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A list of the privileges that you want to check for the specified resources. May be either application privilege names, or the names of actions that are granted by those privileges", "name": "privileges", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "A list of resource names against which the privileges should be checked", "name": "resources", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "security/has_privileges/types.ts#L24-L31" }, { "kind": "type_alias", "name": { "name": "ApplicationsPrivileges", "namespace": "security.has_privileges" }, "specLocation": "security/has_privileges/types.ts#L46-L46", "type": { "key": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ResourcePrivileges", "namespace": "security.has_privileges" } } } }, { "kind": "interface", "name": { "name": "IndexPrivilegesCheck", "namespace": "security.has_privileges" }, "properties": [ { "description": "A list of indices.", "name": "names", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "A list of the privileges that you want to check for the specified indices.", "name": "privileges", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexPrivilege", "namespace": "security._types" } } } }, { "description": "This needs to be set to true (default is false) if using wildcards or regexps for patterns that cover restricted indices.\nImplicitly, restricted indices do not match index patterns because restricted indices usually have limited privileges and including them in pattern tests would render most such tests false.\nIf restricted indices are explicitly included in the names list, privileges will be checked against them regardless of the value of allow_restricted_indices.", "name": "allow_restricted_indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "security/has_privileges/types.ts#L33-L44" }, { "kind": "type_alias", "name": { "name": "Privileges", "namespace": "security.has_privileges" }, "specLocation": "security/has_privileges/types.ts#L48-L48", "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "application", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ApplicationPrivilegesCheck", "namespace": "security.has_privileges" } } } }, { "description": "A list of the cluster privileges that you want to check.", "name": "cluster", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ClusterPrivilege", "namespace": "security._types" } } } }, { "name": "index", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexPrivilegesCheck", "namespace": "security.has_privileges" } } } } ] }, "description": "Determines whether the specified user has a specified list of privileges.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.has_privileges" }, "path": [ { "description": "Username", "name": "user", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "security/has_privileges/SecurityHasPrivilegesRequest.ts#L25-L42" }, { "kind": "type_alias", "name": { "name": "ResourcePrivileges", "namespace": "security.has_privileges" }, "specLocation": "security/has_privileges/types.ts#L47-L47", "type": { "key": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Privileges", "namespace": "security.has_privileges" } } } }, { "body": { "kind": "properties", "properties": [ { "name": "application", "required": true, "type": { "kind": "instance_of", "type": { "name": "ApplicationsPrivileges", "namespace": "security.has_privileges" } } }, { "name": "cluster", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } }, { "name": "has_all_requested", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Privileges", "namespace": "security.has_privileges" } } } }, { "name": "username", "required": true, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.has_privileges" }, "specLocation": "security/has_privileges/SecurityHasPrivilegesResponse.ts#L24-L32" }, { "kind": "interface", "name": { "name": "HasPrivilegesUserProfileErrors", "namespace": "security.has_privileges_user_profile" }, "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "details", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "UserProfileId", "namespace": "security._types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } } } ], "specLocation": "security/has_privileges_user_profile/types.ts#L39-L42" }, { "kind": "interface", "name": { "name": "PrivilegesCheck", "namespace": "security.has_privileges_user_profile" }, "properties": [ { "name": "application", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ApplicationPrivilegesCheck", "namespace": "security.has_privileges" } } } }, { "description": "A list of the cluster privileges that you want to check.", "name": "cluster", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ClusterPrivilege", "namespace": "security._types" } } } }, { "name": "index", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexPrivilegesCheck", "namespace": "security.has_privileges" } } } } ], "specLocation": "security/has_privileges_user_profile/types.ts#L30-L37" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "A list of profile IDs. The privileges are checked for associated users of the profiles.", "name": "uids", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "UserProfileId", "namespace": "security._types" } } } }, { "name": "privileges", "required": true, "type": { "kind": "instance_of", "type": { "name": "PrivilegesCheck", "namespace": "security.has_privileges_user_profile" } } } ] }, "description": "Determines whether the users associated with the specified profile IDs have all the requested privileges.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.has_privileges_user_profile" }, "path": [], "query": [], "specLocation": "security/has_privileges_user_profile/Request.ts#L24-L38" }, { "body": { "kind": "properties", "properties": [ { "description": "The subset of the requested profile IDs of the users that\nhave all the requested privileges.", "name": "has_privilege_uids", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "UserProfileId", "namespace": "security._types" } } } }, { "description": "The subset of the requested profile IDs for which an error\nwas encountered. It does not include the missing profile IDs\nor the profile IDs of the users that do not have all the\nrequested privileges. This field is absent if empty.", "name": "errors", "required": false, "type": { "kind": "instance_of", "type": { "name": "HasPrivilegesUserProfileErrors", "namespace": "security.has_privileges_user_profile" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.has_privileges_user_profile" }, "specLocation": "security/has_privileges_user_profile/Response.ts#L23-L38" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "A list of API key ids.\nThis parameter cannot be used with any of `name`, `realm_name`, or `username`.", "name": "ids", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } }, { "description": "An API key name.\nThis parameter cannot be used with any of `ids`, `realm_name` or `username`.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Can be used to query API keys owned by the currently authenticated user.\nThe `realm_name` or `username` parameters cannot be specified when this parameter is set to `true` as they are assumed to be the currently authenticated ones.", "name": "owner", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The name of an authentication realm.\nThis parameter cannot be used with either `ids` or `name`, or when `owner` flag is set to `true`.", "name": "realm_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The username of a user.\nThis parameter cannot be used with either `ids` or `name`, or when `owner` flag is set to `true`.", "name": "username", "required": false, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } } ] }, "description": "Invalidates one or more API keys.\nThe `manage_api_key` privilege allows deleting any API keys.\nThe `manage_own_api_key` only allows deleting API keys that are owned by the user.\nIn addition, with the `manage_own_api_key` privilege, an invalidation request must be issued in one of the three formats:\n- Set the parameter `owner=true`.\n- Or, set both `username` and `realm_name` to match the user’s identity.\n- Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the `ids` field.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.invalidate_api_key" }, "path": [], "query": [], "specLocation": "security/invalidate_api_key/SecurityInvalidateApiKeyRequest.ts#L23-L66" }, { "body": { "kind": "properties", "properties": [ { "name": "error_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "error_details", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } } }, { "name": "invalidated_api_keys", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "previously_invalidated_api_keys", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.invalidate_api_key" }, "specLocation": "security/invalidate_api_key/SecurityInvalidateApiKeyResponse.ts#L23-L30" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "token", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "refresh_token", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "realm_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "username", "required": false, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } } ] }, "description": "Invalidates one or more access tokens or refresh tokens.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.invalidate_token" }, "path": [], "query": [], "specLocation": "security/invalidate_token/SecurityInvalidateTokenRequest.ts#L23-L35" }, { "body": { "kind": "properties", "properties": [ { "name": "error_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "error_details", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } } }, { "name": "invalidated_tokens", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "previously_invalidated_tokens", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.invalidate_token" }, "specLocation": "security/invalidate_token/SecurityInvalidateTokenResponse.ts#L23-L30" }, { "kind": "interface", "name": { "name": "Actions", "namespace": "security.put_privileges" }, "properties": [ { "name": "actions", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "application", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "metadata", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } } ], "specLocation": "security/put_privileges/types.ts#L22-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "privileges", "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Actions", "namespace": "security.put_privileges" } } } } }, "description": "Adds or updates application privileges.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.put_privileges" }, "path": [], "query": [ { "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/put_privileges/SecurityPutPrivilegesRequest.ts#L25-L37" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "CreatedStatus", "namespace": "security._types" } } } } }, "kind": "response", "name": { "name": "Response", "namespace": "security.put_privileges" }, "specLocation": "security/put_privileges/SecurityPutPrivilegesResponse.ts#L23-L26" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "A list of application privilege entries.", "name": "applications", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ApplicationPrivileges", "namespace": "security._types" } } } }, { "description": "A list of cluster privileges. These privileges define the cluster-level actions for users with this role.", "name": "cluster", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ClusterPrivilege", "namespace": "security._types" } } } }, { "description": "An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges.", "name": "global", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "A list of indices permissions entries.", "name": "indices", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndicesPrivileges", "namespace": "security._types" } } } }, { "description": "Optional metadata. Within the metadata object, keys that begin with an underscore (`_`) are reserved for system use.", "name": "metadata", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "A list of users that the owners of this role can impersonate.", "docId": "run-as-privilege", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/run-as-privilege.html", "name": "run_as", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Indicates roles that might be incompatible with the current cluster license, specifically roles with document and field level security. When the cluster license doesn’t allow certain features for a given role, this parameter is updated dynamically to list the incompatible features. If `enabled` is `false`, the role is ignored, but is still listed in the response from the authenticate API.", "name": "transient_metadata", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ] }, "description": "The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.\nThe create or update roles API cannot update roles that are defined in roles files.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.put_role" }, "path": [ { "description": "The name of the role.", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/put_role/SecurityPutRoleRequest.ts#L30-L79" }, { "body": { "kind": "properties", "properties": [ { "name": "role", "required": true, "type": { "kind": "instance_of", "type": { "name": "CreatedStatus", "namespace": "security._types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.put_role" }, "specLocation": "security/put_role/SecurityPutRoleResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "enabled", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "metadata", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "name": "roles", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "role_templates", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RoleTemplate", "namespace": "security._types" } } } }, { "name": "rules", "required": false, "type": { "kind": "instance_of", "type": { "name": "RoleMappingRule", "namespace": "security._types" } } }, { "name": "run_as", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "description": "Creates and updates role mappings.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.put_role_mapping" }, "path": [ { "description": "Role-mapping name", "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/put_role_mapping/SecurityPutRoleMappingRequest.ts#L25-L47" }, { "body": { "kind": "properties", "properties": [ { "name": "created", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "role_mapping", "required": true, "type": { "kind": "instance_of", "type": { "name": "CreatedStatus", "namespace": "security._types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.put_role_mapping" }, "specLocation": "security/put_role_mapping/SecurityPutRoleMappingResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "username", "required": false, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } }, { "name": "email", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "full_name", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "metadata", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "name": "password", "required": false, "type": { "kind": "instance_of", "type": { "name": "Password", "namespace": "_types" } } }, { "name": "password_hash", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "roles", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "enabled", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "description": "Adds and updates users in the native realm. These users are commonly referred to as native users.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.put_user" }, "path": [ { "description": "The username of the User", "name": "username", "required": true, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } } ], "query": [ { "description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.", "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/put_user/SecurityPutUserRequest.ts#L23-L44" }, { "body": { "kind": "properties", "properties": [ { "name": "created", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.put_user" }, "specLocation": "security/put_user/SecurityPutUserResponse.ts#L20-L22" }, { "kind": "type_alias", "name": { "name": "ApiKeyAggregate", "namespace": "security.query_api_keys" }, "specLocation": "security/query_api_keys/types.ts#L123-L140", "type": { "items": [ { "kind": "instance_of", "type": { "name": "CardinalityAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "ValueCountAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "StringTermsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "LongTermsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "DoubleTermsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "UnmappedTermsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "MultiTermsAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "MissingAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "FilterAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "FiltersAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "RangeAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "DateRangeAggregate", "namespace": "_types.aggregations" } }, { "kind": "instance_of", "type": { "name": "CompositeAggregate", "namespace": "_types.aggregations" } } ], "kind": "union_of" }, "variants": { "kind": "external_tag", "nonExhaustive": true } }, { "kind": "interface", "name": { "name": "ApiKeyAggregationContainer", "namespace": "security.query_api_keys" }, "properties": [ { "aliases": [ "aggs" ], "containerProperty": true, "description": "Sub-aggregations for this aggregation.\nOnly applies to bucket aggregations.", "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ApiKeyAggregationContainer", "namespace": "security.query_api_keys" } } } }, { "containerProperty": true, "name": "meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "A single-value metrics aggregation that calculates an approximate count of distinct values.", "docId": "search-aggregations-metrics-cardinality-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-cardinality-aggregation.html", "name": "cardinality", "required": false, "type": { "kind": "instance_of", "type": { "name": "CardinalityAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket aggregation that creates composite buckets from different sources.\nUnlike the other multi-bucket aggregations, you can use the `composite` aggregation to paginate *all* buckets from a multi-level aggregation efficiently.", "name": "composite", "required": false, "type": { "kind": "instance_of", "type": { "name": "CompositeAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket value source based aggregation that enables the user to define a set of date ranges - each representing a bucket.", "docId": "search-aggregations-bucket-daterange-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-daterange-aggregation.html", "name": "date_range", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateRangeAggregation", "namespace": "_types.aggregations" } } }, { "description": "A single bucket aggregation that narrows the set of documents to those that match a query.", "docId": "search-aggregations-bucket-filter-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-filter-aggregation.html", "name": "filter", "required": false, "type": { "kind": "instance_of", "type": { "name": "ApiKeyQueryContainer", "namespace": "security.query_api_keys" } } }, { "description": "A multi-bucket aggregation where each bucket contains the documents that match a query.", "docId": "search-aggregations-bucket-filters-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-filters-aggregation.html", "name": "filters", "required": false, "type": { "kind": "instance_of", "type": { "name": "ApiKeyFiltersAggregation", "namespace": "security.query_api_keys" } } }, { "name": "missing", "required": false, "type": { "kind": "instance_of", "type": { "name": "MissingAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket value source based aggregation that enables the user to define a set of ranges - each representing a bucket.", "docId": "search-aggregations-bucket-range-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-range-aggregation.html", "name": "range", "required": false, "type": { "kind": "instance_of", "type": { "name": "RangeAggregation", "namespace": "_types.aggregations" } } }, { "description": "A multi-bucket value source based aggregation where buckets are dynamically built - one per unique value.", "docId": "search-aggregations-bucket-terms-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-terms-aggregation.html", "name": "terms", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsAggregation", "namespace": "_types.aggregations" } } }, { "description": "A single-value metrics aggregation that counts the number of values that are extracted from the aggregated documents.", "docId": "search-aggregations-metrics-valuecount-aggregation", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-metrics-valuecount-aggregation.html", "name": "value_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "ValueCountAggregation", "namespace": "_types.aggregations" } } } ], "specLocation": "security/query_api_keys/types.ts#L64-L121", "variants": { "kind": "container", "nonExhaustive": true } }, { "inherits": { "type": { "name": "BucketAggregationBase", "namespace": "_types.aggregations" } }, "kind": "interface", "name": { "name": "ApiKeyFiltersAggregation", "namespace": "security.query_api_keys" }, "properties": [ { "description": "Collection of queries from which to build buckets.", "name": "filters", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "ApiKeyQueryContainer", "namespace": "security.query_api_keys" } } ], "kind": "instance_of", "type": { "name": "Buckets", "namespace": "_types.aggregations" } } }, { "description": "Set to `true` to add a bucket to the response which will contain all documents that do not match any of the given filters.", "name": "other_bucket", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The key with which the other bucket is returned.", "name": "other_bucket_key", "required": false, "serverDefault": "_other_", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "By default, the named filters aggregation returns the buckets as an object.\nSet to `false` to return the buckets as an array of objects.", "name": "keyed", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "security/query_api_keys/types.ts#L208-L228" }, { "kind": "interface", "name": { "name": "ApiKeyQueryContainer", "namespace": "security.query_api_keys" }, "properties": [ { "description": "matches documents matching boolean combinations of other queries.", "docId": "query-dsl-bool-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-bool-query.html", "name": "bool", "required": false, "type": { "kind": "instance_of", "type": { "name": "BoolQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents that contain an indexed value for a field.", "docId": "query-dsl-exists-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-exists-query.html", "name": "exists", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExistsQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents based on their IDs.\nThis query uses document IDs stored in the `_id` field.", "docId": "query-dsl-ids-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-ids-query.html", "name": "ids", "required": false, "type": { "kind": "instance_of", "type": { "name": "IdsQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents that match a provided text, number, date or boolean value.\nThe provided text is analyzed before matching.", "docId": "query-dsl-match-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-match-query.html", "name": "match", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "MatchQuery", "namespace": "_types.query_dsl" } } } }, { "description": "Matches all documents, giving them all a `_score` of 1.0.", "docId": "query-dsl-match-all-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-match-all-query.html", "name": "match_all", "required": false, "type": { "kind": "instance_of", "type": { "name": "MatchAllQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents that contain a specific prefix in a provided field.", "docId": "query-dsl-prefix-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-prefix-query.html", "name": "prefix", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "PrefixQuery", "namespace": "_types.query_dsl" } } } }, { "description": "Returns documents that contain terms within a provided range.", "docId": "query-dsl-range-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-range-query.html", "name": "range", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "RangeQuery", "namespace": "_types.query_dsl" } } } }, { "description": "Returns documents based on a provided query string, using a parser with a limited but fault-tolerant syntax.", "docId": "query-dsl-simple-query-string-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-simple-query-string-query.html", "name": "simple_query_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "SimpleQueryStringQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents that contain an exact term in a provided field.\nTo return a document, the query term must exactly match the queried field's value, including whitespace and capitalization.", "docId": "query-dsl-term-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-term-query.html", "name": "term", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "TermQuery", "namespace": "_types.query_dsl" } } } }, { "description": "Returns documents that contain one or more exact terms in a provided field.\nTo return a document, one or more terms must exactly match a field value, including whitespace and capitalization.", "docId": "query-dsl-terms-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-terms-query.html", "name": "terms", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsQuery", "namespace": "_types.query_dsl" } } }, { "description": "Returns documents that contain terms matching a wildcard pattern.", "docId": "query-dsl-wildcard-query", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-wildcard-query.html", "name": "wildcard", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "WildcardQuery", "namespace": "_types.query_dsl" } } } } ], "specLocation": "security/query_api_keys/types.ts#L142-L206", "variants": { "kind": "container", "nonExhaustive": true } }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "aliases": [ "aggs" ], "description": "Any aggregations to run over the corpus of returned API keys.\nAggregations and queries work together. Aggregations are computed only on the API keys that match the query.\nThis supports only a subset of aggregation types, namely: `terms`, `range`, `date_range`, `missing`,\n`cardinality`, `value_count`, `composite`, `filter`, and `filters`.\nAdditionally, aggregations only run over the same subset of fields that query works with.", "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ApiKeyAggregationContainer", "namespace": "security.query_api_keys" } } } }, { "description": "A query to filter which API keys to return.\nIf the query parameter is missing, it is equivalent to a `match_all` query.\nThe query supports a subset of query types, including `match_all`, `bool`, `term`, `terms`, `match`,\n`ids`, `prefix`, `wildcard`, `exists`, `range`, and `simple_query_string`.\nYou can query the following public information associated with an API key: `id`, `type`, `name`,\n`creation`, `expiration`, `invalidated`, `invalidation`, `username`, `realm`, and `metadata`.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "ApiKeyQueryContainer", "namespace": "security.query_api_keys" } } }, { "description": "Starting document offset.\nBy default, you cannot page through more than 10,000 hits using the from and size parameters.\nTo page through more hits, use the `search_after` parameter.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Other than `id`, all public fields of an API key are eligible for sorting.\nIn addition, sort can also be applied to the `_doc` field to sort by index order.", "docId": "sort-search-results", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/sort-search-results.html", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "Sort", "namespace": "_types" } } }, { "description": "The number of hits to return.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.", "name": "size", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Search after definition", "name": "search_after", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortResults", "namespace": "_types" } } } ] }, "description": "Retrieves information for API keys in a paginated manner. You can optionally filter the results with a query.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.query_api_keys" }, "path": [], "query": [ { "availability": { "serverless": {}, "stack": { "since": "8.5.0" } }, "description": "Return the snapshot of the owner user's role descriptors associated with the API key.\nAn API key's actual permission is the intersection of its assigned role descriptors and the owner user's role descriptors.", "name": "with_limited_by", "required": false, "since": "8.5.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.14.0" } }, "description": "Determines whether to also retrieve the profile uid, for the API key owner principal, if it exists.", "name": "with_profile_uid", "required": false, "serverDefault": false, "since": "8.14.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.14.0" } }, "description": "Determines whether aggregation names are prefixed by their respective types in the response.", "name": "typed_keys", "required": false, "serverDefault": false, "since": "8.14.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "security/query_api_keys/QueryApiKeysRequest.ts#L26-L99" }, { "body": { "kind": "properties", "properties": [ { "description": "The total number of API keys found.", "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of API keys returned in the response.", "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "A list of API key information.", "name": "api_keys", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ApiKey", "namespace": "security._types" } } } }, { "description": "The aggregations result, if requested.", "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "AggregateName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ApiKeyAggregate", "namespace": "security.query_api_keys" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.query_api_keys" }, "specLocation": "security/query_api_keys/QueryApiKeysResponse.ts#L26-L45" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The SAML response as it was sent by the user’s browser, usually a Base64 encoded XML document.", "name": "content", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A json array with all the valid SAML Request Ids that the caller of the API has for the current user.", "name": "ids", "required": true, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } }, { "description": "The name of the realm that should authenticate the SAML response. Useful in cases where many SAML realms are defined.", "name": "realm", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Submits a SAML Response message to Elasticsearch for consumption.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.saml_authenticate" }, "path": [], "query": [], "specLocation": "security/saml_authenticate/Request.ts#L23-L38" }, { "body": { "kind": "properties", "properties": [ { "name": "access_token", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "username", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "expires_in", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "refresh_token", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "realm", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.saml_authenticate" }, "specLocation": "security/saml_authenticate/Response.ts#L22-L30" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The name of the SAML realm in Elasticsearch for which the configuration is used to verify the logout response.", "name": "realm", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A json array with all the valid SAML Request Ids that the caller of the API has for the current user.", "name": "ids", "required": true, "type": { "kind": "instance_of", "type": { "name": "Ids", "namespace": "_types" } } }, { "description": "If the SAML IdP sends the logout response with the HTTP-Redirect binding, this field must be set to the query string of the redirect URI.", "name": "query_string", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If the SAML IdP sends the logout response with the HTTP-Post binding, this field must be set to the value of the SAMLResponse form parameter from the logout response.", "name": "content", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Verifies the logout response sent from the SAML IdP.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.saml_complete_logout" }, "path": [], "query": [], "specLocation": "security/saml_complete_logout/Request.ts#L23-L40" }, { "body": { "kind": "no_body" }, "kind": "response", "name": { "name": "Response", "namespace": "security.saml_complete_logout" }, "specLocation": "security/saml_complete_logout/Response.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The Assertion Consumer Service URL that matches the one of the SAML realm in Elasticsearch that should be used. You must specify either this parameter or the realm parameter.", "name": "acs", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The query part of the URL that the user was redirected to by the SAML IdP to initiate the Single Logout.\nThis query should include a single parameter named SAMLRequest that contains a SAML logout request that is deflated and Base64 encoded.\nIf the SAML IdP has signed the logout request, the URL should include two extra parameters named SigAlg and Signature that contain the algorithm used for the signature and the signature value itself.\nIn order for Elasticsearch to be able to verify the IdP’s signature, the value of the query_string field must be an exact match to the string provided by the browser.\nThe client application must not attempt to parse or process the string in any way.", "name": "query_string", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The name of the SAML realm in Elasticsearch the configuration. You must specify either this parameter or the acs parameter.", "name": "realm", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Submits a SAML LogoutRequest message to Elasticsearch for consumption.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.saml_invalidate" }, "path": [], "query": [], "specLocation": "security/saml_invalidate/Request.ts#L22-L43" }, { "body": { "kind": "properties", "properties": [ { "name": "invalidated", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "realm", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "redirect", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.saml_invalidate" }, "specLocation": "security/saml_invalidate/Response.ts#L22-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The access token that was returned as a response to calling the SAML authenticate API.\nAlternatively, the most recent token that was received after refreshing the original one by using a refresh_token.", "name": "token", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The refresh token that was returned as a response to calling the SAML authenticate API.\nAlternatively, the most recent refresh token that was received after refreshing the original access token.", "name": "refresh_token", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Submits a request to invalidate an access token and refresh token.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.saml_logout" }, "path": [], "query": [], "specLocation": "security/saml_logout/Request.ts#L22-L41" }, { "body": { "kind": "properties", "properties": [ { "name": "redirect", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.saml_logout" }, "specLocation": "security/saml_logout/Response.ts#L20-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The Assertion Consumer Service URL that matches the one of the SAML realms in Elasticsearch.\nThe realm is used to generate the authentication request. You must specify either this parameter or the realm parameter.", "name": "acs", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The name of the SAML realm in Elasticsearch for which the configuration is used to generate the authentication request.\nYou must specify either this parameter or the acs parameter.", "name": "realm", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "A string that will be included in the redirect URL that this API returns as the RelayState query parameter.\nIf the Authentication Request is signed, this value is used as part of the signature computation.", "name": "relay_state", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Creates a SAML authentication request () as a URL string, based on the configuration of the respective SAML realm in Elasticsearch.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.saml_prepare_authentication" }, "path": [], "query": [], "specLocation": "security/saml_prepare_authentication/Request.ts#L22-L46" }, { "body": { "kind": "properties", "properties": [ { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "realm", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "redirect", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.saml_prepare_authentication" }, "specLocation": "security/saml_prepare_authentication/Response.ts#L22-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Generate SAML metadata for a SAML 2.0 Service Provider.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.saml_service_provider_metadata" }, "path": [ { "description": "The name of the SAML realm in Elasticsearch.", "name": "realm_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "security/saml_service_provider_metadata/Request.ts#L23-L34" }, { "body": { "kind": "properties", "properties": [ { "name": "metadata", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.saml_service_provider_metadata" }, "specLocation": "security/saml_service_provider_metadata/Response.ts#L20-L24" }, { "kind": "interface", "name": { "name": "Hint", "namespace": "security.suggest_user_profiles" }, "properties": [ { "description": "A list of Profile UIDs to match against.", "name": "uids", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "UserProfileId", "namespace": "security._types" } } } }, { "description": "A single key-value pair to match against the labels section\nof a profile. A profile is considered matching if it matches\nat least one of the strings.", "name": "labels", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } } } ], "specLocation": "security/suggest_user_profiles/types.ts#L23-L34" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Query string used to match name-related fields in user profile documents.\nName-related fields are the user's `username`, `full_name`, and `email`.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Number of profiles to return.", "name": "size", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "List of filters for the `data` field of the profile document.\nTo return all content use `data=*`. To return a subset of content\nuse `data=` to retrieve content nested under the specified ``.\nBy default returns no `data` content.", "name": "data", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } }, { "description": "Extra search criteria to improve relevance of the suggestion result.\nProfiles matching the spcified hint are ranked higher in the response.\nProfiles not matching the hint don't exclude the profile from the response\nas long as the profile matches the `name` field query.", "name": "hint", "required": false, "type": { "kind": "instance_of", "type": { "name": "Hint", "namespace": "security.suggest_user_profiles" } } } ] }, "description": "Get suggestions for user profiles that match specified search criteria.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.suggest_user_profiles" }, "path": [], "query": [ { "description": "List of filters for the `data` field of the profile document.\nTo return all content use `data=*`. To return a subset of content\nuse `data=` to retrieve content nested under the specified ``.\nBy default returns no `data` content.", "name": "data", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } } ], "specLocation": "security/suggest_user_profiles/Request.ts#L24-L66" }, { "body": { "kind": "properties", "properties": [ { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "TotalUserProfiles", "namespace": "security.suggest_user_profiles" } } }, { "name": "took", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "profiles", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "UserProfile", "namespace": "security._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.suggest_user_profiles" }, "specLocation": "security/suggest_user_profiles/Response.ts#L29-L35" }, { "kind": "interface", "name": { "name": "TotalUserProfiles", "namespace": "security.suggest_user_profiles" }, "properties": [ { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "relation", "required": true, "type": { "kind": "instance_of", "type": { "name": "RelationName", "namespace": "_types" } } } ], "specLocation": "security/suggest_user_profiles/Response.ts#L24-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.", "docId": "security-api-put-role", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/security-api-put-role.html", "name": "role_descriptors", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "RoleDescriptor", "namespace": "security._types" } } } }, { "description": "Arbitrary metadata that you want to associate with the API key. It supports nested data structure. Within the metadata object, keys beginning with _ are reserved for system usage.", "name": "metadata", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "Expiration time for the API key.", "name": "expiration", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ] }, "description": "Updates attributes of an existing API key.\nUsers can only update API keys that they created or that were granted to them.\nUse this API to update API keys created by the create API Key or grant API Key APIs.\nIf you need to apply the same update to many API keys, you can use bulk update API Keys to reduce overhead.\nIt’s not possible to update expired API keys, or API keys that have been invalidated by invalidate API Key.\nThis API supports updates to an API key’s access scope and metadata.\nThe access scope of an API key is derived from the `role_descriptors` you specify in the request, and a snapshot of the owner user’s permissions at the time of the request.\nThe snapshot of the owner’s permissions is updated automatically on every call.\nIf you don’t specify `role_descriptors` in the request, a call to this API might still change the API key’s access scope.\nThis change can occur if the owner user’s permissions have changed since the API key was created or last modified.\nTo update another user’s API key, use the `run_as` feature to submit a request on behalf of another user.\nIMPORTANT: It’s not possible to use an API key as the authentication credential for this API.\nTo update an API key, the owner user’s credentials are required.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.update_api_key" }, "path": [ { "description": "The ID of the API key to update.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "security/update_api_key/Request.ts#L26-L65" }, { "body": { "kind": "properties", "properties": [ { "description": "If `true`, the API key was updated.\nIf `false`, the API key didn’t change because no change was detected.", "name": "updated", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "security.update_api_key" }, "specLocation": "security/update_api_key/Response.ts#L20-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Searchable data that you want to associate with the user profile. This\nfield supports a nested data structure.", "name": "labels", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "Non-searchable data that you want to associate with the user profile.\nThis field supports a nested data structure.", "name": "data", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ] }, "description": "Updates specific data for the user profile that's associated with the specified unique ID.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "security.update_user_profile_data" }, "path": [ { "description": "A unique identifier for the user profile.", "name": "uid", "required": true, "type": { "kind": "instance_of", "type": { "name": "UserProfileId", "namespace": "security._types" } } } ], "query": [ { "description": "Only perform the operation if the document has this sequence number.", "name": "if_seq_no", "required": false, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "description": "Only perform the operation if the document has this primary term.", "name": "if_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search, if 'wait_for' then wait for a refresh to make this operation\nvisible to search, if 'false' do nothing with refreshes.", "name": "refresh", "required": false, "serverDefault": "false", "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } } ], "specLocation": "security/update_user_profile_data/Request.ts#L27-L70" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "security.update_user_profile_data" }, "specLocation": "security/update_user_profile_data/Response.ts#L22-L24" }, { "kind": "enum", "members": [ { "name": "restart" }, { "name": "remove" }, { "name": "replace" } ], "name": { "name": "Type", "namespace": "shutdown._types" }, "specLocation": "shutdown/_types/types.ts#L20-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Removes a node from the shutdown list. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "shutdown.delete_node" }, "path": [ { "description": "The node id of node to be removed from the shutdown state", "name": "node_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "TimeUnit", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "TimeUnit", "namespace": "_types" } } } ], "specLocation": "shutdown/delete_node/ShutdownDeleteNodeRequest.ts#L24-L44" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "shutdown.delete_node" }, "specLocation": "shutdown/delete_node/ShutdownDeleteNodeResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "NodeShutdownStatus", "namespace": "shutdown.get_node" }, "properties": [ { "name": "node_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShutdownType", "namespace": "shutdown.get_node" } } }, { "name": "reason", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "shutdown_startedmillis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShutdownStatus", "namespace": "shutdown.get_node" } } }, { "name": "shard_migration", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardMigrationStatus", "namespace": "shutdown.get_node" } } }, { "name": "persistent_tasks", "required": true, "type": { "kind": "instance_of", "type": { "name": "PersistentTaskStatus", "namespace": "shutdown.get_node" } } }, { "name": "plugins", "required": true, "type": { "kind": "instance_of", "type": { "name": "PluginsStatus", "namespace": "shutdown.get_node" } } } ], "specLocation": "shutdown/get_node/ShutdownGetNodeResponse.ts#L29-L38" }, { "kind": "interface", "name": { "name": "PersistentTaskStatus", "namespace": "shutdown.get_node" }, "properties": [ { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShutdownStatus", "namespace": "shutdown.get_node" } } } ], "specLocation": "shutdown/get_node/ShutdownGetNodeResponse.ts#L56-L58" }, { "kind": "interface", "name": { "name": "PluginsStatus", "namespace": "shutdown.get_node" }, "properties": [ { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShutdownStatus", "namespace": "shutdown.get_node" } } } ], "specLocation": "shutdown/get_node/ShutdownGetNodeResponse.ts#L60-L62" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieve status of a node or nodes that are currently marked as shutting down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "shutdown.get_node" }, "path": [ { "description": "Which node for which to retrieve the shutdown status", "name": "node_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeIds", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "TimeUnit", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "TimeUnit", "namespace": "_types" } } } ], "specLocation": "shutdown/get_node/ShutdownGetNodeRequest.ts#L24-L44" }, { "body": { "kind": "properties", "properties": [ { "name": "nodes", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "NodeShutdownStatus", "namespace": "shutdown.get_node" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "shutdown.get_node" }, "specLocation": "shutdown/get_node/ShutdownGetNodeResponse.ts#L23-L27" }, { "kind": "interface", "name": { "name": "ShardMigrationStatus", "namespace": "shutdown.get_node" }, "properties": [ { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShutdownStatus", "namespace": "shutdown.get_node" } } } ], "specLocation": "shutdown/get_node/ShutdownGetNodeResponse.ts#L52-L54" }, { "kind": "enum", "members": [ { "name": "not_started" }, { "name": "in_progress" }, { "name": "stalled" }, { "name": "complete" } ], "name": { "name": "ShutdownStatus", "namespace": "shutdown.get_node" }, "specLocation": "shutdown/get_node/ShutdownGetNodeResponse.ts#L45-L50" }, { "kind": "enum", "members": [ { "name": "remove" }, { "name": "restart" } ], "name": { "name": "ShutdownType", "namespace": "shutdown.get_node" }, "specLocation": "shutdown/get_node/ShutdownGetNodeResponse.ts#L40-L43" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Valid values are restart, remove, or replace.\nUse restart when you need to temporarily shut down a node to perform an upgrade, make configuration changes, or perform other maintenance.\nBecause the node is expected to rejoin the cluster, data is not migrated off of the node.\nUse remove when you need to permanently remove a node from the cluster.\nThe node is not marked ready for shutdown until data is migrated off of the node Use replace to do a 1:1 replacement of a node with another node.\nCertain allocation decisions will be ignored (such as disk watermarks) in the interest of true replacement of the source node with the target node.\nDuring a replace-type shutdown, rollover and index creation may result in unassigned shards, and shrink may fail until the replacement is complete.", "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "Type", "namespace": "shutdown._types" } } }, { "description": "A human-readable reason that the node is being shut down.\nThis field provides information for other cluster operators; it does not affect the shut down process.", "name": "reason", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Only valid if type is restart.\nControls how long Elasticsearch will wait for the node to restart and join the cluster before reassigning its shards to other nodes.\nThis works the same as delaying allocation with the index.unassigned.node_left.delayed_timeout setting.\nIf you specify both a restart allocation delay and an index-level allocation delay, the longer of the two is used.", "name": "allocation_delay", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Only valid if type is replace.\nSpecifies the name of the node that is replacing the node being shut down.\nShards from the shut down node are only allowed to be allocated to the target node, and no other data will be allocated to the target node.\nDuring relocation of data certain allocation rules are ignored, such as disk watermarks or user attribute filtering rules.", "name": "target_node_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Adds a node to be shut down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "shutdown.put_node" }, "path": [ { "description": "The node id of node to be shut down", "name": "node_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "TimeUnit", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "TimeUnit", "namespace": "_types" } } } ], "specLocation": "shutdown/put_node/ShutdownPutNodeRequest.ts#L25-L76" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "shutdown.put_node" }, "specLocation": "shutdown/put_node/ShutdownPutNodeResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "Configuration", "namespace": "slm._types" }, "properties": [ { "description": "If false, the snapshot fails if any data stream or index in indices is missing or closed. If true, the snapshot ignores missing or closed data streams and indices.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "A comma-separated list of data streams and indices to include in the snapshot. Multi-index syntax is supported.\nBy default, a snapshot includes all data streams and indices in the cluster. If this argument is provided, the snapshot only includes the specified data streams and clusters.", "name": "indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "If true, the current global state is included in the snapshot.", "name": "include_global_state", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "A list of feature states to be included in this snapshot. A list of features available for inclusion in the snapshot and their descriptions be can be retrieved using the get features API.\nEach feature state includes one or more system indices containing data necessary for the function of that feature. Providing an empty array will include no feature states in the snapshot, regardless of the value of include_global_state. By default, all available feature states will be included in the snapshot if include_global_state is true, or no feature states if include_global_state is false.", "name": "feature_states", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Attaches arbitrary metadata to the snapshot, such as a record of who took the snapshot, why it was taken, or any other useful data. Metadata must be less than 1024 bytes.", "name": "metadata", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "If false, the entire snapshot will fail if one or more indices included in the snapshot do not have all primary shards available.", "name": "partial", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "slm/_types/SnapshotLifecycle.ts#L99-L129" }, { "kind": "interface", "name": { "name": "InProgress", "namespace": "slm._types" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "start_time_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "uuid", "required": true, "type": { "kind": "instance_of", "type": { "name": "Uuid", "namespace": "_types" } } } ], "specLocation": "slm/_types/SnapshotLifecycle.ts#L131-L136" }, { "kind": "interface", "name": { "name": "Invocation", "namespace": "slm._types" }, "properties": [ { "name": "snapshot_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "time", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "slm/_types/SnapshotLifecycle.ts#L138-L141" }, { "kind": "interface", "name": { "name": "Policy", "namespace": "slm._types" }, "properties": [ { "name": "config", "required": false, "type": { "kind": "instance_of", "type": { "name": "Configuration", "namespace": "slm._types" } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "repository", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "retention", "required": false, "type": { "kind": "instance_of", "type": { "name": "Retention", "namespace": "slm._types" } } }, { "name": "schedule", "required": true, "type": { "kind": "instance_of", "type": { "name": "CronExpression", "namespace": "watcher._types" } } } ], "specLocation": "slm/_types/SnapshotLifecycle.ts#L76-L82" }, { "kind": "interface", "name": { "name": "Retention", "namespace": "slm._types" }, "properties": [ { "description": "Time period after which a snapshot is considered expired and eligible for deletion. SLM deletes expired snapshots based on the slm.retention_schedule.", "name": "expire_after", "required": true, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Maximum number of snapshots to retain, even if the snapshots have not yet expired. If the number of snapshots in the repository exceeds this limit, the policy retains the most recent snapshots and deletes older snapshots.", "name": "max_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Minimum number of snapshots to retain, even if the snapshots have expired.", "name": "min_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "slm/_types/SnapshotLifecycle.ts#L84-L97" }, { "kind": "interface", "name": { "name": "SnapshotLifecycle", "namespace": "slm._types" }, "properties": [ { "name": "in_progress", "required": false, "type": { "kind": "instance_of", "type": { "name": "InProgress", "namespace": "slm._types" } } }, { "name": "last_failure", "required": false, "type": { "kind": "instance_of", "type": { "name": "Invocation", "namespace": "slm._types" } } }, { "name": "last_success", "required": false, "type": { "kind": "instance_of", "type": { "name": "Invocation", "namespace": "slm._types" } } }, { "name": "modified_date", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "modified_date_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "next_execution", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "next_execution_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "policy", "required": true, "type": { "kind": "instance_of", "type": { "name": "Policy", "namespace": "slm._types" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "Statistics", "namespace": "slm._types" } } } ], "specLocation": "slm/_types/SnapshotLifecycle.ts#L38-L49" }, { "kind": "interface", "name": { "name": "Statistics", "namespace": "slm._types" }, "properties": [ { "name": "retention_deletion_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "retention_deletion_time_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "retention_failed", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "retention_runs", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "retention_timed_out", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "policy", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "aliases": [ "snapshots_deleted" ], "name": "total_snapshots_deleted", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "aliases": [ "snapshot_deletion_failures" ], "name": "total_snapshot_deletion_failures", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "aliases": [ "snapshots_failed" ], "name": "total_snapshots_failed", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "aliases": [ "snapshots_taken" ], "name": "total_snapshots_taken", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "slm/_types/SnapshotLifecycle.ts#L51-L74" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes an existing snapshot lifecycle policy.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "slm.delete_lifecycle" }, "path": [ { "description": "The id of the snapshot lifecycle policy to remove", "name": "policy_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "slm/delete_lifecycle/DeleteSnapshotLifecycleRequest.ts#L23-L32" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "slm.delete_lifecycle" }, "specLocation": "slm/delete_lifecycle/DeleteSnapshotLifecycleResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Immediately creates a snapshot according to the lifecycle policy, without waiting for the scheduled time.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "slm.execute_lifecycle" }, "path": [ { "description": "The id of the snapshot lifecycle policy to be executed", "name": "policy_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "slm/execute_lifecycle/ExecuteSnapshotLifecycleRequest.ts#L23-L32" }, { "body": { "kind": "properties", "properties": [ { "name": "snapshot_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "slm.execute_lifecycle" }, "specLocation": "slm/execute_lifecycle/ExecuteSnapshotLifecycleResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes any snapshots that are expired according to the policy's retention rules.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "slm.execute_retention" }, "path": [], "query": [], "specLocation": "slm/execute_retention/ExecuteRetentionRequest.ts#L22-L27" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "slm.execute_retention" }, "specLocation": "slm/execute_retention/ExecuteRetentionResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves one or more snapshot lifecycle policy definitions and information about the latest snapshot attempts.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "slm.get_lifecycle" }, "path": [ { "description": "Comma-separated list of snapshot lifecycle policies to retrieve", "name": "policy_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [], "specLocation": "slm/get_lifecycle/GetSnapshotLifecycleRequest.ts#L23-L32" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "SnapshotLifecycle", "namespace": "slm._types" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "slm.get_lifecycle" }, "specLocation": "slm/get_lifecycle/GetSnapshotLifecycleResponse.ts#L24-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns global and policy-level statistics about actions taken by snapshot lifecycle management.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "slm.get_stats" }, "path": [], "query": [], "specLocation": "slm/get_stats/GetSnapshotLifecycleStatsRequest.ts#L22-L27" }, { "body": { "kind": "properties", "properties": [ { "name": "retention_deletion_time", "required": true, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "retention_deletion_time_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "retention_failed", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "retention_runs", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "retention_timed_out", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_snapshots_deleted", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_snapshot_deletion_failures", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_snapshots_failed", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_snapshots_taken", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "policy_stats", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "slm.get_stats" }, "specLocation": "slm/get_stats/GetSnapshotLifecycleStatsResponse.ts#L23-L36" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves the status of snapshot lifecycle management (SLM).", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "slm.get_status" }, "path": [], "query": [], "specLocation": "slm/get_status/GetSnapshotLifecycleManagementStatusRequest.ts#L22-L27" }, { "body": { "kind": "properties", "properties": [ { "name": "operation_mode", "required": true, "type": { "kind": "instance_of", "type": { "name": "LifecycleOperationMode", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "slm.get_status" }, "specLocation": "slm/get_status/GetSnapshotLifecycleManagementStatusResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Configuration for each snapshot created by the policy.", "name": "config", "required": false, "type": { "kind": "instance_of", "type": { "name": "Configuration", "namespace": "slm._types" } } }, { "description": "Name automatically assigned to each snapshot created by the policy. Date math is supported. To prevent conflicting snapshot names, a UUID is automatically appended to each snapshot name.", "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Repository used to store snapshots created by this policy. This repository must exist prior to the policy’s creation. You can create a repository using the snapshot repository API.", "name": "repository", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Retention rules used to retain and delete snapshots created by the policy.", "name": "retention", "required": false, "type": { "kind": "instance_of", "type": { "name": "Retention", "namespace": "slm._types" } } }, { "description": "Periodic or absolute schedule at which the policy creates snapshots. SLM applies schedule changes immediately.", "name": "schedule", "required": false, "type": { "kind": "instance_of", "type": { "name": "CronExpression", "namespace": "watcher._types" } } } ] }, "description": "Creates or updates a snapshot lifecycle policy.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "slm.put_lifecycle" }, "path": [ { "description": "ID for the snapshot lifecycle policy you want to create or update.", "name": "policy_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "slm/put_lifecycle/PutSnapshotLifecycleRequest.ts#L26-L72" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "slm.put_lifecycle" }, "specLocation": "slm/put_lifecycle/PutSnapshotLifecycleResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Turns on snapshot lifecycle management (SLM).", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "slm.start" }, "path": [], "query": [], "specLocation": "slm/start/StartSnapshotLifecycleManagementRequest.ts#L22-L27" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "slm.start" }, "specLocation": "slm/start/StartSnapshotLifecycleManagementResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Turns off snapshot lifecycle management (SLM).", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "slm.stop" }, "path": [], "query": [], "specLocation": "slm/stop/StopSnapshotLifecycleManagementRequest.ts#L22-L27" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "slm.stop" }, "specLocation": "slm/stop/StopSnapshotLifecycleManagementResponse.ts#L22-L24" }, { "inherits": { "type": { "name": "RepositoryBase", "namespace": "snapshot._types" } }, "kind": "interface", "name": { "name": "AzureRepository", "namespace": "snapshot._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "azure" } }, { "name": "settings", "required": true, "type": { "kind": "instance_of", "type": { "name": "AzureRepositorySettings", "namespace": "snapshot._types" } } } ], "specLocation": "snapshot/_types/SnapshotRepository.ts#L40-L43" }, { "inherits": { "type": { "name": "RepositorySettingsBase", "namespace": "snapshot._types" } }, "kind": "interface", "name": { "name": "AzureRepositorySettings", "namespace": "snapshot._types" }, "properties": [ { "name": "client", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "container", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "base_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "readonly", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "location_mode", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "snapshot/_types/SnapshotRepository.ts#L77-L83" }, { "kind": "interface", "name": { "name": "FileCountSnapshotStats", "namespace": "snapshot._types" }, "properties": [ { "name": "file_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "snapshot/_types/FileCountSnapshotStats.ts#L22-L25" }, { "inherits": { "type": { "name": "RepositoryBase", "namespace": "snapshot._types" } }, "kind": "interface", "name": { "name": "GcsRepository", "namespace": "snapshot._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "gcs" } }, { "name": "settings", "required": true, "type": { "kind": "instance_of", "type": { "name": "GcsRepositorySettings", "namespace": "snapshot._types" } } } ], "specLocation": "snapshot/_types/SnapshotRepository.ts#L45-L48" }, { "inherits": { "type": { "name": "RepositorySettingsBase", "namespace": "snapshot._types" } }, "kind": "interface", "name": { "name": "GcsRepositorySettings", "namespace": "snapshot._types" }, "properties": [ { "name": "bucket", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "client", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "base_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "readonly", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "application_name", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "snapshot/_types/SnapshotRepository.ts#L85-L91" }, { "kind": "interface", "name": { "name": "IndexDetails", "namespace": "snapshot._types" }, "properties": [ { "name": "shard_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "max_segments_per_shard", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "snapshot/_types/SnapshotIndexDetails.ts#L23-L28" }, { "kind": "interface", "name": { "name": "InfoFeatureState", "namespace": "snapshot._types" }, "properties": [ { "name": "feature_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } } ], "specLocation": "snapshot/_types/SnapshotInfoFeatureState.ts#L22-L25" }, { "inherits": { "type": { "name": "RepositoryBase", "namespace": "snapshot._types" } }, "kind": "interface", "name": { "name": "ReadOnlyUrlRepository", "namespace": "snapshot._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "url" } }, { "name": "settings", "required": true, "type": { "kind": "instance_of", "type": { "name": "ReadOnlyUrlRepositorySettings", "namespace": "snapshot._types" } } } ], "specLocation": "snapshot/_types/SnapshotRepository.ts#L60-L63" }, { "inherits": { "type": { "name": "RepositorySettingsBase", "namespace": "snapshot._types" } }, "kind": "interface", "name": { "name": "ReadOnlyUrlRepositorySettings", "namespace": "snapshot._types" }, "properties": [ { "name": "http_max_retries", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "http_socket_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "max_number_of_snapshots", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "url", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "snapshot/_types/SnapshotRepository.ts#L110-L115" }, { "kind": "type_alias", "name": { "name": "Repository", "namespace": "snapshot._types" }, "specLocation": "snapshot/_types/SnapshotRepository.ts#L24-L34", "type": { "items": [ { "kind": "instance_of", "type": { "name": "AzureRepository", "namespace": "snapshot._types" } }, { "kind": "instance_of", "type": { "name": "GcsRepository", "namespace": "snapshot._types" } }, { "kind": "instance_of", "type": { "name": "S3Repository", "namespace": "snapshot._types" } }, { "kind": "instance_of", "type": { "name": "SharedFileSystemRepository", "namespace": "snapshot._types" } }, { "kind": "instance_of", "type": { "name": "ReadOnlyUrlRepository", "namespace": "snapshot._types" } }, { "kind": "instance_of", "type": { "name": "SourceOnlyRepository", "namespace": "snapshot._types" } } ], "kind": "union_of" }, "variants": { "kind": "internal_tag", "nonExhaustive": true, "tag": "type" } }, { "kind": "interface", "name": { "name": "RepositoryBase", "namespace": "snapshot._types" }, "properties": [ { "name": "uuid", "required": false, "type": { "kind": "instance_of", "type": { "name": "Uuid", "namespace": "_types" } } } ], "specLocation": "snapshot/_types/SnapshotRepository.ts#L36-L38" }, { "kind": "interface", "name": { "name": "RepositorySettingsBase", "namespace": "snapshot._types" }, "properties": [ { "name": "chunk_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "compress", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "max_restore_bytes_per_sec", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "max_snapshot_bytes_per_sec", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } } ], "specLocation": "snapshot/_types/SnapshotRepository.ts#L70-L75" }, { "inherits": { "type": { "name": "RepositoryBase", "namespace": "snapshot._types" } }, "kind": "interface", "name": { "name": "S3Repository", "namespace": "snapshot._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "s3" } }, { "name": "settings", "required": true, "type": { "kind": "instance_of", "type": { "name": "S3RepositorySettings", "namespace": "snapshot._types" } } } ], "specLocation": "snapshot/_types/SnapshotRepository.ts#L50-L53" }, { "inherits": { "type": { "name": "RepositorySettingsBase", "namespace": "snapshot._types" } }, "kind": "interface", "name": { "name": "S3RepositorySettings", "namespace": "snapshot._types" }, "properties": [ { "name": "bucket", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "client", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "base_path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "readonly", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "server_side_encryption", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "buffer_size", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "canned_acl", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "storage_class", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "snapshot/_types/SnapshotRepository.ts#L93-L102" }, { "kind": "interface", "name": { "name": "ShardsStats", "namespace": "snapshot._types" }, "properties": [ { "name": "done", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "failed", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "finalizing", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "initializing", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "started", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "snapshot/_types/SnapshotShardsStats.ts#L22-L29" }, { "kind": "enum", "members": [ { "description": "Number of shards in the snapshot that were successfully stored in the repository.", "name": "DONE" }, { "description": "Number of shards in the snapshot that were not successfully stored in the repository.", "name": "FAILURE" }, { "description": "Number of shards in the snapshot that are in the finalizing stage of being stored in the repository.", "name": "FINALIZE" }, { "description": "Number of shards in the snapshot that are in the initializing stage of being stored in the repository.", "name": "INIT" }, { "description": "Number of shards in the snapshot that are in the started stage of being stored in the repository.", "name": "STARTED" } ], "name": { "name": "ShardsStatsStage", "namespace": "snapshot._types" }, "specLocation": "snapshot/_types/SnapshotShardsStatsStage.ts#L20-L31" }, { "kind": "interface", "name": { "name": "ShardsStatsSummary", "namespace": "snapshot._types" }, "properties": [ { "name": "incremental", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardsStatsSummaryItem", "namespace": "snapshot._types" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardsStatsSummaryItem", "namespace": "snapshot._types" } } }, { "name": "start_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "snapshot/_types/SnapshotShardsStatus.ts#L29-L35" }, { "kind": "interface", "name": { "name": "ShardsStatsSummaryItem", "namespace": "snapshot._types" }, "properties": [ { "name": "file_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "size_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "snapshot/_types/SnapshotShardsStatus.ts#L37-L40" }, { "inherits": { "type": { "name": "RepositoryBase", "namespace": "snapshot._types" } }, "kind": "interface", "name": { "name": "SharedFileSystemRepository", "namespace": "snapshot._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "fs" } }, { "name": "settings", "required": true, "type": { "kind": "instance_of", "type": { "name": "SharedFileSystemRepositorySettings", "namespace": "snapshot._types" } } } ], "specLocation": "snapshot/_types/SnapshotRepository.ts#L55-L58" }, { "inherits": { "type": { "name": "RepositorySettingsBase", "namespace": "snapshot._types" } }, "kind": "interface", "name": { "name": "SharedFileSystemRepositorySettings", "namespace": "snapshot._types" }, "properties": [ { "name": "location", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_number_of_snapshots", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "readonly", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "snapshot/_types/SnapshotRepository.ts#L104-L108" }, { "kind": "interface", "name": { "name": "SnapshotIndexStats", "namespace": "snapshot._types" }, "properties": [ { "name": "shards", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "SnapshotShardsStatus", "namespace": "snapshot._types" } } } }, { "name": "shards_stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardsStats", "namespace": "snapshot._types" } } }, { "name": "stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "SnapshotStats", "namespace": "snapshot._types" } } } ], "specLocation": "snapshot/_types/SnapshotIndexStats.ts#L25-L29" }, { "kind": "interface", "name": { "name": "SnapshotInfo", "namespace": "snapshot._types" }, "properties": [ { "name": "data_streams", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "duration", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "duration_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "end_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "end_time_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "failures", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SnapshotShardFailure", "namespace": "snapshot._types" } } } }, { "name": "include_global_state", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "indices", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } }, { "availability": { "serverless": {}, "stack": { "since": "7.13.0" } }, "name": "index_details", "required": false, "since": "7.13.0", "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "IndexDetails", "namespace": "snapshot._types" } } } }, { "name": "metadata", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "name": "reason", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.14.0" } }, "name": "repository", "required": false, "since": "7.14.0", "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "snapshot", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "shards", "required": false, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } }, { "name": "start_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "start_time_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "state", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "uuid", "required": true, "type": { "kind": "instance_of", "type": { "name": "Uuid", "namespace": "_types" } } }, { "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "version_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "feature_states", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "InfoFeatureState", "namespace": "snapshot._types" } } } } ], "specLocation": "snapshot/_types/SnapshotInfo.ts#L41-L71" }, { "kind": "interface", "name": { "name": "SnapshotShardFailure", "namespace": "snapshot._types" }, "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "node_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "reason", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "shard_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "snapshot/_types/SnapshotShardFailure.ts#L22-L28" }, { "kind": "interface", "name": { "name": "SnapshotShardsStatus", "namespace": "snapshot._types" }, "properties": [ { "name": "stage", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardsStatsStage", "namespace": "snapshot._types" } } }, { "name": "stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardsStatsSummary", "namespace": "snapshot._types" } } } ], "specLocation": "snapshot/_types/SnapshotShardsStatus.ts#L24-L27" }, { "kind": "enum", "members": [ { "name": "start_time" }, { "name": "duration" }, { "name": "name" }, { "name": "index_count" }, { "availability": { "serverless": {}, "stack": { "since": "7.16.0" } }, "name": "repository", "since": "7.16.0" }, { "availability": { "serverless": {}, "stack": { "since": "7.16.0" } }, "name": "shard_count", "since": "7.16.0" }, { "availability": { "serverless": {}, "stack": { "since": "7.16.0" } }, "name": "failed_shard_count", "since": "7.16.0" } ], "name": { "name": "SnapshotSort", "namespace": "snapshot._types" }, "specLocation": "snapshot/_types/SnapshotInfo.ts#L73-L93" }, { "kind": "interface", "name": { "name": "SnapshotStats", "namespace": "snapshot._types" }, "properties": [ { "name": "incremental", "required": true, "type": { "kind": "instance_of", "type": { "name": "FileCountSnapshotStats", "namespace": "snapshot._types" } } }, { "name": "start_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "FileCountSnapshotStats", "namespace": "snapshot._types" } } } ], "specLocation": "snapshot/_types/SnapshotStats.ts#L23-L29" }, { "inherits": { "type": { "name": "RepositoryBase", "namespace": "snapshot._types" } }, "kind": "interface", "name": { "name": "SourceOnlyRepository", "namespace": "snapshot._types" }, "properties": [ { "name": "type", "required": true, "type": { "kind": "literal_value", "value": "source" } }, { "name": "settings", "required": true, "type": { "kind": "instance_of", "type": { "name": "SourceOnlyRepositorySettings", "namespace": "snapshot._types" } } } ], "specLocation": "snapshot/_types/SnapshotRepository.ts#L65-L68" }, { "inherits": { "type": { "name": "RepositorySettingsBase", "namespace": "snapshot._types" } }, "kind": "interface", "name": { "name": "SourceOnlyRepositorySettings", "namespace": "snapshot._types" }, "properties": [ { "name": "delegate_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_number_of_snapshots", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "aliases": [ "readonly" ], "name": "read_only", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "snapshot/_types/SnapshotRepository.ts#L117-L124" }, { "kind": "interface", "name": { "name": "Status", "namespace": "snapshot._types" }, "properties": [ { "name": "include_global_state", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "indices", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "SnapshotIndexStats", "namespace": "snapshot._types" } } } }, { "name": "repository", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "shards_stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardsStats", "namespace": "snapshot._types" } } }, { "name": "snapshot", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "SnapshotStats", "namespace": "snapshot._types" } } }, { "name": "uuid", "required": true, "type": { "kind": "instance_of", "type": { "name": "Uuid", "namespace": "_types" } } } ], "specLocation": "snapshot/_types/SnapshotStatus.ts#L26-L35" }, { "kind": "interface", "name": { "name": "CleanupRepositoryResults", "namespace": "snapshot.cleanup_repository" }, "properties": [ { "description": "Number of binary large objects (blobs) removed during cleanup.", "name": "deleted_blobs", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Number of bytes freed by cleanup operations.", "name": "deleted_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "snapshot/cleanup_repository/SnapshotCleanupRepositoryResponse.ts#L29-L34" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Triggers the review of a snapshot repository’s contents and deletes any stale data not referenced by existing snapshots.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "snapshot.cleanup_repository" }, "path": [ { "codegenName": "name", "description": "Snapshot repository to clean up.", "name": "repository", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "snapshot/cleanup_repository/SnapshotCleanupRepositoryRequest.ts#L24-L49" }, { "body": { "kind": "properties", "properties": [ { "description": "Statistics for cleanup operations.", "name": "results", "required": true, "type": { "kind": "instance_of", "type": { "name": "CleanupRepositoryResults", "namespace": "snapshot.cleanup_repository" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "snapshot.cleanup_repository" }, "specLocation": "snapshot/cleanup_repository/SnapshotCleanupRepositoryResponse.ts#L22-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Clones indices from one snapshot into another snapshot in the same repository.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "snapshot.clone" }, "path": [ { "description": "A repository name", "name": "repository", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "The name of the snapshot to clone from", "name": "snapshot", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "The name of the cloned snapshot to create", "name": "target_snapshot", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Explicit operation timeout for connection to master node", "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "snapshot/clone/SnapshotCloneRequest.ts#L24-L42" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "snapshot.clone" }, "specLocation": "snapshot/clone/SnapshotCloneResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "If `true`, the request ignores data streams and indices in `indices` that are missing or closed. If `false`, the request returns an error for any data stream or index that is missing or closed.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the current cluster state is included in the snapshot. The cluster state includes persistent cluster settings, composable index templates, legacy index templates, ingest pipelines, and ILM policies. It also includes data stored in system indices, such as Watches and task records (configurable via `feature_states`).", "name": "include_global_state", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Data streams and indices to include in the snapshot. Supports multi-target syntax. Includes all data streams and indices by default.", "name": "indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "Feature states to include in the snapshot. Each feature state includes one or more system indices containing related data. You can view a list of eligible features using the get features API. If `include_global_state` is `true`, all current feature states are included by default. If `include_global_state` is `false`, no feature states are included by default.", "name": "feature_states", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Optional metadata for the snapshot. May have any contents. Must be less than 1024 bytes. This map is not automatically generated by Elasticsearch.", "name": "metadata", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "If `true`, allows restoring a partial snapshot of indices with unavailable shards. Only shards that were successfully included in the snapshot will be restored. All missing shards will be recreated as empty. If `false`, the entire restore operation will fail if one or more indices included in the snapshot do not have all primary shards available.", "name": "partial", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "description": "Creates a snapshot in a repository.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "snapshot.create" }, "path": [ { "description": "Repository for the snapshot.", "name": "repository", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Name of the snapshot. Must be unique in the repository.", "name": "snapshot", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If `true`, the request returns a response when the snapshot is complete. If `false`, the request returns a response when the snapshot initializes.", "name": "wait_for_completion", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "snapshot/create/SnapshotCreateRequest.ts#L24-L81" }, { "body": { "kind": "properties", "properties": [ { "availability": { "serverless": {}, "stack": { "since": "7.15.0" } }, "description": "Equals `true` if the snapshot was accepted. Present when the request had `wait_for_completion` set to `false`", "name": "accepted", "required": false, "since": "7.15.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Snapshot information. Present when the request had `wait_for_completion` set to `true`", "name": "snapshot", "required": false, "type": { "kind": "instance_of", "type": { "name": "SnapshotInfo", "namespace": "snapshot._types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "snapshot.create" }, "specLocation": "snapshot/create/SnapshotCreateResponse.ts#L22-L35" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "codegenName": "repository", "kind": "value", "value": { "kind": "instance_of", "type": { "name": "Repository", "namespace": "snapshot._types" } } }, "description": "Creates a repository.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "snapshot.create_repository" }, "path": [ { "codegenName": "name", "description": "A repository name", "name": "repository", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Explicit operation timeout for connection to master node", "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Explicit operation timeout", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Whether to verify the repository after creation", "name": "verify", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "snapshot/create_repository/SnapshotCreateRepositoryRequest.ts#L25-L42" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "snapshot.create_repository" }, "specLocation": "snapshot/create_repository/SnapshotCreateRepositoryResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes one or more snapshots.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "snapshot.delete" }, "path": [ { "description": "A repository name", "name": "repository", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "A comma-separated list of snapshot names", "name": "snapshot", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Explicit operation timeout for connection to master node", "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "snapshot/delete/SnapshotDeleteRequest.ts#L24-L37" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "snapshot.delete" }, "specLocation": "snapshot/delete/SnapshotDeleteResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes a repository.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "snapshot.delete_repository" }, "path": [ { "codegenName": "name", "description": "Name of the snapshot repository to unregister. Wildcard (`*`) patterns are supported.", "name": "repository", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "Explicit operation timeout for connection to master node", "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Explicit operation timeout", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "snapshot/delete_repository/SnapshotDeleteRepositoryRequest.ts#L24-L38" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "snapshot.delete_repository" }, "specLocation": "snapshot/delete_repository/SnapshotDeleteRepositoryResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about a snapshot.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "snapshot.get" }, "path": [ { "description": "Comma-separated list of snapshot repository names used to limit the request. Wildcard (*) expressions are supported.", "name": "repository", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "Comma-separated list of snapshot names to retrieve. Also accepts wildcards (*).\n- To get information about all snapshots in a registered repository, use a wildcard (*) or _all.\n- To get information about any snapshots that are currently running, use _current.", "name": "snapshot", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "If false, the request returns an error for any snapshots that are unavailable.", "name": "ignore_unavailable", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If true, returns additional information about each snapshot such as the version of Elasticsearch which took the snapshot, the start and end times of the snapshot, and the number of shards snapshotted.", "name": "verbose", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.13.0" } }, "description": "If true, returns additional information about each index in the snapshot comprising the number of shards in the index, the total size of the index in bytes, and the maximum number of segments per shard in the index. Defaults to false, meaning that this information is omitted.", "name": "index_details", "required": false, "serverDefault": false, "since": "7.13.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.3.0" } }, "description": "If true, returns the name of each index in each snapshot.", "name": "index_names", "required": false, "serverDefault": true, "since": "8.3.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, returns the repository name in each snapshot.", "name": "include_repository", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.14.0" } }, "description": "Allows setting a sort order for the result. Defaults to start_time, i.e. sorting by snapshot start time stamp.", "name": "sort", "required": false, "serverDefault": "start_time", "since": "7.14.0", "type": { "kind": "instance_of", "type": { "name": "SnapshotSort", "namespace": "snapshot._types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.14.0" } }, "description": "Maximum number of snapshots to return. Defaults to 0 which means return all that match the request without limit.", "name": "size", "required": false, "serverDefault": 0, "since": "7.14.0", "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.14.0" } }, "description": "Sort order. Valid values are asc for ascending and desc for descending order. Defaults to asc, meaning ascending order.", "name": "order", "required": false, "serverDefault": "asc", "since": "7.14.0", "type": { "kind": "instance_of", "type": { "name": "SortOrder", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.14.0" } }, "description": "Offset identifier to start pagination from as returned by the next field in the response body.", "name": "after", "required": false, "since": "7.14.0", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.15.0" } }, "description": "Numeric offset to start pagination from based on the snapshots matching this request. Using a non-zero value for this parameter is mutually exclusive with using the after parameter. Defaults to 0.", "name": "offset", "required": false, "serverDefault": 0, "since": "7.15.0", "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.16.0" } }, "description": "Value of the current sort column at which to start retrieval. Can either be a string snapshot- or repository name when sorting by snapshot or repository name, a millisecond time value or a number when sorting by index- or shard count.", "name": "from_sort_value", "required": false, "since": "7.16.0", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.16.0" } }, "description": "Filter snapshots by a comma-separated list of SLM policy names that snapshots belong to. Also accepts wildcards (*) and combinations of wildcards followed by exclude patterns starting with -. To include snapshots not created by an SLM policy you can use the special pattern _none that will match all snapshots without an SLM policy.", "name": "slm_policy_filter", "required": false, "since": "7.16.0", "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "specLocation": "snapshot/get/SnapshotGetRequest.ts#L27-L127" }, { "body": { "kind": "properties", "properties": [ { "name": "responses", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SnapshotResponseItem", "namespace": "snapshot.get" } } } }, { "name": "snapshots", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SnapshotInfo", "namespace": "snapshot._types" } } } }, { "availability": { "serverless": {}, "stack": { "since": "7.15.0" } }, "description": "The total number of snapshots that match the request when ignoring size limit or after query parameter.", "name": "total", "required": true, "since": "7.15.0", "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.15.0" } }, "description": "The number of remaining snapshots that were not returned due to size limits and that can be fetched by additional requests using the next field value.", "name": "remaining", "required": true, "since": "7.15.0", "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "snapshot.get" }, "specLocation": "snapshot/get/SnapshotGetResponse.ts#L25-L42" }, { "kind": "interface", "name": { "name": "SnapshotResponseItem", "namespace": "snapshot.get" }, "properties": [ { "name": "repository", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "snapshots", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SnapshotInfo", "namespace": "snapshot._types" } } } }, { "name": "error", "required": false, "type": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } } ], "specLocation": "snapshot/get/SnapshotGetResponse.ts#L44-L48" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about a repository.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "snapshot.get_repository" }, "path": [ { "codegenName": "name", "description": "A comma-separated list of repository names", "name": "repository", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "Return local information, do not retrieve the state from master node (default: false)", "name": "local", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Explicit operation timeout for connection to master node", "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "snapshot/get_repository/SnapshotGetRepositoryRequest.ts#L24-L38" }, { "body": { "kind": "value", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Repository", "namespace": "snapshot._types" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "snapshot.get_repository" }, "specLocation": "snapshot/get_repository/SnapshotGetRepositoryResponse.ts#L23-L25" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "feature_states", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "ignore_index_settings", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "ignore_unavailable", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "include_aliases", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "include_global_state", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "index_settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexSettings", "namespace": "indices._types" } } }, { "name": "indices", "required": false, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "name": "partial", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "rename_pattern", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "rename_replacement", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Restores a snapshot.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "snapshot.restore" }, "path": [ { "description": "A repository name", "name": "repository", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "A snapshot name", "name": "snapshot", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Explicit operation timeout for connection to master node", "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Should this request wait until the operation has completed before returning", "name": "wait_for_completion", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "snapshot/restore/SnapshotRestoreRequest.ts#L25-L51" }, { "body": { "kind": "properties", "properties": [ { "name": "snapshot", "required": true, "type": { "kind": "instance_of", "type": { "name": "SnapshotRestore", "namespace": "snapshot.restore" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "snapshot.restore" }, "specLocation": "snapshot/restore/SnapshotRestoreResponse.ts#L23-L25" }, { "kind": "interface", "name": { "name": "SnapshotRestore", "namespace": "snapshot.restore" }, "properties": [ { "name": "indices", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } }, { "name": "snapshot", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "shards", "required": true, "type": { "kind": "instance_of", "type": { "name": "ShardStatistics", "namespace": "_types" } } } ], "specLocation": "snapshot/restore/SnapshotRestoreResponse.ts#L27-L31" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about the status of a snapshot.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "snapshot.status" }, "path": [ { "description": "A repository name", "name": "repository", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "A comma-separated list of snapshot names", "name": "snapshot", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown", "name": "ignore_unavailable", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Explicit operation timeout for connection to master node", "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "snapshot/status/SnapshotStatusRequest.ts#L24-L38" }, { "body": { "kind": "properties", "properties": [ { "name": "snapshots", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Status", "namespace": "snapshot._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "snapshot.status" }, "specLocation": "snapshot/status/SnapshotStatusResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "CompactNodeInfo", "namespace": "snapshot.verify_repository" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "specLocation": "snapshot/verify_repository/SnapshotVerifyRepositoryResponse.ts#L27-L29" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Verifies a repository.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "snapshot.verify_repository" }, "path": [ { "codegenName": "name", "description": "A repository name", "name": "repository", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Explicit operation timeout for connection to master node", "name": "master_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Explicit operation timeout", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "snapshot/verify_repository/SnapshotVerifyRepositoryRequest.ts#L24-L38" }, { "body": { "kind": "properties", "properties": [ { "name": "nodes", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "CompactNodeInfo", "namespace": "snapshot.verify_repository" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "snapshot.verify_repository" }, "specLocation": "snapshot/verify_repository/SnapshotVerifyRepositoryResponse.ts#L23-L25" }, { "kind": "interface", "name": { "name": "Column", "namespace": "sql" }, "properties": [ { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "sql/types.ts#L23-L26" }, { "kind": "type_alias", "name": { "name": "Row", "namespace": "sql" }, "specLocation": "sql/types.ts#L28-L28", "type": { "kind": "array_of", "value": { "kind": "user_defined_value" } } }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Cursor to clear.", "name": "cursor", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "description": "Clears the SQL cursor", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "sql.clear_cursor" }, "path": [], "query": [], "specLocation": "sql/clear_cursor/ClearSqlCursorRequest.ts#L22-L34" }, { "body": { "kind": "properties", "properties": [ { "name": "succeeded", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "sql.clear_cursor" }, "specLocation": "sql/clear_cursor/ClearSqlCursorResponse.ts#L20-L22" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes an async SQL search or a stored synchronous SQL search. If the search is still running, the API cancels it.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "sql.delete_async" }, "path": [ { "description": "Identifier for the search.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "sql/delete_async/SqlDeleteAsyncRequest.ts#L23-L35" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "sql.delete_async" }, "specLocation": "sql/delete_async/SqlDeleteAsyncResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns the current status and available results for an async SQL search or stored synchronous SQL search", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "sql.get_async" }, "path": [ { "description": "Identifier for the search.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Separator for CSV results. The API only supports this parameter for CSV responses.", "name": "delimiter", "required": false, "serverDefault": ",", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Format for the response. You must specify a format using this parameter or the\nAccept HTTP header. If you specify both, the API uses this parameter.", "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Retention period for the search and its results. Defaults\nto the `keep_alive` period for the original SQL search.", "name": "keep_alive", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for complete results. Defaults to no timeout,\nmeaning the request waits for complete search results.", "name": "wait_for_completion_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "sql/get_async/SqlGetAsyncRequest.ts#L24-L58" }, { "body": { "kind": "properties", "properties": [ { "description": "Identifier for the search. This value is only returned for async and saved\nsynchronous searches. For CSV, TSV, and TXT responses, this value is returned\nin the `Async-ID` HTTP header.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "If `true`, the search is still running. If false, the search has finished.\nThis value is only returned for async and saved synchronous searches. For\nCSV, TSV, and TXT responses, this value is returned in the `Async-partial`\nHTTP header.", "name": "is_running", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the response does not contain complete search results. If `is_partial`\nis `true` and `is_running` is `true`, the search is still running. If `is_partial`\nis `true` but `is_running` is `false`, the results are partial due to a failure or\ntimeout. This value is only returned for async and saved synchronous searches.\nFor CSV, TSV, and TXT responses, this value is returned in the `Async-partial` HTTP header.", "name": "is_partial", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Column headings for the search results. Each object is a column.", "name": "columns", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Column", "namespace": "sql" } } } }, { "description": "Cursor for the next set of paginated results. For CSV, TSV, and\nTXT responses, this value is returned in the `Cursor` HTTP header.", "name": "cursor", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Values for the search results.", "name": "rows", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Row", "namespace": "sql" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "sql.get_async" }, "specLocation": "sql/get_async/SqlGetAsyncResponse.ts#L23-L60" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns the current status of an async SQL search or a stored synchronous SQL search", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "sql.get_async_status" }, "path": [ { "description": "Identifier for the search.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "sql/get_async_status/SqlGetAsyncStatusRequest.ts#L24-L36" }, { "body": { "kind": "properties", "properties": [ { "description": "Identifier for the search.", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If `true`, the search is still running. If `false`, the search has finished.", "name": "is_running", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the response does not contain complete search results. If `is_partial`\nis `true` and `is_running` is `true`, the search is still running. If `is_partial`\nis `true` but `is_running` is `false`, the results are partial due to a failure or\ntimeout.", "name": "is_partial", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Timestamp, in milliseconds since the Unix epoch, when the search started.\nThe API only returns this property for running searches.", "name": "start_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "Timestamp, in milliseconds since the Unix epoch, when Elasticsearch will delete\nthe search and its results, even if the search is still running.", "name": "expiration_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "HTTP status code for the search. The API only returns this property for completed searches.", "name": "completion_status", "required": false, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "sql.get_async_status" }, "specLocation": "sql/get_async_status/SqlGetAsyncStatusResponse.ts#L23-L55" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Default catalog (cluster) for queries. If unspecified, the queries execute on the data in the local cluster only.", "name": "catalog", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If true, the results in a columnar fashion: one row represents all the values of a certain column from the current page of results.", "name": "columnar", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Cursor used to retrieve a set of paginated results.\nIf you specify a cursor, the API only uses the `columnar` and `time_zone` request body parameters.\nIt ignores other request body parameters.", "name": "cursor", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The maximum number of rows (or entries) to return in one response", "name": "fetch_size", "required": false, "serverDefault": 1000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Elasticsearch query DSL for additional filtering.", "docId": "sql-rest-filtering", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/sql-rest-filtering.html", "name": "filter", "required": false, "serverDefault": "none", "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "SQL query to run.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The timeout before the request fails.", "name": "request_timeout", "required": false, "serverDefault": "90s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The timeout before a pagination request fails.", "name": "page_timeout", "required": false, "serverDefault": "45s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "ISO-8601 time zone ID for the search.", "docUrl": "https://docs.oracle.com/javase/8/docs/api/java/time/ZoneId.html", "name": "time_zone", "required": false, "serverDefault": "Z", "type": { "kind": "instance_of", "type": { "name": "TimeZone", "namespace": "_types" } } }, { "description": "Throw an exception when encountering multiple values for a field (default) or be lenient and return the first value from the list (without any guarantees of what that will be - typically the first in natural ascending order).", "name": "field_multi_value_leniency", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Defines one or more runtime fields in the search request. These fields take\nprecedence over mapped fields with the same name.", "name": "runtime_mappings", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } }, { "description": "Period to wait for complete results. Defaults to no timeout, meaning the request waits for complete search results. If the search doesn’t finish within this period, the search becomes async.", "name": "wait_for_completion_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Values for parameters in the query.", "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "Retention period for an async or saved synchronous search.", "name": "keep_alive", "required": false, "serverDefault": "5d", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If true, Elasticsearch stores synchronous searches if you also specify the wait_for_completion_timeout parameter. If false, Elasticsearch only stores async searches that don’t finish before the wait_for_completion_timeout.", "name": "keep_on_completion", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If true, the search can run on frozen indices. Defaults to false.", "name": "index_using_frozen", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ] }, "description": "Executes a SQL request", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "sql.query" }, "path": [], "query": [ { "description": "Format for the response.", "docId": "sql-rest-format", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/sql-rest-format.html", "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "sql/query/QuerySqlRequest.ts#L28-L122" }, { "body": { "kind": "properties", "properties": [ { "description": "Identifier for the search. This value is only returned for async and saved\nsynchronous searches. For CSV, TSV, and TXT responses, this value is returned\nin the `Async-ID` HTTP header.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "If `true`, the search is still running. If false, the search has finished.\nThis value is only returned for async and saved synchronous searches. For\nCSV, TSV, and TXT responses, this value is returned in the `Async-partial`\nHTTP header.", "name": "is_running", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the response does not contain complete search results. If `is_partial`\nis `true` and `is_running` is `true`, the search is still running. If `is_partial`\nis `true` but `is_running` is `false`, the results are partial due to a failure or\ntimeout. This value is only returned for async and saved synchronous searches.\nFor CSV, TSV, and TXT responses, this value is returned in the `Async-partial` HTTP header.", "name": "is_partial", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Column headings for the search results. Each object is a column.", "name": "columns", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Column", "namespace": "sql" } } } }, { "description": "Cursor for the next set of paginated results. For CSV, TSV, and\nTXT responses, this value is returned in the `Cursor` HTTP header.", "name": "cursor", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Values for the search results.", "name": "rows", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Row", "namespace": "sql" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "sql.query" }, "specLocation": "sql/query/QuerySqlResponse.ts#L23-L60" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The maximum number of rows (or entries) to return in one response.", "name": "fetch_size", "required": false, "serverDefault": 1000, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Elasticsearch query DSL for additional filtering.", "docId": "sql-rest-filtering", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/sql-rest-filtering.html", "name": "filter", "required": false, "serverDefault": "none", "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "SQL query to run.", "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "ISO-8601 time zone ID for the search.", "docUrl": "https://docs.oracle.com/javase/8/docs/api/java/time/ZoneId.html", "name": "time_zone", "required": false, "serverDefault": "Z", "type": { "kind": "instance_of", "type": { "name": "TimeZone", "namespace": "_types" } } } ] }, "description": "Translates SQL into Elasticsearch queries", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "sql.translate" }, "path": [], "query": [], "specLocation": "sql/translate/TranslateSqlRequest.ts#L25-L54" }, { "body": { "kind": "properties", "properties": [ { "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AggregationContainer", "namespace": "_types.aggregations" } } } }, { "name": "size", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "_source", "required": false, "type": { "kind": "instance_of", "type": { "name": "SourceConfig", "namespace": "_global.search._types" } } }, { "name": "fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "FieldAndFormat", "namespace": "_types.query_dsl" } } } }, { "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "Sort", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "sql.translate" }, "specLocation": "sql/translate/TranslateSqlResponse.ts#L28-L38" }, { "kind": "interface", "name": { "name": "CertificateInformation", "namespace": "ssl.certificates" }, "properties": [ { "name": "alias", "required": true, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } }, { "name": "expiry", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "format", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "has_private_key", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "issuer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "path", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "serial_number", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "subject_dn", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "ssl/certificates/types.ts#L22-L31" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves information about the X.509 certificates used to encrypt communications in the cluster.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "ssl.certificates" }, "path": [], "query": [], "specLocation": "ssl/certificates/GetCertificatesRequest.ts#L22-L27" }, { "body": { "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "CertificateInformation", "namespace": "ssl.certificates" } } } }, "kind": "response", "name": { "name": "Response", "namespace": "ssl.certificates" }, "specLocation": "ssl/certificates/GetCertificatesResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "SynonymRule", "namespace": "synonyms._types" }, "properties": [ { "description": "Synonym Rule identifier", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Synonyms, in Solr format, that conform the synonym rule. See https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-synonym-graph-tokenfilter.html#_solr_synonyms_2", "name": "synonyms", "required": true, "type": { "kind": "instance_of", "type": { "name": "SynonymString", "namespace": "synonyms._types" } } } ], "specLocation": "synonyms/_types/SynonymRule.ts#L26-L35" }, { "attachedBehaviors": [ "OverloadOf" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "SynonymRule", "namespace": "synonyms._types" } } ], "type": { "name": "OverloadOf", "namespace": "_spec_utils" } } ], "kind": "interface", "name": { "name": "SynonymRuleRead", "namespace": "synonyms._types" }, "properties": [ { "description": "Synonym Rule identifier", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Synonyms, in Solr format, that conform the synonym rule. See https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-synonym-graph-tokenfilter.html#_solr_synonyms_2", "name": "synonyms", "required": true, "type": { "kind": "instance_of", "type": { "name": "SynonymString", "namespace": "synonyms._types" } } } ], "specLocation": "synonyms/_types/SynonymRule.ts#L38-L47" }, { "kind": "type_alias", "name": { "name": "SynonymString", "namespace": "synonyms._types" }, "specLocation": "synonyms/_types/SynonymRule.ts#L23-L23", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "interface", "name": { "name": "SynonymsUpdateResult", "namespace": "synonyms._types" }, "properties": [ { "description": "Update operation result", "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } }, { "description": "Updating synonyms in a synonym set reloads the associated analyzers.\nThis is the analyzers reloading result", "name": "reload_analyzers_details", "required": true, "type": { "kind": "instance_of", "type": { "name": "ReloadResult", "namespace": "indices.reload_search_analyzers" } } } ], "specLocation": "synonyms/_types/SynonymsUpdateResult.ts#L23-L34" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes a synonym set", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "synonyms.delete_synonym" }, "path": [ { "description": "The id of the synonyms set to be deleted", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "synonyms/delete_synonym/SynonymsDeleteRequest.ts#L22-L35" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "synonyms.delete_synonym" }, "specLocation": "synonyms/delete_synonym/SynonymsDeleteResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes a synonym rule in a synonym set", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "synonyms.delete_synonym_rule" }, "path": [ { "description": "The id of the synonym set to be updated", "name": "set_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The id of the synonym rule to be deleted", "name": "rule_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "synonyms/delete_synonym_rule/SynonymRuleDeleteRequest.ts#L22-L40" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "SynonymsUpdateResult", "namespace": "synonyms._types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "synonyms.delete_synonym_rule" }, "specLocation": "synonyms/delete_synonym_rule/SynonymRuleDeleteResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves a synonym set", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "synonyms.get_synonym" }, "path": [ { "description": "\"The id of the synonyms set to be retrieved", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Starting offset for query rules to be retrieved", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "specifies a max number of query rules to retrieve", "name": "size", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "synonyms/get_synonym/SynonymsGetRequest.ts#L23-L48" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "synonyms_set", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SynonymRuleRead", "namespace": "synonyms._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "synonyms.get_synonym" }, "specLocation": "synonyms/get_synonym/SynonymsGetResponse.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves a synonym rule from a synonym set", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "synonyms.get_synonym_rule" }, "path": [ { "description": "The id of the synonym set to retrieve the synonym rule from", "name": "set_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The id of the synonym rule to retrieve", "name": "rule_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "synonyms/get_synonym_rule/SynonymRuleGetRequest.ts#L22-L40" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "SynonymRuleRead", "namespace": "synonyms._types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "synonyms.get_synonym_rule" }, "specLocation": "synonyms/get_synonym_rule/SynonymRuleGetResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves a summary of all defined synonym sets", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "synonyms.get_synonyms_sets" }, "path": [], "query": [ { "description": "Starting offset", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "specifies a max number of results to get", "name": "size", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "synonyms/get_synonyms_sets/SynonymsSetsGetRequest.ts#L22-L41" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "results", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SynonymsSetItem", "namespace": "synonyms.get_synonyms_sets" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "synonyms.get_synonyms_sets" }, "specLocation": "synonyms/get_synonyms_sets/SynonymsSetsGetResponse.ts#L23-L28" }, { "kind": "interface", "name": { "name": "SynonymsSetItem", "namespace": "synonyms.get_synonyms_sets" }, "properties": [ { "description": "Synonyms set identifier", "name": "synonyms_set", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Number of synonym rules that the synonym set contains", "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "synonyms/get_synonyms_sets/SynonymsSetsGetResponse.ts#L30-L39" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The synonym set information to update", "name": "synonyms_set", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SynonymRule", "namespace": "synonyms._types" } } } } ] }, "description": "Creates or updates a synonym set.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "synonyms.put_synonym" }, "path": [ { "description": "The id of the synonyms set to be created or updated", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "synonyms/put_synonym/SynonymsPutRequest.ts#L23-L42" }, { "body": { "kind": "properties", "properties": [ { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } }, { "name": "reload_analyzers_details", "required": true, "type": { "kind": "instance_of", "type": { "name": "ReloadDetails", "namespace": "indices.reload_search_analyzers" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "synonyms.put_synonym" }, "specLocation": "synonyms/put_synonym/SynonymsPutResponse.ts#L24-L29" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "synonyms", "required": true, "type": { "kind": "instance_of", "type": { "name": "SynonymString", "namespace": "synonyms._types" } } } ] }, "description": "Creates or updates a synonym rule in a synonym set", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "synonyms.put_synonym_rule" }, "path": [ { "description": "The id of the synonym set to be updated with the synonym rule", "name": "set_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "The id of the synonym rule to be updated or created", "name": "rule_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [], "specLocation": "synonyms/put_synonym_rule/SynonymRulePutRequest.ts#L23-L47" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "SynonymsUpdateResult", "namespace": "synonyms._types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "synonyms.put_synonym_rule" }, "specLocation": "synonyms/put_synonym_rule/SynonymRulePutResponse.ts#L22-L24" }, { "kind": "enum", "members": [ { "description": "Node ID", "name": "nodes" }, { "description": "Parent task ID", "name": "parents" }, { "description": "Do not group tasks.", "name": "none" } ], "name": { "name": "GroupBy", "namespace": "tasks._types" }, "specLocation": "tasks/_types/GroupBy.ts#L20-L27" }, { "kind": "interface", "name": { "name": "NodeTasks", "namespace": "tasks._types" }, "properties": [ { "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } }, { "name": "transport_address", "required": false, "type": { "kind": "instance_of", "type": { "name": "TransportAddress", "namespace": "_types" } } }, { "name": "host", "required": false, "type": { "kind": "instance_of", "type": { "name": "Host", "namespace": "_types" } } }, { "name": "ip", "required": false, "type": { "kind": "instance_of", "type": { "name": "Ip", "namespace": "_types" } } }, { "name": "roles", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "attributes", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "tasks", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "TaskId", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "TaskInfo", "namespace": "tasks._types" } } } } ], "specLocation": "tasks/_types/TaskListResponseBase.ts#L49-L57" }, { "inherits": { "type": { "name": "TaskInfo", "namespace": "tasks._types" } }, "kind": "interface", "name": { "name": "ParentTaskInfo", "namespace": "tasks._types" }, "properties": [ { "name": "children", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TaskInfo", "namespace": "tasks._types" } } } } ], "specLocation": "tasks/_types/TaskListResponseBase.ts#L45-L47" }, { "kind": "interface", "name": { "name": "TaskInfo", "namespace": "tasks._types" }, "properties": [ { "name": "action", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "cancelled", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "cancellable", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "headers", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeId", "namespace": "_types" } } }, { "name": "running_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "running_time_in_nanos", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitNanos", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "start_time_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "Task status information can vary wildly from task to task.", "name": "status", "required": false, "type": { "kind": "user_defined_value" } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "parent_task_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "TaskId", "namespace": "_types" } } } ], "specLocation": "tasks/_types/TaskInfo.ts#L32-L47" }, { "codegenNames": [ "flat", "grouped" ], "kind": "type_alias", "name": { "name": "TaskInfos", "namespace": "tasks._types" }, "specLocation": "tasks/_types/TaskListResponseBase.ts#L40-L43", "type": { "items": [ { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TaskInfo", "namespace": "tasks._types" } } }, { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ParentTaskInfo", "namespace": "tasks._types" } } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "TaskListResponseBase", "namespace": "tasks._types" }, "properties": [ { "name": "node_failures", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } } }, { "name": "task_failures", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TaskFailure", "namespace": "_types" } } } }, { "description": "Task information grouped by node, if `group_by` was set to `node` (the default).", "name": "nodes", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "NodeTasks", "namespace": "tasks._types" } } } }, { "description": "Either a flat list of tasks if `group_by` was set to `none`, or grouped by parents if\n`group_by` was set to `parents`.", "name": "tasks", "required": false, "type": { "kind": "instance_of", "type": { "name": "TaskInfos", "namespace": "tasks._types" } } } ], "specLocation": "tasks/_types/TaskListResponseBase.ts#L26-L38" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Cancels a task, if it can be cancelled through an API.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "tasks.cancel" }, "path": [ { "description": "ID of the task.", "name": "task_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "TaskId", "namespace": "_types" } } } ], "query": [ { "description": "Comma-separated list or wildcard expression of actions used to limit the request.", "name": "actions", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } }, { "description": "Comma-separated list of node IDs or names used to limit the request.", "name": "nodes", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Parent task ID used to limit the tasks.", "name": "parent_task_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Should the request block until the cancellation of the task and its descendant tasks is completed. Defaults to false", "name": "wait_for_completion", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "tasks/cancel/CancelTasksRequest.ts#L23-L51" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "TaskListResponseBase", "namespace": "tasks._types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "tasks.cancel" }, "specLocation": "tasks/cancel/CancelTasksResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Returns information about a task.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "tasks.get" }, "path": [ { "description": "ID of the task.", "name": "task_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If `true`, the request blocks until the task has completed.", "name": "wait_for_completion", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "tasks/get/GetTaskRequest.ts#L24-L50" }, { "body": { "kind": "properties", "properties": [ { "name": "completed", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "task", "required": true, "type": { "kind": "instance_of", "type": { "name": "TaskInfo", "namespace": "tasks._types" } } }, { "name": "response", "required": false, "type": { "kind": "user_defined_value" } }, { "name": "error", "required": false, "type": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "tasks.get" }, "specLocation": "tasks/get/GetTaskResponse.ts#L24-L31" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "The task management API returns information about tasks currently executing on one or more nodes in the cluster.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "tasks.list" }, "path": [], "query": [ { "description": "Comma-separated list or wildcard expression of actions used to limit the request.", "name": "actions", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } }, { "description": "If `true`, the response includes detailed information about shard recoveries.", "name": "detailed", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Key used to group tasks in the response.", "name": "group_by", "required": false, "type": { "kind": "instance_of", "type": { "name": "GroupBy", "namespace": "tasks._types" } } }, { "description": "Comma-separated list of node IDs or names used to limit returned information.", "name": "node_id", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "Parent task ID used to limit returned information. To return all tasks, omit this parameter or use a value of `-1`.", "name": "parent_task_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If `true`, the request blocks until the operation is complete.", "name": "wait_for_completion", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "tasks/list/ListTasksRequest.ts#L25-L72" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "TaskListResponseBase", "namespace": "tasks._types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "tasks.list" }, "specLocation": "tasks/list/ListTasksResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "FieldStat", "namespace": "text_structure.find_structure" }, "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "cardinality", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "top_hits", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TopHit", "namespace": "text_structure.find_structure" } } } }, { "name": "mean_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "median_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "max_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "min_value", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "earliest", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "latest", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "text_structure/find_structure/types.ts#L23-L33" }, { "body": { "codegenName": "text_files", "kind": "value", "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TJsonDocument", "namespace": "text_structure.find_structure" } } } }, "description": "Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch.", "generics": [ { "name": "TJsonDocument", "namespace": "text_structure.find_structure" } ], "kind": "request", "name": { "name": "Request", "namespace": "text_structure.find_structure" }, "path": [], "query": [ { "description": "The text’s character set. It must be a character set that is supported by the JVM that Elasticsearch uses. For example, UTF-8, UTF-16LE, windows-1252, or EUC-JP. If this parameter is not specified, the structure finder chooses an appropriate character set.", "name": "charset", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If you have set format to delimited, you can specify the column names in a comma-separated list. If this parameter is not specified, the structure finder uses the column names from the header row of the text. If the text does not have a header role, columns are named \"column1\", \"column2\", \"column3\", etc.", "name": "column_names", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If you have set format to delimited, you can specify the character used to delimit the values in each row. Only a single character is supported; the delimiter cannot have multiple characters. By default, the API considers the following possibilities: comma, tab, semi-colon, and pipe (|). In this default scenario, all rows must have the same number of fields for the delimited format to be detected. If you specify a delimiter, up to 10% of the rows can have a different number of columns than the first row.", "name": "delimiter", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The mode of compatibility with ECS compliant Grok patterns (disabled or v1, default: disabled).", "name": "ecs_compatibility", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If this parameter is set to true, the response includes a field named explanation, which is an array of strings that indicate how the structure finder produced its result.", "name": "explain", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The high level structure of the text. Valid values are ndjson, xml, delimited, and semi_structured_text. By default, the API chooses the format. In this default scenario, all rows must have the same number of fields for a delimited format to be detected. If the format is set to delimited and the delimiter is not set, however, the API tolerates up to 5% of rows that have a different number of columns than the first row.", "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If you have set format to semi_structured_text, you can specify a Grok pattern that is used to extract fields from every message in the text. The name of the timestamp field in the Grok pattern must match what is specified in the timestamp_field parameter. If that parameter is not specified, the name of the timestamp field in the Grok pattern must match \"timestamp\". If grok_pattern is not specified, the structure finder creates a Grok pattern.", "name": "grok_pattern", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If you have set format to delimited, you can use this parameter to indicate whether the column names are in the first row of the text. If this parameter is not specified, the structure finder guesses based on the similarity of the first row of the text to other rows.", "name": "has_header_row", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "The maximum number of characters in a message when lines are merged to form messages while analyzing semi-structured text. If you have extremely long messages you may need to increase this, but be aware that this may lead to very long processing times if the way to group lines into messages is misdetected.", "name": "line_merge_size_limit", "required": false, "serverDefault": 10000, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "description": "The number of lines to include in the structural analysis, starting from the beginning of the text. The minimum is 2; If the value of this parameter is greater than the number of lines in the text, the analysis proceeds (as long as there are at least two lines in the text) for all of the lines.", "name": "lines_to_sample", "required": false, "serverDefault": 1000, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "description": "If you have set format to delimited, you can specify the character used to quote the values in each row if they contain newlines or the delimiter character. Only a single character is supported. If this parameter is not specified, the default value is a double quote (\"). If your delimited text format does not use quoting, a workaround is to set this argument to a character that does not appear anywhere in the sample.", "name": "quote", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "If you have set format to delimited, you can specify whether values between delimiters should have whitespace trimmed from them. If this parameter is not specified and the delimiter is pipe (|), the default value is true. Otherwise, the default value is false.", "name": "should_trim_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Sets the maximum amount of time that the structure analysis make take. If the analysis is still running when the timeout expires then it will be aborted.", "name": "timeout", "required": false, "serverDefault": "25s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Optional parameter to specify the timestamp field in the file", "name": "timestamp_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "The Java time format of the timestamp field in the text.", "name": "timestamp_format", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "text_structure/find_structure/FindStructureRequest.ts#L24-L75" }, { "body": { "kind": "properties", "properties": [ { "name": "charset", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "has_header_row", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "has_byte_order_marker", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "format", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "field_stats", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "FieldStat", "namespace": "text_structure.find_structure" } } } }, { "name": "sample_start", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "num_messages_analyzed", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "mappings", "required": true, "type": { "kind": "instance_of", "type": { "name": "TypeMapping", "namespace": "_types.mapping" } } }, { "name": "quote", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "delimiter", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "need_client_timezone", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "num_lines_analyzed", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "column_names", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "explanation", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "grok_pattern", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "multiline_start_pattern", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "exclude_lines_pattern", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "java_timestamp_formats", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "joda_timestamp_formats", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "timestamp_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "should_trim_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "ingest_pipeline", "required": true, "type": { "kind": "instance_of", "type": { "name": "PipelineConfig", "namespace": "ingest._types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "text_structure.find_structure" }, "specLocation": "text_structure/find_structure/FindStructureResponse.ts#L27-L52" }, { "kind": "interface", "name": { "name": "TopHit", "namespace": "text_structure.find_structure" }, "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "value", "required": true, "type": { "kind": "user_defined_value" } } ], "specLocation": "text_structure/find_structure/types.ts#L35-L38" }, { "kind": "interface", "name": { "name": "MatchedField", "namespace": "text_structure.test_grok_pattern" }, "properties": [ { "name": "match", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "offset", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "length", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "text_structure/test_grok_pattern/types.ts#L23-L27" }, { "kind": "interface", "name": { "name": "MatchedText", "namespace": "text_structure.test_grok_pattern" }, "properties": [ { "name": "matched", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "fields", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "MatchedField", "namespace": "text_structure.test_grok_pattern" } } } } } ], "specLocation": "text_structure/test_grok_pattern/types.ts#L29-L32" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Grok pattern to run on the text.", "name": "grok_pattern", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "Lines of text to run the Grok pattern on.", "name": "text", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ] }, "description": "Tests a Grok pattern on some text.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "text_structure.test_grok_pattern" }, "path": [], "query": [ { "description": "The mode of compatibility with ECS compliant Grok patterns (disabled or v1, default: disabled).", "name": "ecs_compatibility", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "text_structure/test_grok_pattern/TestGrokPatternRequest.ts#L22-L43" }, { "body": { "kind": "properties", "properties": [ { "name": "matches", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "MatchedText", "namespace": "text_structure.test_grok_pattern" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "text_structure.test_grok_pattern" }, "specLocation": "text_structure/test_grok_pattern/TestGrokPatternResponse.ts#L22-L26" }, { "kind": "interface", "name": { "name": "Destination", "namespace": "transform._types" }, "properties": [ { "description": "The destination index for the transform. The mappings of the destination index are deduced based on the source\nfields when possible. If alternate mappings are required, use the create index API prior to starting the\ntransform.", "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "description": "The unique identifier for an ingest pipeline.", "name": "pipeline", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "transform/_types/Transform.ts#L34-L45" }, { "kind": "interface", "name": { "name": "Latest", "namespace": "transform._types" }, "properties": [ { "description": "Specifies the date field that is used to identify the latest documents.", "name": "sort", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Specifies an array of one or more fields that are used to group the data.", "name": "unique_key", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } } ], "specLocation": "transform/_types/Transform.ts#L47-L52" }, { "kind": "interface", "name": { "name": "Pivot", "namespace": "transform._types" }, "properties": [ { "aliases": [ "aggs" ], "description": "Defines how to aggregate the grouped data. The following aggregations are currently supported: average, bucket\nscript, bucket selector, cardinality, filter, geo bounds, geo centroid, geo line, max, median absolute deviation,\nmin, missing, percentiles, rare terms, scripted metric, stats, sum, terms, top metrics, value count, weighted\naverage.", "name": "aggregations", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "AggregationContainer", "namespace": "_types.aggregations" } } } }, { "description": "Defines how to group the data. More than one grouping can be defined per pivot. The following groupings are\ncurrently supported: date histogram, geotile grid, histogram, terms.", "name": "group_by", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "PivotGroupByContainer", "namespace": "transform._types" } } } } ], "specLocation": "transform/_types/Transform.ts#L54-L68" }, { "kind": "interface", "name": { "name": "PivotGroupByContainer", "namespace": "transform._types" }, "properties": [ { "name": "date_histogram", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateHistogramAggregation", "namespace": "_types.aggregations" } } }, { "name": "geotile_grid", "required": false, "type": { "kind": "instance_of", "type": { "name": "GeoTileGridAggregation", "namespace": "_types.aggregations" } } }, { "name": "histogram", "required": false, "type": { "kind": "instance_of", "type": { "name": "HistogramAggregation", "namespace": "_types.aggregations" } } }, { "name": "terms", "required": false, "type": { "kind": "instance_of", "type": { "name": "TermsAggregation", "namespace": "_types.aggregations" } } } ], "specLocation": "transform/_types/Transform.ts#L70-L78", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "RetentionPolicy", "namespace": "transform._types" }, "properties": [ { "description": "The date field that is used to calculate the age of the document.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "description": "Specifies the maximum age of a document in the destination index. Documents that are older than the configured\nvalue are removed from the destination index.", "name": "max_age", "required": true, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "transform/_types/Transform.ts#L88-L96" }, { "kind": "interface", "name": { "name": "RetentionPolicyContainer", "namespace": "transform._types" }, "properties": [ { "description": "Specifies that the transform uses a time field to set the retention policy.", "name": "time", "required": false, "type": { "kind": "instance_of", "type": { "name": "RetentionPolicy", "namespace": "transform._types" } } } ], "specLocation": "transform/_types/Transform.ts#L80-L86", "variants": { "kind": "container" } }, { "description": "The source of the data for the transform.", "kind": "interface", "name": { "name": "Settings", "namespace": "transform._types" }, "properties": [ { "description": "Specifies whether the transform checkpoint ranges should be optimized for performance. Such optimization can align\ncheckpoint ranges with the date histogram interval when date histogram is specified as a group source in the\ntransform config. As a result, less document updates in the destination index will be performed thus improving\noverall performance.", "name": "align_checkpoints", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Defines if dates in the ouput should be written as ISO formatted string or as millis since epoch. epoch_millis was\nthe default for transforms created before version 7.11. For compatible output set this value to `true`.", "name": "dates_as_epoch_millis", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies whether the transform should deduce the destination index mappings from the transform configuration.", "name": "deduce_mappings", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Specifies a limit on the number of input documents per second. This setting throttles the transform by adding a\nwait time between search requests. The default value is null, which disables throttling.", "name": "docs_per_second", "required": false, "type": { "kind": "instance_of", "type": { "name": "float", "namespace": "_types" } } }, { "description": "Defines the initial page size to use for the composite aggregation for each checkpoint. If circuit breaker\nexceptions occur, the page size is dynamically adjusted to a lower value. The minimum value is `10` and the\nmaximum is `65,536`.", "name": "max_page_search_size", "required": false, "serverDefault": 500, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.5.0" } }, "description": "If `true`, the transform runs in unattended mode. In unattended mode, the transform retries indefinitely in case\nof an error which means the transform never fails. Setting the number of retries other than infinite fails in\nvalidation.", "name": "unattended", "required": false, "serverDefault": false, "since": "8.5.0", "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "transform/_types/Transform.ts#L98-L144" }, { "kind": "interface", "name": { "name": "Source", "namespace": "transform._types" }, "properties": [ { "description": "The source indices for the transform. It can be a single index, an index pattern (for example, `\"my-index-*\"\"`), an\narray of indices (for example, `[\"my-index-000001\", \"my-index-000002\"]`), or an array of index patterns (for\nexample, `[\"my-index-*\", \"my-other-index-*\"]`. For remote indices use the syntax `\"remote_name:index_name\"`. If\nany indices are in remote clusters then the master node and at least one transform node must have the `remote_cluster_client` node role.", "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "Indices", "namespace": "_types" } } }, { "description": "A query clause that retrieves a subset of data from the source index.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.12.0" } }, "description": "Definitions of search-time runtime fields that can be used by the transform. For search runtime fields all data\nnodes, including remote nodes, must be 7.12 or later.", "name": "runtime_mappings", "required": false, "since": "7.12.0", "type": { "kind": "instance_of", "type": { "name": "RuntimeFields", "namespace": "_types.mapping" } } } ], "specLocation": "transform/_types/Transform.ts#L146-L165" }, { "kind": "interface", "name": { "name": "SyncContainer", "namespace": "transform._types" }, "properties": [ { "description": "Specifies that the transform uses a time field to synchronize the source and destination indices.", "name": "time", "required": false, "type": { "kind": "instance_of", "type": { "name": "TimeSync", "namespace": "transform._types" } } } ], "specLocation": "transform/_types/Transform.ts#L169-L175", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "TimeSync", "namespace": "transform._types" }, "properties": [ { "description": "The time delay between the current time and the latest input data time.", "name": "delay", "required": false, "serverDefault": "60s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The date field that is used to identify new documents in the source. In general, it’s a good idea to use a field\nthat contains the ingest timestamp. If you use a different field, you might need to set the delay such that it\naccounts for data transmission delays.", "name": "field", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "transform/_types/Transform.ts#L177-L189" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deletes a transform.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "transform.delete_transform" }, "path": [ { "description": "Identifier for the transform.", "name": "transform_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "If this value is false, the transform must be stopped before it can be deleted. If true, the transform is\ndeleted regardless of its current state.", "name": "force", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If this value is true, the destination index is deleted together with the transform. If false, the destination\nindex will not be deleted", "name": "delete_dest_index", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "transform/delete_transform/DeleteTransformRequest.ts#L24-L57" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "transform.delete_transform" }, "specLocation": "transform/delete_transform/DeleteTransformResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves configuration information for transforms.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "transform.get_transform" }, "path": [ { "description": "Identifier for the transform. It can be a transform identifier or a\nwildcard expression. You can get information for all transforms by using\n`_all`, by specifying `*` as the ``, or by omitting the\n``.", "name": "transform_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no transforms that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf this parameter is false, the request returns a 404 status code when\nthere are no matches or only partial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Skips the specified number of transforms.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Specifies the maximum number of transforms to obtain.", "name": "size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Excludes fields that were automatically added when creating the\ntransform. This allows the configuration to be in an acceptable format to\nbe retrieved and then added to another cluster.", "name": "exclude_generated", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "transform/get_transform/GetTransformRequest.ts#L24-L72" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "transforms", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TransformSummary", "namespace": "transform.get_transform" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "transform.get_transform" }, "specLocation": "transform/get_transform/GetTransformResponse.ts#L23-L25" }, { "kind": "interface", "name": { "name": "TransformSummary", "namespace": "transform.get_transform" }, "properties": [ { "description": "The security privileges that the transform uses to run its queries. If Elastic Stack security features were disabled at the time of the most recent update to the transform, this property is omitted.", "name": "authorization", "required": false, "type": { "kind": "instance_of", "type": { "name": "TransformAuthorization", "namespace": "ml._types" } } }, { "description": "The time the transform was created.", "name": "create_time", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "description": "Free text description of the transform.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The destination for the transform.", "name": "dest", "required": true, "type": { "kind": "instance_of", "type": { "name": "Destination", "namespace": "_global.reindex" } } }, { "name": "frequency", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "latest", "required": false, "type": { "kind": "instance_of", "type": { "name": "Latest", "namespace": "transform._types" } } }, { "description": "The pivot method transforms the data by aggregating and grouping it.", "name": "pivot", "required": false, "type": { "kind": "instance_of", "type": { "name": "Pivot", "namespace": "transform._types" } } }, { "name": "retention_policy", "required": false, "type": { "kind": "instance_of", "type": { "name": "RetentionPolicyContainer", "namespace": "transform._types" } } }, { "description": "Defines optional transform settings.", "name": "settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "Settings", "namespace": "transform._types" } } }, { "description": "The source of the data for the transform.", "name": "source", "required": true, "type": { "kind": "instance_of", "type": { "name": "Source", "namespace": "transform._types" } } }, { "description": "Defines the properties transforms require to run continuously.", "name": "sync", "required": false, "type": { "kind": "instance_of", "type": { "name": "SyncContainer", "namespace": "transform._types" } } }, { "description": "The version of Elasticsearch that existed on the node when the transform was created.", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "_meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } } ], "specLocation": "transform/get_transform/types.ts#L33-L61" }, { "kind": "interface", "name": { "name": "CheckpointStats", "namespace": "transform.get_transform_stats" }, "properties": [ { "name": "checkpoint", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "checkpoint_progress", "required": false, "type": { "kind": "instance_of", "type": { "name": "TransformProgress", "namespace": "transform.get_transform_stats" } } }, { "name": "timestamp", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "timestamp_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "time_upper_bound", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "time_upper_bound_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } } ], "specLocation": "transform/get_transform_stats/types.ts#L76-L83" }, { "kind": "interface", "name": { "name": "Checkpointing", "namespace": "transform.get_transform_stats" }, "properties": [ { "name": "changes_last_detected_at", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "changes_last_detected_at_date_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "last", "required": true, "type": { "kind": "instance_of", "type": { "name": "CheckpointStats", "namespace": "transform.get_transform_stats" } } }, { "name": "next", "required": false, "type": { "kind": "instance_of", "type": { "name": "CheckpointStats", "namespace": "transform.get_transform_stats" } } }, { "name": "operations_behind", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "last_search_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "transform/get_transform_stats/types.ts#L85-L92" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves usage information for transforms.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "transform.get_transform_stats" }, "path": [ { "description": "Identifier for the transform. It can be a transform identifier or a\nwildcard expression. You can get information for all transforms by using\n`_all`, by specifying `*` as the ``, or by omitting the\n``.", "name": "transform_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request:\n\n1. Contains wildcard expressions and there are no transforms that match.\n2. Contains the _all string or no identifiers and there are no matches.\n3. Contains wildcard expressions and there are only partial matches.\n\nIf this parameter is false, the request returns a 404 status code when\nthere are no matches or only partial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Skips the specified number of transforms.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Specifies the maximum number of transforms to obtain.", "name": "size", "required": false, "serverDefault": 100, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "Controls the time to wait for the stats", "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "transform/get_transform_stats/GetTransformStatsRequest.ts#L25-L68" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "transforms", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TransformStats", "namespace": "transform.get_transform_stats" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "transform.get_transform_stats" }, "specLocation": "transform/get_transform_stats/GetTransformStatsResponse.ts#L23-L25" }, { "kind": "interface", "name": { "name": "TransformIndexerStats", "namespace": "transform.get_transform_stats" }, "properties": [ { "name": "delete_time_in_ms", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "documents_indexed", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "documents_deleted", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "documents_processed", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "exponential_avg_checkpoint_duration_ms", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitFloatMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "exponential_avg_documents_indexed", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "exponential_avg_documents_processed", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "index_failures", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "index_time_in_ms", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "index_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "pages_processed", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "processing_time_in_ms", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "processing_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "search_failures", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "search_time_in_ms", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "search_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "trigger_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "transform/get_transform_stats/types.ts#L56-L74" }, { "kind": "interface", "name": { "name": "TransformProgress", "namespace": "transform.get_transform_stats" }, "properties": [ { "name": "docs_indexed", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "docs_processed", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "docs_remaining", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "percent_complete", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } }, { "name": "total_docs", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "transform/get_transform_stats/types.ts#L48-L54" }, { "kind": "interface", "name": { "name": "TransformStats", "namespace": "transform.get_transform_stats" }, "properties": [ { "name": "checkpointing", "required": true, "type": { "kind": "instance_of", "type": { "name": "Checkpointing", "namespace": "transform.get_transform_stats" } } }, { "name": "health", "required": false, "type": { "kind": "instance_of", "type": { "name": "TransformStatsHealth", "namespace": "transform.get_transform_stats" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "availability": { "stack": {} }, "name": "node", "required": false, "type": { "kind": "instance_of", "type": { "name": "NodeAttributes", "namespace": "_types" } } }, { "name": "reason", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "TransformIndexerStats", "namespace": "transform.get_transform_stats" } } } ], "specLocation": "transform/get_transform_stats/types.ts#L31-L42" }, { "kind": "interface", "name": { "name": "TransformStatsHealth", "namespace": "transform.get_transform_stats" }, "properties": [ { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "HealthStatus", "namespace": "_types" } } } ], "specLocation": "transform/get_transform_stats/types.ts#L44-L46" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The destination for the transform.", "name": "dest", "required": false, "type": { "kind": "instance_of", "type": { "name": "Destination", "namespace": "transform._types" } } }, { "description": "Free text description of the transform.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The interval between checks for changes in the source indices when the\ntransform is running continuously. Also determines the retry interval in\nthe event of transient failures while the transform is searching or\nindexing. The minimum value is 1s and the maximum is 1h.", "name": "frequency", "required": false, "serverDefault": "1m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The pivot method transforms the data by aggregating and grouping it.\nThese objects define the group by fields and the aggregation to reduce\nthe data.", "name": "pivot", "required": false, "type": { "kind": "instance_of", "type": { "name": "Pivot", "namespace": "transform._types" } } }, { "description": "The source of the data for the transform.", "name": "source", "required": false, "type": { "kind": "instance_of", "type": { "name": "Source", "namespace": "transform._types" } } }, { "description": "Defines optional transform settings.", "name": "settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "Settings", "namespace": "transform._types" } } }, { "description": "Defines the properties transforms require to run continuously.", "name": "sync", "required": false, "type": { "kind": "instance_of", "type": { "name": "SyncContainer", "namespace": "transform._types" } } }, { "description": "Defines a retention policy for the transform. Data that meets the defined\ncriteria is deleted from the destination index.", "name": "retention_policy", "required": false, "type": { "kind": "instance_of", "type": { "name": "RetentionPolicyContainer", "namespace": "transform._types" } } }, { "description": "The latest method transforms the data by finding the latest document for\neach unique key.", "name": "latest", "required": false, "type": { "kind": "instance_of", "type": { "name": "Latest", "namespace": "transform._types" } } } ] }, "description": "Previews a transform.\n\nIt returns a maximum of 100 results. The calculations are based on all the current data in the source index. It also\ngenerates a list of mappings and settings for the destination index. These values are determined based on the field\ntypes of the source index and the transform aggregations.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "transform.preview_transform" }, "path": [ { "description": "Identifier for the transform to preview. If you specify this path parameter, you cannot provide transform\nconfiguration details in the request body.", "name": "transform_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a response. If no response is received before the\ntimeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "transform/preview_transform/PreviewTransformRequest.ts#L33-L107" }, { "body": { "kind": "properties", "properties": [ { "name": "generated_dest_index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexState", "namespace": "indices._types" } } }, { "name": "preview", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TTransform", "namespace": "transform.preview_transform" } } } } ] }, "generics": [ { "name": "TTransform", "namespace": "transform.preview_transform" } ], "kind": "response", "name": { "name": "Response", "namespace": "transform.preview_transform" }, "specLocation": "transform/preview_transform/PreviewTransformResponse.ts#L22-L27" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The destination for the transform.", "name": "dest", "required": true, "type": { "kind": "instance_of", "type": { "name": "Destination", "namespace": "transform._types" } } }, { "description": "Free text description of the transform.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The interval between checks for changes in the source indices when the transform is running continuously. Also\ndetermines the retry interval in the event of transient failures while the transform is searching or indexing.\nThe minimum value is `1s` and the maximum is `1h`.", "name": "frequency", "required": false, "serverDefault": "1m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "The latest method transforms the data by finding the latest document for each unique key.", "name": "latest", "required": false, "type": { "kind": "instance_of", "type": { "name": "Latest", "namespace": "transform._types" } } }, { "description": "Defines optional transform metadata.", "name": "_meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "The pivot method transforms the data by aggregating and grouping it. These objects define the group by fields\nand the aggregation to reduce the data.", "name": "pivot", "required": false, "type": { "kind": "instance_of", "type": { "name": "Pivot", "namespace": "transform._types" } } }, { "description": "Defines a retention policy for the transform. Data that meets the defined criteria is deleted from the\ndestination index.", "name": "retention_policy", "required": false, "type": { "kind": "instance_of", "type": { "name": "RetentionPolicyContainer", "namespace": "transform._types" } } }, { "description": "Defines optional transform settings.", "name": "settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "Settings", "namespace": "transform._types" } } }, { "description": "The source of the data for the transform.", "name": "source", "required": true, "type": { "kind": "instance_of", "type": { "name": "Source", "namespace": "transform._types" } } }, { "description": "Defines the properties transforms require to run continuously.", "name": "sync", "required": false, "type": { "kind": "instance_of", "type": { "name": "SyncContainer", "namespace": "transform._types" } } } ] }, "description": "Creates a transform.\n\nA transform copies data from source indices, transforms it, and persists it into an entity-centric destination index. You can also think of the destination index as a two-dimensional tabular data structure (known as\na data frame). The ID for each document in the data frame is generated from a hash of the entity, so there is a\nunique row per entity.\n\nYou must choose either the latest or pivot method for your transform; you cannot use both in a single transform. If\nyou choose to use the pivot method for your transform, the entities are defined by the set of `group_by` fields in\nthe pivot object. If you choose to use the latest method, the entities are defined by the `unique_key` field values\nin the latest object.\n\nYou must have `create_index`, `index`, and `read` privileges on the destination index and `read` and\n`view_index_metadata` privileges on the source indices. When Elasticsearch security features are enabled, the\ntransform remembers which roles the user that created it had at the time of creation and uses those same roles. If\nthose roles do not have the required privileges on the source and destination indices, the transform fails when it\nattempts unauthorized operations.\n\nNOTE: You must use Kibana or this API to create a transform. Do not add a transform directly into any\n`.transform-internal*` indices using the Elasticsearch index API. If Elasticsearch security features are enabled, do\nnot give users any privileges on `.transform-internal*` indices. If you used transforms prior to 7.5, also do not\ngive users any privileges on `.data-frame-internal*` indices.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "transform.put_transform" }, "path": [ { "description": "Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It has a 64 character limit and must start and end with alphanumeric characters.", "name": "transform_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "When the transform is created, a series of validations occur to ensure its success. For example, there is a\ncheck for the existence of the source indices and a check that the destination index is not part of the source\nindex pattern. You can use this parameter to skip the checks, for example when the source index does not exist\nuntil after the transform is created. The validations are always run when you start the transform, however, with\nthe exception of privilege checks.", "name": "defer_validation", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "transform/put_transform/PutTransformRequest.ts#L33-L122" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "transform.put_transform" }, "specLocation": "transform/put_transform/PutTransformResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Resets a transform.\nBefore you can reset it, you must stop it; alternatively, use the `force` query parameter.\nIf the destination index was created by the transform, it is deleted.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "transform.reset_transform" }, "path": [ { "description": "Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9),\nhyphens, and underscores. It has a 64 character limit and must start and end with alphanumeric characters.", "name": "transform_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "If this value is `true`, the transform is reset regardless of its current state. If it's `false`, the transform\nmust be stopped before it can be reset.", "name": "force", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "transform/reset_transform/ResetTransformRequest.ts#L23-L48" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "transform.reset_transform" }, "specLocation": "transform/reset_transform/ResetTransformResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Schedules now a transform.\n\nIf you _schedule_now a transform, it will process the new data instantly,\nwithout waiting for the configured frequency interval. After _schedule_now API is called,\nthe transform will be processed again at now + frequency unless _schedule_now API\nis called again in the meantime.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "transform.schedule_now_transform" }, "path": [ { "description": "Identifier for the transform.", "name": "transform_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Controls the time to wait for the scheduling to take place", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "transform/schedule_now_transform/ScheduleNowTransformRequest.ts#L23-L49" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "transform.schedule_now_transform" }, "specLocation": "transform/schedule_now_transform/ScheduleNowTransformResponse.ts#L21-L23" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Starts a transform.\n\nWhen you start a transform, it creates the destination index if it does not already exist. The `number_of_shards` is\nset to `1` and the `auto_expand_replicas` is set to `0-1`. If it is a pivot transform, it deduces the mapping\ndefinitions for the destination index from the source indices and the transform aggregations. If fields in the\ndestination index are derived from scripts (as in the case of `scripted_metric` or `bucket_script` aggregations),\nthe transform uses dynamic mappings unless an index template exists. If it is a latest transform, it does not deduce\nmapping definitions; it uses dynamic mappings. To use explicit mappings, create the destination index before you\nstart the transform. Alternatively, you can create an index template, though it does not affect the deduced mappings\nin a pivot transform.\n\nWhen the transform starts, a series of validations occur to ensure its success. If you deferred validation when you\ncreated the transform, they occur when you start the transform—​with the exception of privilege checks. When\nElasticsearch security features are enabled, the transform remembers which roles the user that created it had at the\ntime of creation and uses those same roles. If those roles do not have the required privileges on the source and\ndestination indices, the transform fails when it attempts unauthorized operations.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "transform.start_transform" }, "path": [ { "description": "Identifier for the transform.", "name": "transform_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Restricts the set of transformed entities to those changed after this time. Relative times like now-30d are supported. Only applicable for continuous transforms.", "name": "from", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "transform/start_transform/StartTransformRequest.ts#L24-L65" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "transform.start_transform" }, "specLocation": "transform/start_transform/StartTransformResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Stops one or more transforms.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "transform.stop_transform" }, "path": [ { "description": "Identifier for the transform. To stop multiple transforms, use a comma-separated list or a wildcard expression.\nTo stop all transforms, use `_all` or `*` as the identifier.", "name": "transform_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [ { "description": "Specifies what to do when the request: contains wildcard expressions and there are no transforms that match;\ncontains the `_all` string or no identifiers and there are no matches; contains wildcard expressions and there\nare only partial matches.\n\nIf it is true, the API returns a successful acknowledgement message when there are no matches. When there are\nonly partial matches, the API stops the appropriate transforms.\n\nIf it is false, the request returns a 404 status code when there are no matches or only partial matches.", "name": "allow_no_match", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If it is true, the API forcefully stops the transforms.", "name": "force", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a response when `wait_for_completion` is `true`. If no response is received before the\ntimeout expires, the request returns a timeout exception. However, the request continues processing and\neventually moves the transform to a STOPPED state.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "If it is true, the transform does not completely stop until the current checkpoint is completed. If it is false,\nthe transform stops as soon as possible.", "name": "wait_for_checkpoint", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If it is true, the API blocks until the indexer state completely stops. If it is false, the API returns\nimmediately and the indexer is stopped asynchronously in the background.", "name": "wait_for_completion", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "transform/stop_transform/StopTransformRequest.ts#L24-L76" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "transform.stop_transform" }, "specLocation": "transform/stop_transform/StopTransformResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The destination for the transform.", "name": "dest", "required": false, "type": { "kind": "instance_of", "type": { "name": "Destination", "namespace": "transform._types" } } }, { "description": "Free text description of the transform.", "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "The interval between checks for changes in the source indices when the\ntransform is running continuously. Also determines the retry interval in\nthe event of transient failures while the transform is searching or\nindexing. The minimum value is 1s and the maximum is 1h.", "name": "frequency", "required": false, "serverDefault": "1m", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "Defines optional transform metadata.", "name": "_meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "description": "The source of the data for the transform.", "name": "source", "required": false, "type": { "kind": "instance_of", "type": { "name": "Source", "namespace": "transform._types" } } }, { "description": "Defines optional transform settings.", "name": "settings", "required": false, "type": { "kind": "instance_of", "type": { "name": "Settings", "namespace": "transform._types" } } }, { "description": "Defines the properties transforms require to run continuously.", "name": "sync", "required": false, "type": { "kind": "instance_of", "type": { "name": "SyncContainer", "namespace": "transform._types" } } }, { "description": "Defines a retention policy for the transform. Data that meets the defined\ncriteria is deleted from the destination index.", "name": "retention_policy", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "RetentionPolicyContainer", "namespace": "transform._types" } }, { "kind": "instance_of", "type": { "name": "null", "namespace": "_builtins" } } ], "kind": "union_of" } } ] }, "description": "Updates certain properties of a transform.\n\nAll updated properties except `description` do not take effect until after the transform starts the next checkpoint,\nthus there is data consistency in each checkpoint. To use this API, you must have `read` and `view_index_metadata`\nprivileges for the source indices. You must also have `index` and `read` privileges for the destination index. When\nElasticsearch security features are enabled, the transform remembers which roles the user who updated it had at the\ntime of update and runs with those privileges.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "transform.update_transform" }, "path": [ { "description": "Identifier for the transform.", "name": "transform_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "When true, deferrable validations are not run. This behavior may be\ndesired if the source index does not exist until after the transform is\ncreated.", "name": "defer_validation", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a response. If no response is received before the\ntimeout expires, the request fails and returns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "transform/update_transform/UpdateTransformRequest.ts#L31-L105" }, { "body": { "kind": "properties", "properties": [ { "name": "authorization", "required": false, "type": { "kind": "instance_of", "type": { "name": "TransformAuthorization", "namespace": "ml._types" } } }, { "name": "create_time", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "dest", "required": true, "type": { "kind": "instance_of", "type": { "name": "Destination", "namespace": "_global.reindex" } } }, { "name": "frequency", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "latest", "required": false, "type": { "kind": "instance_of", "type": { "name": "Latest", "namespace": "transform._types" } } }, { "name": "pivot", "required": false, "type": { "kind": "instance_of", "type": { "name": "Pivot", "namespace": "transform._types" } } }, { "name": "retention_policy", "required": false, "type": { "kind": "instance_of", "type": { "name": "RetentionPolicyContainer", "namespace": "transform._types" } } }, { "name": "settings", "required": true, "type": { "kind": "instance_of", "type": { "name": "Settings", "namespace": "transform._types" } } }, { "name": "source", "required": true, "type": { "kind": "instance_of", "type": { "name": "Source", "namespace": "_global.reindex" } } }, { "name": "sync", "required": false, "type": { "kind": "instance_of", "type": { "name": "SyncContainer", "namespace": "transform._types" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } }, { "name": "_meta", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "transform.update_transform" }, "specLocation": "transform/update_transform/UpdateTransformResponse.ts#L33-L51" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Upgrades all transforms.\nThis API identifies transforms that have a legacy configuration format and upgrades them to the latest version. It\nalso cleans up the internal data structures that store the transform state and checkpoints. The upgrade does not\naffect the source and destination indices. The upgrade also does not affect the roles that transforms use when\nElasticsearch security features are enabled; the role used to read source data and write to the destination index\nremains unchanged.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "transform.upgrade_transforms" }, "path": [], "query": [ { "description": "When true, the request checks for updates but does not run them.", "name": "dry_run", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and\nreturns an error.", "name": "timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "transform/upgrade_transforms/UpgradeTransformsRequest.ts#L23-L49" }, { "body": { "kind": "properties", "properties": [ { "description": "The number of transforms that need to be upgraded.", "name": "needs_update", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of transforms that don’t require upgrading.", "name": "no_action", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of transforms that have been upgraded.", "name": "updated", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "transform.upgrade_transforms" }, "specLocation": "transform/upgrade_transforms/UpgradeTransformsResponse.ts#L25-L34" }, { "kind": "interface", "name": { "name": "AcknowledgeState", "namespace": "watcher._types" }, "properties": [ { "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "AcknowledgementOptions", "namespace": "watcher._types" } } }, { "name": "timestamp", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Action.ts#L115-L118" }, { "kind": "enum", "members": [ { "name": "awaits_successful_execution" }, { "name": "ackable" }, { "name": "acked" } ], "name": { "name": "AcknowledgementOptions", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Action.ts#L109-L113" }, { "kind": "interface", "name": { "name": "Action", "namespace": "watcher._types" }, "properties": [ { "name": "action_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "ActionType", "namespace": "watcher._types" } } }, { "name": "condition", "required": false, "type": { "kind": "instance_of", "type": { "name": "ConditionContainer", "namespace": "watcher._types" } } }, { "name": "foreach", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "max_iterations", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "name", "required": false, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "throttle_period", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "throttle_period_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "transform", "required": false, "type": { "kind": "instance_of", "type": { "name": "TransformContainer", "namespace": "_types" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexAction", "namespace": "watcher._types" } } }, { "name": "logging", "required": false, "type": { "kind": "instance_of", "type": { "name": "LoggingAction", "namespace": "watcher._types" } } }, { "name": "email", "required": false, "type": { "kind": "instance_of", "type": { "name": "EmailAction", "namespace": "watcher._types" } } }, { "name": "pagerduty", "required": false, "type": { "kind": "instance_of", "type": { "name": "PagerDutyAction", "namespace": "watcher._types" } } }, { "name": "slack", "required": false, "type": { "kind": "instance_of", "type": { "name": "SlackAction", "namespace": "watcher._types" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.14.0" } }, "name": "webhook", "required": false, "since": "7.14.0", "type": { "kind": "instance_of", "type": { "name": "WebhookAction", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Action.ts#L41-L60" }, { "kind": "enum", "members": [ { "description": "The action execution is simulated. Each action type defines its own simulation operation mode. For example, the email action creates the email that would have been sent but does not actually send it. In this mode, the action might be throttled if the current state of the watch indicates it should be.", "name": "simulate" }, { "description": "Similar to the `simulate` mode, except the action is not throttled even if the current state of the watch indicates it should be.", "name": "force_simulate" }, { "description": "Executes the action as it would have been executed if the watch had been triggered by its own trigger. The execution might be throttled if the current state of the watch indicates it should be.", "name": "execute" }, { "description": "Similar to the `execute` mode, except the action is not throttled even if the current state of the watch indicates it should be.", "name": "force_execute" }, { "description": "The action is skipped and is not executed or simulated. Effectively forces the action to be throttled.", "name": "skip" } ], "name": { "name": "ActionExecutionMode", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Action.ts#L73-L94" }, { "kind": "interface", "name": { "name": "ActionStatus", "namespace": "watcher._types" }, "properties": [ { "name": "ack", "required": true, "type": { "kind": "instance_of", "type": { "name": "AcknowledgeState", "namespace": "watcher._types" } } }, { "name": "last_execution", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExecutionState", "namespace": "watcher._types" } } }, { "name": "last_successful_execution", "required": false, "type": { "kind": "instance_of", "type": { "name": "ExecutionState", "namespace": "watcher._types" } } }, { "name": "last_throttle", "required": false, "type": { "kind": "instance_of", "type": { "name": "ThrottleState", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Action.ts#L131-L136" }, { "kind": "enum", "members": [ { "name": "success" }, { "name": "failure" }, { "name": "simulated" }, { "name": "throttled" } ], "name": { "name": "ActionStatusOptions", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Action.ts#L102-L107" }, { "kind": "enum", "members": [ { "name": "email" }, { "name": "webhook" }, { "name": "index" }, { "name": "logging" }, { "name": "slack" }, { "name": "pagerduty" } ], "name": { "name": "ActionType", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Action.ts#L64-L71" }, { "kind": "type_alias", "name": { "name": "Actions", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Action.ts#L62-L62", "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ActionStatus", "namespace": "watcher._types" } } } }, { "kind": "interface", "name": { "name": "ActivationState", "namespace": "watcher._types" }, "properties": [ { "name": "active", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "timestamp", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Activation.ts#L24-L27" }, { "kind": "interface", "name": { "name": "ActivationStatus", "namespace": "watcher._types" }, "properties": [ { "name": "actions", "required": true, "type": { "kind": "instance_of", "type": { "name": "Actions", "namespace": "watcher._types" } } }, { "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "ActivationState", "namespace": "watcher._types" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Activation.ts#L29-L33" }, { "kind": "interface", "name": { "name": "AlwaysCondition", "namespace": "watcher._types" }, "properties": [], "specLocation": "watcher/_types/Conditions.ts#L25-L25" }, { "attachedBehaviors": [ "AdditionalProperty" ], "behaviors": [ { "generics": [ { "kind": "instance_of", "type": { "name": "ConditionOp", "namespace": "watcher._types" } }, { "kind": "instance_of", "type": { "name": "ArrayCompareOpParams", "namespace": "watcher._types" } } ], "type": { "name": "AdditionalProperty", "namespace": "_spec_utils" } } ], "kind": "interface", "name": { "name": "ArrayCompareCondition", "namespace": "watcher._types" }, "properties": [ { "name": "path", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "watcher/_types/Conditions.ts#L32-L36" }, { "kind": "interface", "name": { "name": "ArrayCompareOpParams", "namespace": "watcher._types" }, "properties": [ { "name": "quantifier", "required": true, "type": { "kind": "instance_of", "type": { "name": "Quantifier", "namespace": "watcher._types" } } }, { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "FieldValue", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Conditions.ts#L27-L30" }, { "kind": "interface", "name": { "name": "ChainInput", "namespace": "watcher._types" }, "properties": [ { "name": "inputs", "required": true, "type": { "kind": "array_of", "value": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "InputContainer", "namespace": "watcher._types" } } } } } ], "specLocation": "watcher/_types/Input.ts#L35-L37" }, { "kind": "interface", "name": { "name": "ConditionContainer", "namespace": "watcher._types" }, "properties": [ { "name": "always", "required": false, "type": { "kind": "instance_of", "type": { "name": "AlwaysCondition", "namespace": "watcher._types" } } }, { "name": "array_compare", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "ArrayCompareCondition", "namespace": "watcher._types" } } } }, { "name": "compare", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": true, "value": { "key": { "kind": "instance_of", "type": { "name": "ConditionOp", "namespace": "watcher._types" } }, "kind": "dictionary_of", "singleKey": true, "value": { "kind": "instance_of", "type": { "name": "FieldValue", "namespace": "_types" } } } } }, { "name": "never", "required": false, "type": { "kind": "instance_of", "type": { "name": "NeverCondition", "namespace": "watcher._types" } } }, { "name": "script", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScriptCondition", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Conditions.ts#L47-L59", "variants": { "kind": "container" } }, { "kind": "enum", "members": [ { "name": "not_eq" }, { "name": "eq" }, { "name": "lt" }, { "name": "gt" }, { "name": "lte" }, { "name": "gte" } ], "name": { "name": "ConditionOp", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Conditions.ts#L38-L45" }, { "kind": "enum", "members": [ { "name": "always" }, { "name": "never" }, { "name": "script" }, { "name": "compare" }, { "name": "array_compare" } ], "name": { "name": "ConditionType", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Conditions.ts#L61-L67" }, { "kind": "enum", "members": [ { "name": "http" }, { "name": "https" } ], "name": { "name": "ConnectionScheme", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Input.ts#L39-L42" }, { "docId": "cron-expressions", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/api-conventions.html#api-cron-expressions", "kind": "type_alias", "name": { "name": "CronExpression", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Schedule.ts#L27-L30", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "kind": "interface", "name": { "name": "DailySchedule", "namespace": "watcher._types" }, "properties": [ { "name": "at", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ScheduleTimeOfDay", "namespace": "watcher._types" } } } } ], "specLocation": "watcher/_types/Schedule.ts#L33-L35" }, { "kind": "enum", "members": [ { "name": "json" }, { "name": "yaml" } ], "name": { "name": "DataAttachmentFormat", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Actions.ts#L187-L190" }, { "kind": "interface", "name": { "name": "DataEmailAttachment", "namespace": "watcher._types" }, "properties": [ { "name": "format", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataAttachmentFormat", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Actions.ts#L234-L236" }, { "kind": "enum", "members": [ { "name": "sunday" }, { "name": "monday" }, { "name": "tuesday" }, { "name": "wednesday" }, { "name": "thursday" }, { "name": "friday" }, { "name": "saturday" } ], "name": { "name": "Day", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Schedule.ts#L37-L45" }, { "kind": "interface", "name": { "name": "Email", "namespace": "watcher._types" }, "properties": [ { "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "bcc", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "body", "required": false, "type": { "kind": "instance_of", "type": { "name": "EmailBody", "namespace": "watcher._types" } } }, { "name": "cc", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "from", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "priority", "required": false, "type": { "kind": "instance_of", "type": { "name": "EmailPriority", "namespace": "watcher._types" } } }, { "name": "reply_to", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "sent_date", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "subject", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "to", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "attachments", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "EmailAttachmentContainer", "namespace": "watcher._types" } } } } ], "specLocation": "watcher/_types/Actions.ts#L238-L250" }, { "inherits": { "type": { "name": "Email", "namespace": "watcher._types" } }, "kind": "interface", "name": { "name": "EmailAction", "namespace": "watcher._types" }, "properties": [], "specLocation": "watcher/_types/Actions.ts#L252-L252" }, { "kind": "interface", "name": { "name": "EmailAttachmentContainer", "namespace": "watcher._types" }, "properties": [ { "name": "http", "required": false, "type": { "kind": "instance_of", "type": { "name": "HttpEmailAttachment", "namespace": "watcher._types" } } }, { "name": "reporting", "required": false, "type": { "kind": "instance_of", "type": { "name": "ReportingEmailAttachment", "namespace": "watcher._types" } } }, { "name": "data", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataEmailAttachment", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Actions.ts#L211-L216", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "EmailBody", "namespace": "watcher._types" }, "properties": [ { "name": "html", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "text", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "watcher/_types/Actions.ts#L192-L195" }, { "kind": "enum", "members": [ { "name": "lowest" }, { "name": "low" }, { "name": "normal" }, { "name": "high" }, { "name": "highest" } ], "name": { "name": "EmailPriority", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Actions.ts#L197-L203" }, { "kind": "interface", "name": { "name": "EmailResult", "namespace": "watcher._types" }, "properties": [ { "name": "account", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "message", "required": true, "type": { "kind": "instance_of", "type": { "name": "Email", "namespace": "watcher._types" } } }, { "name": "reason", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "watcher/_types/Actions.ts#L205-L209" }, { "kind": "enum", "members": [ { "name": "awaits_execution" }, { "name": "started" }, { "name": "input" }, { "name": "condition" }, { "name": "actions" }, { "name": "watch_transform" }, { "name": "aborted" }, { "name": "finished" } ], "name": { "name": "ExecutionPhase", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Execution.ts#L49-L58" }, { "kind": "interface", "name": { "name": "ExecutionResult", "namespace": "watcher._types" }, "properties": [ { "name": "actions", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "ExecutionResultAction", "namespace": "watcher._types" } } } }, { "name": "condition", "required": true, "type": { "kind": "instance_of", "type": { "name": "ExecutionResultCondition", "namespace": "watcher._types" } } }, { "name": "execution_duration", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "execution_time", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "input", "required": true, "type": { "kind": "instance_of", "type": { "name": "ExecutionResultInput", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Execution.ts#L60-L66" }, { "kind": "interface", "name": { "name": "ExecutionResultAction", "namespace": "watcher._types" }, "properties": [ { "name": "email", "required": false, "type": { "kind": "instance_of", "type": { "name": "EmailResult", "namespace": "watcher._types" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "index", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndexResult", "namespace": "watcher._types" } } }, { "name": "logging", "required": false, "type": { "kind": "instance_of", "type": { "name": "LoggingResult", "namespace": "watcher._types" } } }, { "name": "pagerduty", "required": false, "type": { "kind": "instance_of", "type": { "name": "PagerDutyResult", "namespace": "watcher._types" } } }, { "name": "reason", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "slack", "required": false, "type": { "kind": "instance_of", "type": { "name": "SlackResult", "namespace": "watcher._types" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "ActionStatusOptions", "namespace": "watcher._types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "ActionType", "namespace": "watcher._types" } } }, { "name": "webhook", "required": false, "type": { "kind": "instance_of", "type": { "name": "WebhookResult", "namespace": "watcher._types" } } }, { "name": "error", "required": false, "type": { "kind": "instance_of", "type": { "name": "ErrorCause", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Execution.ts#L74-L86" }, { "kind": "interface", "name": { "name": "ExecutionResultCondition", "namespace": "watcher._types" }, "properties": [ { "name": "met", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "ActionStatusOptions", "namespace": "watcher._types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "ConditionType", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Execution.ts#L68-L72" }, { "kind": "interface", "name": { "name": "ExecutionResultInput", "namespace": "watcher._types" }, "properties": [ { "name": "payload", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "ActionStatusOptions", "namespace": "watcher._types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "InputType", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Execution.ts#L88-L92" }, { "kind": "interface", "name": { "name": "ExecutionState", "namespace": "watcher._types" }, "properties": [ { "name": "successful", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "timestamp", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "reason", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "watcher/_types/Action.ts#L120-L124" }, { "kind": "enum", "members": [ { "name": "awaits_execution" }, { "name": "checking" }, { "name": "execution_not_needed" }, { "name": "throttled" }, { "name": "executed" }, { "name": "failed" }, { "name": "deleted_while_queued" }, { "name": "not_executed_already_queued" } ], "name": { "name": "ExecutionStatus", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Execution.ts#L38-L47" }, { "kind": "interface", "name": { "name": "ExecutionThreadPool", "namespace": "watcher._types" }, "properties": [ { "name": "max_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "queue_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Execution.ts#L94-L97" }, { "kind": "interface", "name": { "name": "HourAndMinute", "namespace": "watcher._types" }, "properties": [ { "name": "hour", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } }, { "name": "minute", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } } ], "specLocation": "watcher/_types/Schedule.ts#L105-L108" }, { "kind": "interface", "name": { "name": "HourlySchedule", "namespace": "watcher._types" }, "properties": [ { "name": "minute", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } } ], "specLocation": "watcher/_types/Schedule.ts#L47-L49" }, { "kind": "interface", "name": { "name": "HttpEmailAttachment", "namespace": "watcher._types" }, "properties": [ { "name": "content_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "inline", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "request", "required": false, "type": { "kind": "instance_of", "type": { "name": "HttpInputRequestDefinition", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Actions.ts#L218-L222" }, { "kind": "interface", "name": { "name": "HttpInput", "namespace": "watcher._types" }, "properties": [ { "name": "extract", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "request", "required": false, "type": { "kind": "instance_of", "type": { "name": "HttpInputRequestDefinition", "namespace": "watcher._types" } } }, { "name": "response_content_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "ResponseContentType", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Input.ts#L44-L48" }, { "kind": "interface", "name": { "name": "HttpInputAuthentication", "namespace": "watcher._types" }, "properties": [ { "name": "basic", "required": true, "type": { "kind": "instance_of", "type": { "name": "HttpInputBasicAuthentication", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Input.ts#L50-L52" }, { "kind": "interface", "name": { "name": "HttpInputBasicAuthentication", "namespace": "watcher._types" }, "properties": [ { "name": "password", "required": true, "type": { "kind": "instance_of", "type": { "name": "Password", "namespace": "_types" } } }, { "name": "username", "required": true, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Input.ts#L54-L57" }, { "kind": "enum", "members": [ { "name": "head" }, { "name": "get" }, { "name": "post" }, { "name": "put" }, { "name": "delete" } ], "name": { "name": "HttpInputMethod", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Input.ts#L59-L65" }, { "kind": "interface", "name": { "name": "HttpInputProxy", "namespace": "watcher._types" }, "properties": [ { "name": "host", "required": true, "type": { "kind": "instance_of", "type": { "name": "Host", "namespace": "_types" } } }, { "name": "port", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Input.ts#L67-L70" }, { "kind": "interface", "name": { "name": "HttpInputRequestDefinition", "namespace": "watcher._types" }, "properties": [ { "name": "auth", "required": false, "type": { "kind": "instance_of", "type": { "name": "HttpInputAuthentication", "namespace": "watcher._types" } } }, { "name": "body", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "connection_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "headers", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "host", "required": false, "type": { "kind": "instance_of", "type": { "name": "Host", "namespace": "_types" } } }, { "name": "method", "required": false, "type": { "kind": "instance_of", "type": { "name": "HttpInputMethod", "namespace": "watcher._types" } } }, { "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "path", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "port", "required": false, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "proxy", "required": false, "type": { "kind": "instance_of", "type": { "name": "HttpInputProxy", "namespace": "watcher._types" } } }, { "name": "read_timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "scheme", "required": false, "type": { "kind": "instance_of", "type": { "name": "ConnectionScheme", "namespace": "watcher._types" } } }, { "name": "url", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "watcher/_types/Input.ts#L72-L86" }, { "inherits": { "type": { "name": "HttpInputRequestDefinition", "namespace": "watcher._types" } }, "kind": "interface", "name": { "name": "HttpInputRequestResult", "namespace": "watcher._types" }, "properties": [], "specLocation": "watcher/_types/Actions.ts#L300-L300" }, { "kind": "interface", "name": { "name": "HttpInputResponseResult", "namespace": "watcher._types" }, "properties": [ { "name": "body", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "headers", "required": true, "type": { "kind": "instance_of", "type": { "name": "HttpHeaders", "namespace": "_types" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Actions.ts#L302-L306" }, { "kind": "interface", "name": { "name": "IndexAction", "namespace": "watcher._types" }, "properties": [ { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "doc_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "refresh", "required": false, "type": { "kind": "instance_of", "type": { "name": "Refresh", "namespace": "_types" } } }, { "name": "op_type", "required": false, "serverDefault": "index", "type": { "kind": "instance_of", "type": { "name": "OpType", "namespace": "_types" } } }, { "name": "timeout", "required": false, "serverDefault": "60s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "execution_time_field", "required": false, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Actions.ts#L256-L265" }, { "kind": "interface", "name": { "name": "IndexResult", "namespace": "watcher._types" }, "properties": [ { "name": "response", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexResultSummary", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Actions.ts#L267-L269" }, { "kind": "interface", "name": { "name": "IndexResultSummary", "namespace": "watcher._types" }, "properties": [ { "name": "created", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "index", "required": true, "type": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } }, { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "Result", "namespace": "_types" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Actions.ts#L271-L277" }, { "kind": "interface", "name": { "name": "InputContainer", "namespace": "watcher._types" }, "properties": [ { "name": "chain", "required": false, "type": { "kind": "instance_of", "type": { "name": "ChainInput", "namespace": "watcher._types" } } }, { "name": "http", "required": false, "type": { "kind": "instance_of", "type": { "name": "HttpInput", "namespace": "watcher._types" } } }, { "name": "search", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchInput", "namespace": "watcher._types" } } }, { "name": "simple", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } } ], "specLocation": "watcher/_types/Input.ts#L90-L98", "variants": { "kind": "container" } }, { "kind": "enum", "members": [ { "name": "http" }, { "name": "search" }, { "name": "simple" } ], "name": { "name": "InputType", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Input.ts#L100-L104" }, { "kind": "interface", "name": { "name": "LoggingAction", "namespace": "watcher._types" }, "properties": [ { "name": "level", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "text", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "category", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "watcher/_types/Actions.ts#L281-L285" }, { "kind": "interface", "name": { "name": "LoggingResult", "namespace": "watcher._types" }, "properties": [ { "name": "logged_text", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "watcher/_types/Actions.ts#L287-L289" }, { "kind": "enum", "members": [ { "name": "january" }, { "name": "february" }, { "name": "march" }, { "name": "april" }, { "name": "may" }, { "name": "june" }, { "name": "july" }, { "name": "august" }, { "name": "september" }, { "name": "october" }, { "name": "november" }, { "name": "december" } ], "name": { "name": "Month", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Schedule.ts#L65-L78" }, { "kind": "interface", "name": { "name": "NeverCondition", "namespace": "watcher._types" }, "properties": [], "specLocation": "watcher/_types/Conditions.ts#L69-L69" }, { "inherits": { "type": { "name": "PagerDutyEvent", "namespace": "watcher._types" } }, "kind": "interface", "name": { "name": "PagerDutyAction", "namespace": "watcher._types" }, "properties": [], "specLocation": "watcher/_types/Actions.ts#L54-L54" }, { "kind": "interface", "name": { "name": "PagerDutyContext", "namespace": "watcher._types" }, "properties": [ { "name": "href", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "src", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "PagerDutyContextType", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Actions.ts#L61-L65" }, { "kind": "enum", "members": [ { "name": "link" }, { "name": "image" } ], "name": { "name": "PagerDutyContextType", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Actions.ts#L67-L70" }, { "kind": "interface", "name": { "name": "PagerDutyEvent", "namespace": "watcher._types" }, "properties": [ { "name": "account", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "attach_payload", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "client", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "client_url", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "aliases": [ "context" ], "name": "contexts", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "PagerDutyContext", "namespace": "watcher._types" } } } }, { "name": "description", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "event_type", "required": false, "serverDefault": "trigger", "type": { "kind": "instance_of", "type": { "name": "PagerDutyEventType", "namespace": "watcher._types" } } }, { "name": "incident_key", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "proxy", "required": false, "type": { "kind": "instance_of", "type": { "name": "PagerDutyEventProxy", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Actions.ts#L40-L52" }, { "kind": "interface", "name": { "name": "PagerDutyEventProxy", "namespace": "watcher._types" }, "properties": [ { "name": "host", "required": false, "type": { "kind": "instance_of", "type": { "name": "Host", "namespace": "_types" } } }, { "name": "port", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Actions.ts#L56-L59" }, { "kind": "enum", "members": [ { "name": "trigger" }, { "name": "resolve" }, { "name": "acknowledge" } ], "name": { "name": "PagerDutyEventType", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Actions.ts#L72-L76" }, { "kind": "interface", "name": { "name": "PagerDutyResult", "namespace": "watcher._types" }, "properties": [ { "name": "event", "required": true, "type": { "kind": "instance_of", "type": { "name": "PagerDutyEvent", "namespace": "watcher._types" } } }, { "name": "reason", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "request", "required": false, "type": { "kind": "instance_of", "type": { "name": "HttpInputRequestResult", "namespace": "watcher._types" } } }, { "name": "response", "required": false, "type": { "kind": "instance_of", "type": { "name": "HttpInputResponseResult", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Actions.ts#L78-L83" }, { "kind": "enum", "members": [ { "name": "some" }, { "name": "all" } ], "name": { "name": "Quantifier", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Conditions.ts#L71-L74" }, { "kind": "interface", "name": { "name": "QueryWatch", "namespace": "watcher._types" }, "properties": [ { "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "status", "required": false, "type": { "kind": "instance_of", "type": { "name": "WatchStatus", "namespace": "watcher._types" } } }, { "name": "watch", "required": false, "type": { "kind": "instance_of", "type": { "name": "Watch", "namespace": "watcher._types" } } }, { "name": "_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "_seq_no", "required": false, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Watch.ts#L58-L64" }, { "kind": "interface", "name": { "name": "ReportingEmailAttachment", "namespace": "watcher._types" }, "properties": [ { "name": "url", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "inline", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "retries", "required": false, "serverDefault": 40, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "interval", "required": false, "serverDefault": "15s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "request", "required": false, "type": { "kind": "instance_of", "type": { "name": "HttpInputRequestDefinition", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Actions.ts#L224-L232" }, { "kind": "enum", "members": [ { "name": "json" }, { "name": "yaml" }, { "name": "text" } ], "name": { "name": "ResponseContentType", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Input.ts#L106-L110" }, { "kind": "interface", "name": { "name": "ScheduleContainer", "namespace": "watcher._types" }, "properties": [ { "name": "cron", "required": false, "type": { "kind": "instance_of", "type": { "name": "CronExpression", "namespace": "watcher._types" } } }, { "name": "daily", "required": false, "type": { "kind": "instance_of", "type": { "name": "DailySchedule", "namespace": "watcher._types" } } }, { "name": "hourly", "required": false, "type": { "kind": "instance_of", "type": { "name": "HourlySchedule", "namespace": "watcher._types" } } }, { "name": "interval", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "monthly", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "TimeOfMonth", "namespace": "watcher._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TimeOfMonth", "namespace": "watcher._types" } } } ], "kind": "union_of" } }, { "name": "weekly", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "TimeOfWeek", "namespace": "watcher._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TimeOfWeek", "namespace": "watcher._types" } } } ], "kind": "union_of" } }, { "name": "yearly", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "TimeOfYear", "namespace": "watcher._types" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "TimeOfYear", "namespace": "watcher._types" } } } ], "kind": "union_of" } } ], "specLocation": "watcher/_types/Schedule.ts#L80-L91", "variants": { "kind": "container" } }, { "codegenNames": [ "text", "hour_minute" ], "description": "A time of day, expressed either as `hh:mm`, `noon`, `midnight`, or an hour/minutes structure.", "kind": "type_alias", "name": { "name": "ScheduleTimeOfDay", "namespace": "watcher._types" }, "specLocation": "watcher/_types/Schedule.ts#L98-L103", "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "instance_of", "type": { "name": "HourAndMinute", "namespace": "watcher._types" } } ], "kind": "union_of" } }, { "kind": "interface", "name": { "name": "ScheduleTriggerEvent", "namespace": "watcher._types" }, "properties": [ { "name": "scheduled_time", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "triggered_time", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Schedule.ts#L93-L96" }, { "kind": "interface", "name": { "name": "ScriptCondition", "namespace": "watcher._types" }, "properties": [ { "name": "lang", "required": false, "serverDefault": "painless", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "source", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "watcher/_types/Conditions.ts#L76-L84" }, { "kind": "interface", "name": { "name": "SearchInput", "namespace": "watcher._types" }, "properties": [ { "name": "extract", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "request", "required": true, "type": { "kind": "instance_of", "type": { "name": "SearchInputRequestDefinition", "namespace": "watcher._types" } } }, { "name": "timeout", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Input.ts#L112-L116" }, { "kind": "interface", "name": { "name": "SearchInputRequestBody", "namespace": "watcher._types" }, "properties": [ { "name": "query", "required": true, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } } ], "specLocation": "watcher/_types/Input.ts#L147-L149" }, { "kind": "interface", "name": { "name": "SearchInputRequestDefinition", "namespace": "watcher._types" }, "properties": [ { "name": "body", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchInputRequestBody", "namespace": "watcher._types" } } }, { "name": "indices", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } } } }, { "name": "indices_options", "required": false, "type": { "kind": "instance_of", "type": { "name": "IndicesOptions", "namespace": "_types" } } }, { "name": "search_type", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchType", "namespace": "_types" } } }, { "name": "template", "required": false, "type": { "kind": "instance_of", "type": { "name": "SearchTemplateRequestBody", "namespace": "watcher._types" } } }, { "name": "rest_total_hits_as_int", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "watcher/_types/Input.ts#L118-L125" }, { "kind": "interface", "name": { "name": "SearchTemplateRequestBody", "namespace": "watcher._types" }, "properties": [ { "name": "explain", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "ID of the search template to use. If no source is specified,\nthis parameter is required.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "params", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "name": "profile", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required.", "name": "source", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "watcher/_types/Input.ts#L128-L145" }, { "kind": "interface", "name": { "name": "SimulatedActions", "namespace": "watcher._types" }, "properties": [ { "name": "actions", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "all", "required": true, "type": { "kind": "instance_of", "type": { "name": "SimulatedActions", "namespace": "watcher._types" } } }, { "name": "use_all", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "watcher/_types/Action.ts#L96-L100" }, { "kind": "interface", "name": { "name": "SlackAction", "namespace": "watcher._types" }, "properties": [ { "name": "account", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "message", "required": true, "type": { "kind": "instance_of", "type": { "name": "SlackMessage", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Actions.ts#L91-L94" }, { "kind": "interface", "name": { "name": "SlackAttachment", "namespace": "watcher._types" }, "properties": [ { "name": "author_icon", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "author_link", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "author_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "color", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "fallback", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "fields", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SlackAttachmentField", "namespace": "watcher._types" } } } }, { "name": "footer", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "footer_icon", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "image_url", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "pretext", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "text", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "thumb_url", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "title", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "title_link", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "ts", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitSeconds", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Actions.ts#L101-L117" }, { "kind": "interface", "name": { "name": "SlackAttachmentField", "namespace": "watcher._types" }, "properties": [ { "name": "short", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "title", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "value", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "watcher/_types/Actions.ts#L119-L123" }, { "kind": "interface", "name": { "name": "SlackDynamicAttachment", "namespace": "watcher._types" }, "properties": [ { "name": "attachment_template", "required": true, "type": { "kind": "instance_of", "type": { "name": "SlackAttachment", "namespace": "watcher._types" } } }, { "name": "list_path", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "watcher/_types/Actions.ts#L125-L128" }, { "kind": "interface", "name": { "name": "SlackMessage", "namespace": "watcher._types" }, "properties": [ { "name": "attachments", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "SlackAttachment", "namespace": "watcher._types" } } } }, { "name": "dynamic_attachments", "required": false, "type": { "kind": "instance_of", "type": { "name": "SlackDynamicAttachment", "namespace": "watcher._types" } } }, { "name": "from", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "icon", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "text", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "to", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "watcher/_types/Actions.ts#L130-L137" }, { "kind": "interface", "name": { "name": "SlackResult", "namespace": "watcher._types" }, "properties": [ { "name": "account", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "message", "required": true, "type": { "kind": "instance_of", "type": { "name": "SlackMessage", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Actions.ts#L96-L99" }, { "kind": "interface", "name": { "name": "ThrottleState", "namespace": "watcher._types" }, "properties": [ { "name": "reason", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "timestamp", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "watcher/_types/Action.ts#L126-L129" }, { "kind": "interface", "name": { "name": "TimeOfMonth", "namespace": "watcher._types" }, "properties": [ { "name": "at", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "on", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } } ], "specLocation": "watcher/_types/Schedule.ts#L110-L113" }, { "kind": "interface", "name": { "name": "TimeOfWeek", "namespace": "watcher._types" }, "properties": [ { "name": "at", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "on", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Day", "namespace": "watcher._types" } } } } ], "specLocation": "watcher/_types/Schedule.ts#L115-L118" }, { "kind": "interface", "name": { "name": "TimeOfYear", "namespace": "watcher._types" }, "properties": [ { "name": "at", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "int", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "Month", "namespace": "watcher._types" } } } }, { "name": "on", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } } ], "specLocation": "watcher/_types/Schedule.ts#L120-L124" }, { "kind": "interface", "name": { "name": "TriggerContainer", "namespace": "watcher._types" }, "properties": [ { "name": "schedule", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScheduleContainer", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Trigger.ts#L23-L28", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "TriggerEventContainer", "namespace": "watcher._types" }, "properties": [ { "name": "schedule", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScheduleTriggerEvent", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Trigger.ts#L32-L37", "variants": { "kind": "container" } }, { "kind": "interface", "name": { "name": "TriggerEventResult", "namespace": "watcher._types" }, "properties": [ { "name": "manual", "required": true, "type": { "kind": "instance_of", "type": { "name": "TriggerEventContainer", "namespace": "watcher._types" } } }, { "name": "triggered_time", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "watcher/_types/Trigger.ts#L39-L43" }, { "kind": "interface", "name": { "name": "Watch", "namespace": "watcher._types" }, "properties": [ { "name": "actions", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "IndexName", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Action", "namespace": "watcher._types" } } } }, { "name": "condition", "required": true, "type": { "kind": "instance_of", "type": { "name": "ConditionContainer", "namespace": "watcher._types" } } }, { "name": "input", "required": true, "type": { "kind": "instance_of", "type": { "name": "InputContainer", "namespace": "watcher._types" } } }, { "name": "metadata", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "name": "status", "required": false, "type": { "kind": "instance_of", "type": { "name": "WatchStatus", "namespace": "watcher._types" } } }, { "name": "throttle_period", "required": false, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "throttle_period_in_millis", "required": false, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } }, { "name": "transform", "required": false, "type": { "kind": "instance_of", "type": { "name": "TransformContainer", "namespace": "_types" } } }, { "name": "trigger", "required": true, "type": { "kind": "instance_of", "type": { "name": "TriggerContainer", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Watch.ts#L37-L47" }, { "kind": "interface", "name": { "name": "WatchStatus", "namespace": "watcher._types" }, "properties": [ { "name": "actions", "required": true, "type": { "kind": "instance_of", "type": { "name": "Actions", "namespace": "watcher._types" } } }, { "name": "last_checked", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "last_met_condition", "required": false, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "ActivationState", "namespace": "watcher._types" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } }, { "name": "execution_state", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "watcher/_types/Watch.ts#L49-L56" }, { "inherits": { "type": { "name": "HttpInputRequestDefinition", "namespace": "watcher._types" } }, "kind": "interface", "name": { "name": "WebhookAction", "namespace": "watcher._types" }, "properties": [], "specLocation": "watcher/_types/Actions.ts#L293-L293" }, { "kind": "interface", "name": { "name": "WebhookResult", "namespace": "watcher._types" }, "properties": [ { "name": "request", "required": true, "type": { "kind": "instance_of", "type": { "name": "HttpInputRequestResult", "namespace": "watcher._types" } } }, { "name": "response", "required": false, "type": { "kind": "instance_of", "type": { "name": "HttpInputResponseResult", "namespace": "watcher._types" } } } ], "specLocation": "watcher/_types/Actions.ts#L295-L298" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Acknowledges a watch, manually throttling the execution of the watch's actions.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "watcher.ack_watch" }, "path": [ { "description": "Watch ID", "name": "watch_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "description": "A comma-separated list of the action ids to be acked", "name": "action_id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } } ], "query": [], "specLocation": "watcher/ack_watch/WatcherAckWatchRequest.ts#L23-L32" }, { "body": { "kind": "properties", "properties": [ { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "WatchStatus", "namespace": "watcher._types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "watcher.ack_watch" }, "specLocation": "watcher/ack_watch/WatcherAckWatchResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Activates a currently inactive watch.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "watcher.activate_watch" }, "path": [ { "description": "Watch ID", "name": "watch_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "watcher/activate_watch/WatcherActivateWatchRequest.ts#L23-L31" }, { "body": { "kind": "properties", "properties": [ { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "ActivationStatus", "namespace": "watcher._types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "watcher.activate_watch" }, "specLocation": "watcher/activate_watch/WatcherActivateWatchResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Deactivates a currently active watch.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "watcher.deactivate_watch" }, "path": [ { "description": "Watch ID", "name": "watch_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "watcher/deactivate_watch/DeactivateWatchRequest.ts#L23-L31" }, { "body": { "kind": "properties", "properties": [ { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "ActivationStatus", "namespace": "watcher._types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "watcher.deactivate_watch" }, "specLocation": "watcher/deactivate_watch/DeactivateWatchResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Removes a watch from Watcher.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "watcher.delete_watch" }, "path": [ { "description": "Watch ID", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "watcher/delete_watch/DeleteWatchRequest.ts#L23-L31" }, { "body": { "kind": "properties", "properties": [ { "name": "found", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "watcher.delete_watch" }, "specLocation": "watcher/delete_watch/DeleteWatchResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "Determines how to handle the watch actions as part of the watch execution.", "name": "action_modes", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "ActionExecutionMode", "namespace": "watcher._types" } } } }, { "description": "When present, the watch uses this object as a payload instead of executing its own input.", "name": "alternative_input", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "user_defined_value" } } }, { "description": "When set to `true`, the watch execution uses the always condition. This can also be specified as an HTTP parameter.", "name": "ignore_condition", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "When set to `true`, the watch record representing the watch execution result is persisted to the `.watcher-history` index for the current time. In addition, the status of the watch is updated, possibly throttling subsequent executions. This can also be specified as an HTTP parameter.", "name": "record_execution", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "simulated_actions", "required": false, "type": { "kind": "instance_of", "type": { "name": "SimulatedActions", "namespace": "watcher._types" } } }, { "description": "This structure is parsed as the data of the trigger event that will be used during the watch execution", "name": "trigger_data", "required": false, "type": { "kind": "instance_of", "type": { "name": "ScheduleTriggerEvent", "namespace": "watcher._types" } } }, { "description": "When present, this watch is used instead of the one specified in the request. This watch is not persisted to the index and record_execution cannot be set.", "name": "watch", "required": false, "serverDefault": "null", "type": { "kind": "instance_of", "type": { "name": "Watch", "namespace": "watcher._types" } } } ] }, "description": "This API can be used to force execution of the watch outside of its triggering logic or to simulate the watch execution for debugging purposes.\nFor testing and debugging purposes, you also have fine-grained control on how the watch runs. You can execute the watch without executing all of its actions or alternatively by simulating them. You can also force execution by ignoring the watch condition and control whether a watch record would be written to the watch history after execution.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "watcher.execute_watch" }, "path": [ { "description": "Identifier for the watch.", "name": "id", "required": false, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Defines whether the watch runs in debug mode.", "name": "debug", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "watcher/execute_watch/WatcherExecuteWatchRequest.ts#L28-L79" }, { "body": { "kind": "properties", "properties": [ { "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "watch_record", "required": true, "type": { "kind": "instance_of", "type": { "name": "WatchRecord", "namespace": "watcher.execute_watch" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "watcher.execute_watch" }, "specLocation": "watcher/execute_watch/WatcherExecuteWatchResponse.ts#L23-L25" }, { "kind": "interface", "name": { "name": "WatchRecord", "namespace": "watcher.execute_watch" }, "properties": [ { "name": "condition", "required": true, "type": { "kind": "instance_of", "type": { "name": "ConditionContainer", "namespace": "watcher._types" } } }, { "name": "input", "required": true, "type": { "kind": "instance_of", "type": { "name": "InputContainer", "namespace": "watcher._types" } } }, { "name": "messages", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "metadata", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "name": "node", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "result", "required": true, "type": { "kind": "instance_of", "type": { "name": "ExecutionResult", "namespace": "watcher._types" } } }, { "name": "state", "required": true, "type": { "kind": "instance_of", "type": { "name": "ExecutionStatus", "namespace": "watcher._types" } } }, { "name": "trigger_event", "required": true, "type": { "kind": "instance_of", "type": { "name": "TriggerEventResult", "namespace": "watcher._types" } } }, { "name": "user", "required": true, "type": { "kind": "instance_of", "type": { "name": "Username", "namespace": "_types" } } }, { "name": "watch_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "status", "required": false, "type": { "kind": "instance_of", "type": { "name": "WatchStatus", "namespace": "watcher._types" } } } ], "specLocation": "watcher/execute_watch/types.ts#L27-L39" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves a watch by its ID.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "watcher.get_watch" }, "path": [ { "description": "Watch ID", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } } ], "query": [], "specLocation": "watcher/get_watch/GetWatchRequest.ts#L23-L31" }, { "body": { "kind": "properties", "properties": [ { "name": "found", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "status", "required": false, "type": { "kind": "instance_of", "type": { "name": "WatchStatus", "namespace": "watcher._types" } } }, { "name": "watch", "required": false, "type": { "kind": "instance_of", "type": { "name": "Watch", "namespace": "watcher._types" } } }, { "name": "_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "_seq_no", "required": false, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "name": "_version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "watcher.get_watch" }, "specLocation": "watcher/get_watch/GetWatchResponse.ts#L24-L34" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "name": "actions", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Action", "namespace": "watcher._types" } } } }, { "name": "condition", "required": false, "type": { "kind": "instance_of", "type": { "name": "ConditionContainer", "namespace": "watcher._types" } } }, { "name": "input", "required": false, "type": { "kind": "instance_of", "type": { "name": "InputContainer", "namespace": "watcher._types" } } }, { "name": "metadata", "required": false, "type": { "kind": "instance_of", "type": { "name": "Metadata", "namespace": "_types" } } }, { "name": "throttle_period", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "transform", "required": false, "type": { "kind": "instance_of", "type": { "name": "TransformContainer", "namespace": "_types" } } }, { "name": "trigger", "required": false, "type": { "kind": "instance_of", "type": { "name": "TriggerContainer", "namespace": "watcher._types" } } } ] }, "description": "Creates a new watch, or updates an existing one.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "watcher.put_watch" }, "path": [ { "description": "Watch ID", "name": "id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "query": [ { "description": "Specify whether the watch is in/active by default", "name": "active", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "only update the watch if the last operation that has changed the watch has the specified primary term", "name": "if_primary_term", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "description": "only update the watch if the last operation that has changed the watch has the specified sequence number", "name": "if_seq_no", "required": false, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "description": "Explicit version number for concurrency control", "name": "version", "required": false, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } } ], "specLocation": "watcher/put_watch/WatcherPutWatchRequest.ts#L30-L53" }, { "body": { "kind": "properties", "properties": [ { "name": "created", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "_primary_term", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "_seq_no", "required": true, "type": { "kind": "instance_of", "type": { "name": "SequenceNumber", "namespace": "_types" } } }, { "name": "_version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionNumber", "namespace": "_types" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "watcher.put_watch" }, "specLocation": "watcher/put_watch/WatcherPutWatchResponse.ts#L23-L31" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "properties", "properties": [ { "description": "The offset from the first result to fetch. Needs to be non-negative.", "name": "from", "required": false, "serverDefault": 0, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "The number of hits to return. Needs to be non-negative.", "name": "size", "required": false, "serverDefault": 10, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "description": "Optional, query filter watches to be returned.", "name": "query", "required": false, "type": { "kind": "instance_of", "type": { "name": "QueryContainer", "namespace": "_types.query_dsl" } } }, { "description": "Optional sort definition.", "name": "sort", "required": false, "type": { "kind": "instance_of", "type": { "name": "Sort", "namespace": "_types" } } }, { "description": "Optional search After to do pagination using last hit’s sort values.", "name": "search_after", "required": false, "type": { "kind": "instance_of", "type": { "name": "SortResults", "namespace": "_types" } } } ] }, "description": "Retrieves stored watches.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "watcher.query_watches" }, "path": [], "query": [], "specLocation": "watcher/query_watches/WatcherQueryWatchesRequest.ts#L25-L48" }, { "body": { "kind": "properties", "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "watches", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "QueryWatch", "namespace": "watcher._types" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "watcher.query_watches" }, "specLocation": "watcher/query_watches/WatcherQueryWatchesResponse.ts#L23-L28" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Starts Watcher if it is not already running.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "watcher.start" }, "path": [], "query": [], "specLocation": "watcher/start/WatcherStartRequest.ts#L22-L26" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "watcher.start" }, "specLocation": "watcher/start/WatcherStartResponse.ts#L22-L24" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Retrieves the current Watcher metrics.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "watcher.stats" }, "path": [ { "description": "Defines which additional metrics are included in the response.", "name": "metric", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "WatcherMetric", "namespace": "watcher.stats" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "WatcherMetric", "namespace": "watcher.stats" } } } ], "kind": "union_of" } } ], "query": [ { "description": "Defines whether stack traces are generated for each watch that is running.", "name": "emit_stacktraces", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Defines which additional metrics are included in the response.", "name": "metric", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "WatcherMetric", "namespace": "watcher.stats" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "WatcherMetric", "namespace": "watcher.stats" } } } ], "kind": "union_of" } } ], "specLocation": "watcher/stats/WatcherStatsRequest.ts#L23-L45" }, { "body": { "kind": "properties", "properties": [ { "codegenName": "node_stats", "name": "_nodes", "required": true, "type": { "kind": "instance_of", "type": { "name": "NodeStatistics", "namespace": "_types" } } }, { "name": "cluster_name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } } }, { "name": "manually_stopped", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "stats", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "WatcherNodeStats", "namespace": "watcher.stats" } } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "watcher.stats" }, "specLocation": "watcher/stats/WatcherStatsResponse.ts#L24-L32" }, { "kind": "interface", "name": { "name": "WatchRecordQueuedStats", "namespace": "watcher.stats" }, "properties": [ { "name": "execution_time", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } } ], "specLocation": "watcher/stats/types.ts#L50-L52" }, { "inherits": { "type": { "name": "WatchRecordQueuedStats", "namespace": "watcher.stats" } }, "kind": "interface", "name": { "name": "WatchRecordStats", "namespace": "watcher.stats" }, "properties": [ { "name": "execution_phase", "required": true, "type": { "kind": "instance_of", "type": { "name": "ExecutionPhase", "namespace": "watcher._types" } } }, { "name": "triggered_time", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "executed_actions", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "watch_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } }, { "name": "watch_record_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "specLocation": "watcher/stats/types.ts#L54-L60" }, { "kind": "enum", "members": [ { "aliases": [ "all" ], "name": "_all" }, { "name": "queued_watches" }, { "name": "current_watches" }, { "name": "pending_watches" } ], "name": { "name": "WatcherMetric", "namespace": "watcher.stats" }, "specLocation": "watcher/stats/types.ts#L42-L48" }, { "kind": "interface", "name": { "name": "WatcherNodeStats", "namespace": "watcher.stats" }, "properties": [ { "name": "current_watches", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "WatchRecordStats", "namespace": "watcher.stats" } } } }, { "name": "execution_thread_pool", "required": true, "type": { "kind": "instance_of", "type": { "name": "ExecutionThreadPool", "namespace": "watcher._types" } } }, { "name": "queued_watches", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "WatchRecordQueuedStats", "namespace": "watcher.stats" } } } }, { "name": "watch_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "watcher_state", "required": true, "type": { "kind": "instance_of", "type": { "name": "WatcherState", "namespace": "watcher.stats" } } }, { "name": "node_id", "required": true, "type": { "kind": "instance_of", "type": { "name": "Id", "namespace": "_types" } } } ], "specLocation": "watcher/stats/types.ts#L33-L40" }, { "kind": "enum", "members": [ { "name": "stopped" }, { "name": "starting" }, { "name": "started" }, { "name": "stopping" } ], "name": { "name": "WatcherState", "namespace": "watcher.stats" }, "specLocation": "watcher/stats/types.ts#L26-L31" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Stops Watcher if it is running.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "watcher.stop" }, "path": [], "query": [], "specLocation": "watcher/stop/WatcherStopRequest.ts#L22-L26" }, { "body": { "kind": "value", "value": { "kind": "instance_of", "type": { "name": "AcknowledgedResponseBase", "namespace": "_types" } } }, "kind": "response", "name": { "name": "Response", "namespace": "watcher.stop" }, "specLocation": "watcher/stop/WatcherStopResponse.ts#L22-L24" }, { "kind": "interface", "name": { "name": "BuildInformation", "namespace": "xpack.info" }, "properties": [ { "name": "date", "required": true, "type": { "kind": "instance_of", "type": { "name": "DateTime", "namespace": "_types" } } }, { "name": "hash", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "xpack/info/types.ts#L24-L27" }, { "kind": "interface", "name": { "name": "Feature", "namespace": "xpack.info" }, "properties": [ { "name": "available", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "description", "required": false, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "native_code_info", "required": false, "type": { "kind": "instance_of", "type": { "name": "NativeCodeInformation", "namespace": "xpack.info" } } } ], "specLocation": "xpack/info/types.ts#L77-L82" }, { "kind": "interface", "name": { "name": "Features", "namespace": "xpack.info" }, "properties": [ { "name": "aggregate_metric", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "analytics", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "ccr", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "data_frame", "required": false, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "data_science", "required": false, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "data_streams", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "data_tiers", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "enrich", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "eql", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "flattened", "required": false, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "frozen_indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "graph", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "ilm", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "logstash", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "ml", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "monitoring", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "rollup", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "runtime_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "searchable_snapshots", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "security", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "slm", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "spatial", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "sql", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "transform", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "vectors", "required": false, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "voting_only", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "name": "watcher", "required": true, "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.2.0" } }, "name": "archive", "required": true, "since": "8.2.0", "type": { "kind": "instance_of", "type": { "name": "Feature", "namespace": "xpack.info" } } } ], "specLocation": "xpack/info/types.ts#L42-L75" }, { "kind": "interface", "name": { "name": "MinimalLicenseInformation", "namespace": "xpack.info" }, "properties": [ { "name": "expiry_date_in_millis", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "EpochTime", "namespace": "_types" } } }, { "name": "mode", "required": true, "type": { "kind": "instance_of", "type": { "name": "LicenseType", "namespace": "license._types" } } }, { "name": "status", "required": true, "type": { "kind": "instance_of", "type": { "name": "LicenseStatus", "namespace": "license._types" } } }, { "name": "type", "required": true, "type": { "kind": "instance_of", "type": { "name": "LicenseType", "namespace": "license._types" } } }, { "name": "uid", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "specLocation": "xpack/info/types.ts#L34-L40" }, { "kind": "interface", "name": { "name": "NativeCodeInformation", "namespace": "xpack.info" }, "properties": [ { "name": "build_hash", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "name": "version", "required": true, "type": { "kind": "instance_of", "type": { "name": "VersionString", "namespace": "_types" } } } ], "specLocation": "xpack/info/types.ts#L29-L32" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "Provides general information about the installed X-Pack features.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "xpack.info" }, "path": [], "query": [ { "description": "A comma-separated list of the information categories to include in the response. For example, `build,license,features`.", "name": "categories", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "description": "If this param is used it must be set to true", "name": "accept_enterprise", "required": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Defines whether additional human-readable information is included in the response. In particular, it adds descriptions and a tag line.", "name": "human", "required": false, "serverDefault": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "xpack/info/XPackInfoRequest.ts#L22-L42" }, { "body": { "kind": "properties", "properties": [ { "name": "build", "required": true, "type": { "kind": "instance_of", "type": { "name": "BuildInformation", "namespace": "xpack.info" } } }, { "name": "features", "required": true, "type": { "kind": "instance_of", "type": { "name": "Features", "namespace": "xpack.info" } } }, { "name": "license", "required": true, "type": { "kind": "instance_of", "type": { "name": "MinimalLicenseInformation", "namespace": "xpack.info" } } }, { "name": "tagline", "required": true, "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "xpack.info" }, "specLocation": "xpack/info/XPackInfoResponse.ts#L22-L29" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "Analytics", "namespace": "xpack.usage" }, "properties": [ { "name": "stats", "required": true, "type": { "kind": "instance_of", "type": { "name": "AnalyticsStatistics", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L330-L332" }, { "kind": "interface", "name": { "name": "AnalyticsStatistics", "namespace": "xpack.usage" }, "properties": [ { "name": "boxplot_usage", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "cumulative_cardinality_usage", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "string_stats_usage", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "top_metrics_usage", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "t_test_usage", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "moving_percentiles_usage", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "normalize_usage", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "rate_usage", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "multi_terms_usage", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L61-L71" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "Archive", "namespace": "xpack.usage" }, "properties": [ { "name": "indices_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L48-L50" }, { "inherits": { "type": { "name": "FeatureToggle", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "Audit", "namespace": "xpack.usage" }, "properties": [ { "name": "outputs", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } } ], "specLocation": "xpack/usage/types.ts#L73-L75" }, { "kind": "interface", "name": { "name": "Base", "namespace": "xpack.usage" }, "properties": [ { "name": "available", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "xpack/usage/types.ts#L30-L33" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "Ccr", "namespace": "xpack.usage" }, "properties": [ { "name": "auto_follow_patterns_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "follower_indices_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L334-L337" }, { "kind": "interface", "name": { "name": "Counter", "namespace": "xpack.usage" }, "properties": [ { "name": "active", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L35-L38" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "DataStreams", "namespace": "xpack.usage" }, "properties": [ { "name": "data_streams", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "indices_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L81-L84" }, { "kind": "interface", "name": { "name": "DataTierPhaseStatistics", "namespace": "xpack.usage" }, "properties": [ { "name": "node_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "index_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_shard_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "primary_shard_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "doc_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "total_size_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "primary_size_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "primary_shard_size_avg_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "primary_shard_size_median_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "primary_shard_size_mad_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L86-L97" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "DataTiers", "namespace": "xpack.usage" }, "properties": [ { "name": "data_warm", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataTierPhaseStatistics", "namespace": "xpack.usage" } } }, { "availability": { "serverless": {}, "stack": { "since": "7.13.0" } }, "name": "data_frozen", "required": false, "since": "7.13.0", "type": { "kind": "instance_of", "type": { "name": "DataTierPhaseStatistics", "namespace": "xpack.usage" } } }, { "name": "data_cold", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataTierPhaseStatistics", "namespace": "xpack.usage" } } }, { "name": "data_content", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataTierPhaseStatistics", "namespace": "xpack.usage" } } }, { "name": "data_hot", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataTierPhaseStatistics", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L339-L349" }, { "kind": "interface", "name": { "name": "Datafeed", "namespace": "xpack.usage" }, "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L77-L79" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "Eql", "namespace": "xpack.usage" }, "properties": [ { "name": "features", "required": true, "type": { "kind": "instance_of", "type": { "name": "EqlFeatures", "namespace": "xpack.usage" } } }, { "name": "queries", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Query", "namespace": "xpack.usage" } } } } ], "specLocation": "xpack/usage/types.ts#L351-L354" }, { "kind": "interface", "name": { "name": "EqlFeatures", "namespace": "xpack.usage" }, "properties": [ { "name": "join", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "joins", "required": true, "type": { "kind": "instance_of", "type": { "name": "EqlFeaturesJoin", "namespace": "xpack.usage" } } }, { "name": "keys", "required": true, "type": { "kind": "instance_of", "type": { "name": "EqlFeaturesKeys", "namespace": "xpack.usage" } } }, { "name": "event", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "pipes", "required": true, "type": { "kind": "instance_of", "type": { "name": "EqlFeaturesPipes", "namespace": "xpack.usage" } } }, { "name": "sequence", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "sequences", "required": true, "type": { "kind": "instance_of", "type": { "name": "EqlFeaturesSequences", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L99-L107" }, { "kind": "interface", "name": { "name": "EqlFeaturesJoin", "namespace": "xpack.usage" }, "properties": [ { "name": "join_queries_two", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "join_queries_three", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "join_until", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "join_queries_five_or_more", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "join_queries_four", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L109-L115" }, { "kind": "interface", "name": { "name": "EqlFeaturesKeys", "namespace": "xpack.usage" }, "properties": [ { "name": "join_keys_two", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "join_keys_one", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "join_keys_three", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "join_keys_five_or_more", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "join_keys_four", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L117-L123" }, { "kind": "interface", "name": { "name": "EqlFeaturesPipes", "namespace": "xpack.usage" }, "properties": [ { "name": "pipe_tail", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "pipe_head", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L125-L128" }, { "kind": "interface", "name": { "name": "EqlFeaturesSequences", "namespace": "xpack.usage" }, "properties": [ { "name": "sequence_queries_three", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "sequence_queries_four", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "sequence_queries_two", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "sequence_until", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "sequence_queries_five_or_more", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } }, { "name": "sequence_maxspan", "required": true, "type": { "kind": "instance_of", "type": { "name": "uint", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L130-L137" }, { "kind": "interface", "name": { "name": "FeatureToggle", "namespace": "xpack.usage" }, "properties": [ { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "xpack/usage/types.ts#L40-L42" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "Flattened", "namespace": "xpack.usage" }, "properties": [ { "name": "field_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L356-L358" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "FrozenIndices", "namespace": "xpack.usage" }, "properties": [ { "name": "indices_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L360-L362" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "HealthStatistics", "namespace": "xpack.usage" }, "properties": [ { "name": "invocations", "required": true, "type": { "kind": "instance_of", "type": { "name": "Invocations", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L153-L155" }, { "kind": "interface", "name": { "name": "Ilm", "namespace": "xpack.usage" }, "properties": [ { "name": "policy_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "policy_stats", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "IlmPolicyStatistics", "namespace": "xpack.usage" } } } } ], "specLocation": "xpack/usage/types.ts#L162-L165" }, { "kind": "interface", "name": { "name": "IlmPolicyStatistics", "namespace": "xpack.usage" }, "properties": [ { "name": "indices_managed", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "phases", "required": true, "type": { "kind": "instance_of", "type": { "name": "Phases", "namespace": "ilm._types" } } } ], "specLocation": "xpack/usage/types.ts#L157-L160" }, { "kind": "interface", "name": { "name": "Invocations", "namespace": "xpack.usage" }, "properties": [ { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L44-L46" }, { "kind": "interface", "name": { "name": "IpFilter", "namespace": "xpack.usage" }, "properties": [ { "name": "http", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "transport", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "xpack/usage/types.ts#L167-L170" }, { "kind": "interface", "name": { "name": "JobUsage", "namespace": "xpack.usage" }, "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "created_by", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } }, { "name": "detectors", "required": true, "type": { "kind": "instance_of", "type": { "name": "JobStatistics", "namespace": "ml._types" } } }, { "name": "forecasts", "required": true, "type": { "kind": "instance_of", "type": { "name": "MlJobForecasts", "namespace": "xpack.usage" } } }, { "name": "model_size", "required": true, "type": { "kind": "instance_of", "type": { "name": "JobStatistics", "namespace": "ml._types" } } } ], "specLocation": "xpack/usage/types.ts#L364-L370" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "MachineLearning", "namespace": "xpack.usage" }, "properties": [ { "name": "datafeeds", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Datafeed", "namespace": "xpack.usage" } } } }, { "description": "Job usage statistics. The `_all` entry is always present and gathers statistics for all jobs.", "name": "jobs", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "JobUsage", "namespace": "xpack.usage" } } } }, { "name": "node_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "data_frame_analytics_jobs", "required": true, "type": { "kind": "instance_of", "type": { "name": "MlDataFrameAnalyticsJobs", "namespace": "xpack.usage" } } }, { "name": "inference", "required": true, "type": { "kind": "instance_of", "type": { "name": "MlInference", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L372-L379" }, { "kind": "interface", "name": { "name": "MlCounter", "namespace": "xpack.usage" }, "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L255-L257" }, { "kind": "interface", "name": { "name": "MlDataFrameAnalyticsJobs", "namespace": "xpack.usage" }, "properties": [ { "name": "memory_usage", "required": false, "type": { "kind": "instance_of", "type": { "name": "MlDataFrameAnalyticsJobsMemory", "namespace": "xpack.usage" } } }, { "name": "_all", "required": true, "type": { "kind": "instance_of", "type": { "name": "MlDataFrameAnalyticsJobsCount", "namespace": "xpack.usage" } } }, { "name": "analysis_counts", "required": false, "type": { "kind": "instance_of", "type": { "name": "MlDataFrameAnalyticsJobsAnalysis", "namespace": "xpack.usage" } } }, { "name": "stopped", "required": false, "type": { "kind": "instance_of", "type": { "name": "MlDataFrameAnalyticsJobsCount", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L177-L182" }, { "kind": "interface", "name": { "name": "MlDataFrameAnalyticsJobsAnalysis", "namespace": "xpack.usage" }, "properties": [ { "name": "classification", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "outlier_detection", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "regression", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L184-L188" }, { "kind": "interface", "name": { "name": "MlDataFrameAnalyticsJobsCount", "namespace": "xpack.usage" }, "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L194-L196" }, { "kind": "interface", "name": { "name": "MlDataFrameAnalyticsJobsMemory", "namespace": "xpack.usage" }, "properties": [ { "name": "peak_usage_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "JobStatistics", "namespace": "ml._types" } } } ], "specLocation": "xpack/usage/types.ts#L190-L192" }, { "kind": "interface", "name": { "name": "MlInference", "namespace": "xpack.usage" }, "properties": [ { "name": "ingest_processors", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "MlInferenceIngestProcessor", "namespace": "xpack.usage" } } } }, { "name": "trained_models", "required": true, "type": { "kind": "instance_of", "type": { "name": "MlInferenceTrainedModels", "namespace": "xpack.usage" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.0.0" } }, "name": "deployments", "required": false, "since": "8.0.0", "type": { "kind": "instance_of", "type": { "name": "MlInferenceDeployments", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L198-L206" }, { "kind": "interface", "name": { "name": "MlInferenceDeployments", "namespace": "xpack.usage" }, "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "inference_counts", "required": true, "type": { "kind": "instance_of", "type": { "name": "JobStatistics", "namespace": "ml._types" } } }, { "name": "model_sizes_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "JobStatistics", "namespace": "ml._types" } } }, { "name": "time_ms", "required": true, "type": { "kind": "instance_of", "type": { "name": "MlInferenceDeploymentsTimeMs", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L227-L232" }, { "kind": "interface", "name": { "name": "MlInferenceDeploymentsTimeMs", "namespace": "xpack.usage" }, "properties": [ { "name": "avg", "required": true, "type": { "kind": "instance_of", "type": { "name": "double", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L234-L236" }, { "kind": "interface", "name": { "name": "MlInferenceIngestProcessor", "namespace": "xpack.usage" }, "properties": [ { "name": "num_docs_processed", "required": true, "type": { "kind": "instance_of", "type": { "name": "MlInferenceIngestProcessorCount", "namespace": "xpack.usage" } } }, { "name": "pipelines", "required": true, "type": { "kind": "instance_of", "type": { "name": "MlCounter", "namespace": "xpack.usage" } } }, { "name": "num_failures", "required": true, "type": { "kind": "instance_of", "type": { "name": "MlInferenceIngestProcessorCount", "namespace": "xpack.usage" } } }, { "name": "time_ms", "required": true, "type": { "kind": "instance_of", "type": { "name": "MlInferenceIngestProcessorCount", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L208-L213" }, { "kind": "interface", "name": { "name": "MlInferenceIngestProcessorCount", "namespace": "xpack.usage" }, "properties": [ { "name": "max", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "sum", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "min", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L238-L242" }, { "kind": "interface", "name": { "name": "MlInferenceTrainedModels", "namespace": "xpack.usage" }, "properties": [ { "name": "estimated_operations", "required": false, "type": { "kind": "instance_of", "type": { "name": "JobStatistics", "namespace": "ml._types" } } }, { "name": "estimated_heap_memory_usage_bytes", "required": false, "type": { "kind": "instance_of", "type": { "name": "JobStatistics", "namespace": "ml._types" } } }, { "name": "count", "required": false, "type": { "kind": "instance_of", "type": { "name": "MlInferenceTrainedModelsCount", "namespace": "xpack.usage" } } }, { "name": "_all", "required": true, "type": { "kind": "instance_of", "type": { "name": "MlCounter", "namespace": "xpack.usage" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.0.0" } }, "name": "model_size_bytes", "required": false, "since": "8.0.0", "type": { "kind": "instance_of", "type": { "name": "JobStatistics", "namespace": "ml._types" } } } ], "specLocation": "xpack/usage/types.ts#L215-L225" }, { "kind": "interface", "name": { "name": "MlInferenceTrainedModelsCount", "namespace": "xpack.usage" }, "properties": [ { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "prepackaged", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "other", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "pass_through", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "regression", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "classification", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "ner", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "text_embedding", "required": false, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L244-L253" }, { "kind": "interface", "name": { "name": "MlJobForecasts", "namespace": "xpack.usage" }, "properties": [ { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "forecasted_jobs", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L172-L175" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "Monitoring", "namespace": "xpack.usage" }, "properties": [ { "name": "collection_enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "enabled_exporters", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } } ], "specLocation": "xpack/usage/types.ts#L381-L384" }, { "kind": "interface", "name": { "name": "Query", "namespace": "xpack.usage" }, "properties": [ { "name": "count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "failed", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "paging", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "total", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L259-L264" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "Realm", "namespace": "xpack.usage" }, "properties": [ { "name": "name", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "order", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } }, { "name": "size", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } }, { "name": "cache", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RealmCache", "namespace": "xpack.usage" } } } }, { "name": "has_authorization_realms", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } }, { "name": "has_default_username_pattern", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } }, { "name": "has_truststore", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } }, { "name": "is_authentication_delegated", "required": false, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } } ], "specLocation": "xpack/usage/types.ts#L417-L426" }, { "kind": "interface", "name": { "name": "RealmCache", "namespace": "xpack.usage" }, "properties": [ { "name": "size", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L266-L268" }, { "attachedBehaviors": [ "CommonQueryParameters" ], "body": { "kind": "no_body" }, "description": "This API provides information about which features are currently enabled and available under the current license and some usage statistics.", "inherits": { "type": { "name": "RequestBase", "namespace": "_types" } }, "kind": "request", "name": { "name": "Request", "namespace": "xpack.usage" }, "path": [], "query": [ { "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } } ], "specLocation": "xpack/usage/XPackUsageRequest.ts#L23-L38" }, { "body": { "kind": "properties", "properties": [ { "name": "aggregate_metric", "required": true, "type": { "kind": "instance_of", "type": { "name": "Base", "namespace": "xpack.usage" } } }, { "name": "analytics", "required": true, "type": { "kind": "instance_of", "type": { "name": "Analytics", "namespace": "xpack.usage" } } }, { "availability": { "serverless": {}, "stack": { "since": "8.2.0" } }, "name": "archive", "required": true, "since": "8.2.0", "type": { "kind": "instance_of", "type": { "name": "Archive", "namespace": "xpack.usage" } } }, { "name": "watcher", "required": true, "type": { "kind": "instance_of", "type": { "name": "Watcher", "namespace": "xpack.usage" } } }, { "name": "ccr", "required": true, "type": { "kind": "instance_of", "type": { "name": "Ccr", "namespace": "xpack.usage" } } }, { "name": "data_frame", "required": false, "type": { "kind": "instance_of", "type": { "name": "Base", "namespace": "xpack.usage" } } }, { "name": "data_science", "required": false, "type": { "kind": "instance_of", "type": { "name": "Base", "namespace": "xpack.usage" } } }, { "name": "data_streams", "required": false, "type": { "kind": "instance_of", "type": { "name": "DataStreams", "namespace": "xpack.usage" } } }, { "name": "data_tiers", "required": true, "type": { "kind": "instance_of", "type": { "name": "DataTiers", "namespace": "xpack.usage" } } }, { "name": "enrich", "required": false, "type": { "kind": "instance_of", "type": { "name": "Base", "namespace": "xpack.usage" } } }, { "name": "eql", "required": true, "type": { "kind": "instance_of", "type": { "name": "Eql", "namespace": "xpack.usage" } } }, { "name": "flattened", "required": false, "type": { "kind": "instance_of", "type": { "name": "Flattened", "namespace": "xpack.usage" } } }, { "name": "frozen_indices", "required": true, "type": { "kind": "instance_of", "type": { "name": "FrozenIndices", "namespace": "xpack.usage" } } }, { "name": "graph", "required": true, "type": { "kind": "instance_of", "type": { "name": "Base", "namespace": "xpack.usage" } } }, { "name": "health_api", "required": false, "type": { "kind": "instance_of", "type": { "name": "HealthStatistics", "namespace": "xpack.usage" } } }, { "name": "ilm", "required": true, "type": { "kind": "instance_of", "type": { "name": "Ilm", "namespace": "xpack.usage" } } }, { "name": "logstash", "required": true, "type": { "kind": "instance_of", "type": { "name": "Base", "namespace": "xpack.usage" } } }, { "name": "ml", "required": true, "type": { "kind": "instance_of", "type": { "name": "MachineLearning", "namespace": "xpack.usage" } } }, { "name": "monitoring", "required": true, "type": { "kind": "instance_of", "type": { "name": "Monitoring", "namespace": "xpack.usage" } } }, { "name": "rollup", "required": true, "type": { "kind": "instance_of", "type": { "name": "Base", "namespace": "xpack.usage" } } }, { "name": "runtime_fields", "required": false, "type": { "kind": "instance_of", "type": { "name": "RuntimeFieldTypes", "namespace": "xpack.usage" } } }, { "name": "spatial", "required": true, "type": { "kind": "instance_of", "type": { "name": "Base", "namespace": "xpack.usage" } } }, { "name": "searchable_snapshots", "required": true, "type": { "kind": "instance_of", "type": { "name": "SearchableSnapshots", "namespace": "xpack.usage" } } }, { "name": "security", "required": true, "type": { "kind": "instance_of", "type": { "name": "Security", "namespace": "xpack.usage" } } }, { "name": "slm", "required": true, "type": { "kind": "instance_of", "type": { "name": "Slm", "namespace": "xpack.usage" } } }, { "name": "sql", "required": true, "type": { "kind": "instance_of", "type": { "name": "Sql", "namespace": "xpack.usage" } } }, { "name": "transform", "required": true, "type": { "kind": "instance_of", "type": { "name": "Base", "namespace": "xpack.usage" } } }, { "name": "vectors", "required": false, "type": { "kind": "instance_of", "type": { "name": "Vector", "namespace": "xpack.usage" } } }, { "name": "voting_only", "required": true, "type": { "kind": "instance_of", "type": { "name": "Base", "namespace": "xpack.usage" } } } ] }, "kind": "response", "name": { "name": "Response", "namespace": "xpack.usage" }, "specLocation": "xpack/usage/XPackUsageResponse.ts#L43-L79" }, { "kind": "interface", "name": { "name": "RoleMapping", "namespace": "xpack.usage" }, "properties": [ { "name": "enabled", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "size", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L270-L273" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "RuntimeFieldTypes", "namespace": "xpack.usage" }, "properties": [ { "name": "field_types", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "RuntimeFieldsType", "namespace": "xpack.usage" } } } } ], "specLocation": "xpack/usage/types.ts#L275-L277" }, { "kind": "interface", "name": { "name": "RuntimeFieldsType", "namespace": "xpack.usage" }, "properties": [ { "name": "chars_max", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "chars_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "doc_max", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "doc_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "index_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "lang", "required": true, "type": { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } }, { "name": "lines_max", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "lines_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "name", "required": true, "type": { "kind": "instance_of", "type": { "name": "Field", "namespace": "_types" } } }, { "name": "scriptless_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "shadowed_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "source_max", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } }, { "name": "source_total", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L279-L294" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "SearchableSnapshots", "namespace": "xpack.usage" }, "properties": [ { "name": "indices_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "full_copy_indices_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "shared_cache_indices_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L428-L432" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "Security", "namespace": "xpack.usage" }, "properties": [ { "name": "api_key_service", "required": true, "type": { "kind": "instance_of", "type": { "name": "FeatureToggle", "namespace": "xpack.usage" } } }, { "name": "anonymous", "required": true, "type": { "kind": "instance_of", "type": { "name": "FeatureToggle", "namespace": "xpack.usage" } } }, { "name": "audit", "required": true, "type": { "kind": "instance_of", "type": { "name": "Audit", "namespace": "xpack.usage" } } }, { "name": "fips_140", "required": true, "type": { "kind": "instance_of", "type": { "name": "FeatureToggle", "namespace": "xpack.usage" } } }, { "name": "ipfilter", "required": true, "type": { "kind": "instance_of", "type": { "name": "IpFilter", "namespace": "xpack.usage" } } }, { "name": "realms", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Realm", "namespace": "xpack.usage" } } } }, { "name": "role_mapping", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "RoleMapping", "namespace": "xpack.usage" } } } }, { "name": "roles", "required": true, "type": { "kind": "instance_of", "type": { "name": "SecurityRoles", "namespace": "xpack.usage" } } }, { "name": "ssl", "required": true, "type": { "kind": "instance_of", "type": { "name": "Ssl", "namespace": "xpack.usage" } } }, { "name": "system_key", "required": false, "type": { "kind": "instance_of", "type": { "name": "FeatureToggle", "namespace": "xpack.usage" } } }, { "name": "token_service", "required": true, "type": { "kind": "instance_of", "type": { "name": "FeatureToggle", "namespace": "xpack.usage" } } }, { "name": "operator_privileges", "required": true, "type": { "kind": "instance_of", "type": { "name": "Base", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L434-L447" }, { "kind": "interface", "name": { "name": "SecurityRoles", "namespace": "xpack.usage" }, "properties": [ { "name": "native", "required": true, "type": { "kind": "instance_of", "type": { "name": "SecurityRolesNative", "namespace": "xpack.usage" } } }, { "name": "dls", "required": true, "type": { "kind": "instance_of", "type": { "name": "SecurityRolesDls", "namespace": "xpack.usage" } } }, { "name": "file", "required": true, "type": { "kind": "instance_of", "type": { "name": "SecurityRolesFile", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L296-L300" }, { "kind": "interface", "name": { "name": "SecurityRolesDls", "namespace": "xpack.usage" }, "properties": [ { "name": "bit_set_cache", "required": true, "type": { "kind": "instance_of", "type": { "name": "SecurityRolesDlsBitSetCache", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L308-L310" }, { "kind": "interface", "name": { "name": "SecurityRolesDlsBitSetCache", "namespace": "xpack.usage" }, "properties": [ { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "memory", "required": false, "type": { "kind": "instance_of", "type": { "name": "ByteSize", "namespace": "_types" } } }, { "name": "memory_in_bytes", "required": true, "type": { "kind": "instance_of", "type": { "name": "ulong", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L312-L316" }, { "kind": "interface", "name": { "name": "SecurityRolesFile", "namespace": "xpack.usage" }, "properties": [ { "name": "dls", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "fls", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "size", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L318-L322" }, { "kind": "interface", "name": { "name": "SecurityRolesNative", "namespace": "xpack.usage" }, "properties": [ { "name": "dls", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "fls", "required": true, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "name": "size", "required": true, "type": { "kind": "instance_of", "type": { "name": "long", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L302-L306" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "Slm", "namespace": "xpack.usage" }, "properties": [ { "name": "policy_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "policy_stats", "required": false, "type": { "kind": "instance_of", "type": { "name": "Statistics", "namespace": "slm._types" } } } ], "specLocation": "xpack/usage/types.ts#L449-L452" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "Sql", "namespace": "xpack.usage" }, "properties": [ { "name": "features", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } }, { "name": "queries", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Query", "namespace": "xpack.usage" } } } } ], "specLocation": "xpack/usage/types.ts#L386-L389" }, { "kind": "interface", "name": { "name": "Ssl", "namespace": "xpack.usage" }, "properties": [ { "name": "http", "required": true, "type": { "kind": "instance_of", "type": { "name": "FeatureToggle", "namespace": "xpack.usage" } } }, { "name": "transport", "required": true, "type": { "kind": "instance_of", "type": { "name": "FeatureToggle", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L391-L394" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "Vector", "namespace": "xpack.usage" }, "properties": [ { "name": "dense_vector_dims_avg_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "dense_vector_fields_count", "required": true, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } }, { "name": "sparse_vector_fields_count", "required": false, "type": { "kind": "instance_of", "type": { "name": "integer", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L454-L458" }, { "inherits": { "type": { "name": "Base", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "Watcher", "namespace": "xpack.usage" }, "properties": [ { "name": "execution", "required": true, "type": { "kind": "instance_of", "type": { "name": "WatcherActions", "namespace": "xpack.usage" } } }, { "name": "watch", "required": true, "type": { "kind": "instance_of", "type": { "name": "WatcherWatch", "namespace": "xpack.usage" } } }, { "name": "count", "required": true, "type": { "kind": "instance_of", "type": { "name": "Counter", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L460-L464" }, { "kind": "interface", "name": { "name": "WatcherActionTotals", "namespace": "xpack.usage" }, "properties": [ { "name": "total", "required": true, "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "name": "total_time_in_ms", "required": true, "type": { "generics": [ { "kind": "instance_of", "type": { "name": "UnitMillis", "namespace": "_types" } } ], "kind": "instance_of", "type": { "name": "DurationValue", "namespace": "_types" } } } ], "specLocation": "xpack/usage/types.ts#L412-L415" }, { "kind": "interface", "name": { "name": "WatcherActions", "namespace": "xpack.usage" }, "properties": [ { "name": "actions", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "WatcherActionTotals", "namespace": "xpack.usage" } } } } ], "specLocation": "xpack/usage/types.ts#L396-L398" }, { "kind": "interface", "name": { "name": "WatcherWatch", "namespace": "xpack.usage" }, "properties": [ { "name": "input", "required": true, "type": { "key": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Counter", "namespace": "xpack.usage" } } } }, { "name": "condition", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Counter", "namespace": "xpack.usage" } } } }, { "name": "action", "required": false, "type": { "key": { "kind": "instance_of", "type": { "name": "Name", "namespace": "_types" } }, "kind": "dictionary_of", "singleKey": false, "value": { "kind": "instance_of", "type": { "name": "Counter", "namespace": "xpack.usage" } } } }, { "name": "trigger", "required": true, "type": { "kind": "instance_of", "type": { "name": "WatcherWatchTrigger", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L400-L405" }, { "kind": "interface", "name": { "name": "WatcherWatchTrigger", "namespace": "xpack.usage" }, "properties": [ { "name": "schedule", "required": false, "type": { "kind": "instance_of", "type": { "name": "WatcherWatchTriggerSchedule", "namespace": "xpack.usage" } } }, { "name": "_all", "required": true, "type": { "kind": "instance_of", "type": { "name": "Counter", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L407-L410" }, { "inherits": { "type": { "name": "Counter", "namespace": "xpack.usage" } }, "kind": "interface", "name": { "name": "WatcherWatchTriggerSchedule", "namespace": "xpack.usage" }, "properties": [ { "name": "cron", "required": true, "type": { "kind": "instance_of", "type": { "name": "Counter", "namespace": "xpack.usage" } } }, { "name": "_all", "required": true, "type": { "kind": "instance_of", "type": { "name": "Counter", "namespace": "xpack.usage" } } } ], "specLocation": "xpack/usage/types.ts#L466-L469" }, { "description": "In some places in the specification an object consists of the union of a set of known properties\nand a set of runtime injected properties. Meaning that object should theoretically extend Dictionary but expose\na set of known keys and possibly. The object might already be part of an object graph and have a parent class.\nThis puts it into a bind that needs a client specific solution.\nWe therefore document the requirement to behave like a dictionary for unknown properties with this interface.", "generics": [ { "name": "TKey", "namespace": "_spec_utils" }, { "name": "TValue", "namespace": "_spec_utils" } ], "kind": "interface", "name": { "name": "AdditionalProperties", "namespace": "_spec_utils" }, "properties": [], "specLocation": "_spec_utils/behaviors.ts#L29-L37" }, { "description": "In some places in the specification an object consists of a static set of properties and a single additional property\nwith an arbitrary name but a statically defined type. This is typically used for configurations associated\nto a single field. Meaning that object should theoretically extend SingleKeyDictionary but expose\na set of known keys. And possibly the object might already be part of an object graph and have a parent class.\nThis puts it into a bind that needs a client specific solution.\nWe therefore document the requirement to accept a single unknown property with this interface.", "generics": [ { "name": "TKey", "namespace": "_spec_utils" }, { "name": "TValue", "namespace": "_spec_utils" } ], "kind": "interface", "name": { "name": "AdditionalProperty", "namespace": "_spec_utils" }, "properties": [], "specLocation": "_spec_utils/behaviors.ts#L39-L48" }, { "description": "Implements a set of common query parameters all API's support.\nSince these can break the request structure these are listed explicitly as a behavior.\nIts up to individual clients to define support although `error_trace` and `pretty` are\nrecommended as a minimum.", "kind": "interface", "name": { "name": "CommonQueryParameters", "namespace": "_spec_utils" }, "properties": [ { "description": "When set to `true` Elasticsearch will include the full stack trace of errors\nwhen they occur.", "name": "error_trace", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Comma-separated list of filters in dot notation which reduce the response\nreturned by Elasticsearch.", "name": "filter_path", "required": false, "type": { "items": [ { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } }, { "kind": "array_of", "value": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } } ], "kind": "union_of" } }, { "description": "When set to `true` will return statistics in a format suitable for humans.\nFor example `\"exists_time\": \"1h\"` for humans and\n`\"eixsts_time_in_millis\": 3600000` for computers. When disabled the human\nreadable values will be omitted. This makes sense for responses being consumed\nonly by machines.", "name": "human", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If set to `true` the returned JSON will be \"pretty-formatted\". Only use\nthis option for debugging only.", "name": "pretty", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_spec_utils/behaviors.ts#L50-L84" }, { "description": "Implements a set of common query parameters all Cat API's support.\nSince these can break the request structure these are listed explicitly as a behavior.", "kind": "interface", "name": { "name": "CommonCatQueryParameters", "namespace": "_spec_utils" }, "properties": [ { "description": "Specifies the format to return the columnar data in, can be set to\n`text`, `json`, `cbor`, `yaml`, or `smile`.", "name": "format", "required": false, "serverDefault": "text", "type": { "kind": "instance_of", "type": { "name": "string", "namespace": "_builtins" } } }, { "description": "List of columns to appear in the response. Supports simple wildcards.", "name": "h", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } }, { "description": "When set to `true` will output available columns. This option\ncan't be combined with any other query string option.", "name": "help", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "If `true`, the request computes the list of selected nodes from the\nlocal cluster state. If `false` the list of selected nodes are computed\nfrom the cluster state of the master node. In both cases the coordinating\nnode will send requests for further information to each selected node.", "name": "local", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } }, { "description": "Period to wait for a connection to the master node.", "name": "master_timeout", "required": false, "serverDefault": "30s", "type": { "kind": "instance_of", "type": { "name": "Duration", "namespace": "_types" } } }, { "description": "List of columns that determine how the table should be sorted.\nSorting defaults to ascending and can be changed by setting `:asc`\nor `:desc` as a suffix to the column name.", "name": "s", "required": false, "type": { "kind": "instance_of", "type": { "name": "Names", "namespace": "_types" } } }, { "description": "When set to `true` will enable verbose output.", "name": "v", "required": false, "serverDefault": false, "type": { "kind": "instance_of", "type": { "name": "boolean", "namespace": "_builtins" } } } ], "specLocation": "_spec_utils/behaviors.ts#L86-L132" }, { "description": "A class that implements `OverloadOf` should have the exact same properties with the same types.\nIt can change if a property is required or not. There is no need to port the descriptions\nand js doc tags, the compiler will do that for you.", "generics": [ { "name": "TDefinition", "namespace": "_spec_utils" } ], "kind": "interface", "name": { "name": "OverloadOf", "namespace": "_spec_utils" }, "properties": [], "specLocation": "_spec_utils/behaviors.ts#L134-L140" } ] }