elasticsearch 8.17.1__py3-none-any.whl → 8.17.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- elasticsearch/__init__.py +2 -2
- elasticsearch/_async/client/__init__.py +1971 -779
- elasticsearch/_async/client/async_search.py +33 -22
- elasticsearch/_async/client/autoscaling.py +27 -21
- elasticsearch/_async/client/cat.py +216 -141
- elasticsearch/_async/client/ccr.py +96 -70
- elasticsearch/_async/client/cluster.py +150 -142
- elasticsearch/_async/client/connector.py +182 -86
- elasticsearch/_async/client/dangling_indices.py +19 -13
- elasticsearch/_async/client/enrich.py +25 -6
- elasticsearch/_async/client/eql.py +22 -9
- elasticsearch/_async/client/esql.py +295 -3
- elasticsearch/_async/client/features.py +25 -25
- elasticsearch/_async/client/fleet.py +15 -9
- elasticsearch/_async/client/graph.py +9 -8
- elasticsearch/_async/client/ilm.py +85 -55
- elasticsearch/_async/client/indices.py +692 -549
- elasticsearch/_async/client/inference.py +32 -28
- elasticsearch/_async/client/ingest.py +61 -22
- elasticsearch/_async/client/license.py +48 -31
- elasticsearch/_async/client/logstash.py +17 -6
- elasticsearch/_async/client/migration.py +23 -14
- elasticsearch/_async/client/ml.py +532 -284
- elasticsearch/_async/client/monitoring.py +5 -2
- elasticsearch/_async/client/nodes.py +43 -27
- elasticsearch/_async/client/query_rules.py +51 -25
- elasticsearch/_async/client/rollup.py +111 -73
- elasticsearch/_async/client/search_application.py +49 -21
- elasticsearch/_async/client/searchable_snapshots.py +21 -8
- elasticsearch/_async/client/security.py +810 -472
- elasticsearch/_async/client/shutdown.py +31 -26
- elasticsearch/_async/client/simulate.py +16 -22
- elasticsearch/_async/client/slm.py +55 -30
- elasticsearch/_async/client/snapshot.py +173 -192
- elasticsearch/_async/client/sql.py +37 -16
- elasticsearch/_async/client/ssl.py +16 -17
- elasticsearch/_async/client/synonyms.py +50 -29
- elasticsearch/_async/client/tasks.py +74 -39
- elasticsearch/_async/client/text_structure.py +61 -52
- elasticsearch/_async/client/transform.py +108 -79
- elasticsearch/_async/client/watcher.py +93 -57
- elasticsearch/_async/client/xpack.py +16 -7
- elasticsearch/_async/helpers.py +1 -1
- elasticsearch/_sync/client/__init__.py +1971 -779
- elasticsearch/_sync/client/async_search.py +33 -22
- elasticsearch/_sync/client/autoscaling.py +27 -21
- elasticsearch/_sync/client/cat.py +216 -141
- elasticsearch/_sync/client/ccr.py +96 -70
- elasticsearch/_sync/client/cluster.py +150 -142
- elasticsearch/_sync/client/connector.py +182 -86
- elasticsearch/_sync/client/dangling_indices.py +19 -13
- elasticsearch/_sync/client/enrich.py +25 -6
- elasticsearch/_sync/client/eql.py +22 -9
- elasticsearch/_sync/client/esql.py +295 -3
- elasticsearch/_sync/client/features.py +25 -25
- elasticsearch/_sync/client/fleet.py +15 -9
- elasticsearch/_sync/client/graph.py +9 -8
- elasticsearch/_sync/client/ilm.py +85 -55
- elasticsearch/_sync/client/indices.py +692 -549
- elasticsearch/_sync/client/inference.py +32 -28
- elasticsearch/_sync/client/ingest.py +61 -22
- elasticsearch/_sync/client/license.py +48 -31
- elasticsearch/_sync/client/logstash.py +17 -6
- elasticsearch/_sync/client/migration.py +23 -14
- elasticsearch/_sync/client/ml.py +532 -284
- elasticsearch/_sync/client/monitoring.py +5 -2
- elasticsearch/_sync/client/nodes.py +43 -27
- elasticsearch/_sync/client/query_rules.py +51 -25
- elasticsearch/_sync/client/rollup.py +111 -73
- elasticsearch/_sync/client/search_application.py +49 -21
- elasticsearch/_sync/client/searchable_snapshots.py +21 -8
- elasticsearch/_sync/client/security.py +810 -472
- elasticsearch/_sync/client/shutdown.py +31 -26
- elasticsearch/_sync/client/simulate.py +16 -22
- elasticsearch/_sync/client/slm.py +55 -30
- elasticsearch/_sync/client/snapshot.py +173 -192
- elasticsearch/_sync/client/sql.py +37 -16
- elasticsearch/_sync/client/ssl.py +16 -17
- elasticsearch/_sync/client/synonyms.py +50 -29
- elasticsearch/_sync/client/tasks.py +74 -39
- elasticsearch/_sync/client/text_structure.py +61 -52
- elasticsearch/_sync/client/transform.py +108 -79
- elasticsearch/_sync/client/utils.py +1 -1
- elasticsearch/_sync/client/watcher.py +93 -57
- elasticsearch/_sync/client/xpack.py +16 -7
- elasticsearch/_version.py +1 -1
- elasticsearch/client.py +2 -0
- elasticsearch/helpers/actions.py +1 -1
- elasticsearch/helpers/vectorstore/_sync/vectorstore.py +4 -1
- {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/METADATA +1 -1
- elasticsearch-8.17.2.dist-info/RECORD +119 -0
- elasticsearch-8.17.1.dist-info/RECORD +0 -119
- {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/WHEEL +0 -0
- {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/licenses/NOTICE +0 -0
|
@@ -57,18 +57,22 @@ class CatClient(NamespacedClient):
|
|
|
57
57
|
v: t.Optional[bool] = None,
|
|
58
58
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
59
59
|
"""
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
.. raw:: html
|
|
61
|
+
|
|
62
|
+
<p>Get aliases.</p>
|
|
63
|
+
<p>Get the cluster's index aliases, including filter and routing information.
|
|
64
|
+
This API does not return data stream aliases.</p>
|
|
65
|
+
<p>IMPORTANT: 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.</p>
|
|
66
|
+
|
|
65
67
|
|
|
66
68
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-alias.html>`_
|
|
67
69
|
|
|
68
70
|
:param name: A comma-separated list of aliases to retrieve. Supports wildcards
|
|
69
71
|
(`*`). To retrieve all aliases, omit this parameter or use `*` or `_all`.
|
|
70
|
-
:param expand_wildcards:
|
|
71
|
-
|
|
72
|
+
:param expand_wildcards: The type of index that wildcard patterns can match.
|
|
73
|
+
If the request can target data streams, this argument determines whether
|
|
74
|
+
wildcard expressions match hidden data streams. It supports comma-separated
|
|
75
|
+
values, such as `open,hidden`.
|
|
72
76
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
73
77
|
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
74
78
|
:param h: List of columns to appear in the response. Supports simple wildcards.
|
|
@@ -78,7 +82,10 @@ class CatClient(NamespacedClient):
|
|
|
78
82
|
the local cluster state. If `false` the list of selected nodes are computed
|
|
79
83
|
from the cluster state of the master node. In both cases the coordinating
|
|
80
84
|
node will send requests for further information to each selected node.
|
|
81
|
-
:param master_timeout:
|
|
85
|
+
:param master_timeout: The period to wait for a connection to the master node.
|
|
86
|
+
If the master node is not available before the timeout expires, the request
|
|
87
|
+
fails and returns an error. To indicated that the request should never timeout,
|
|
88
|
+
you can set it to `-1`.
|
|
82
89
|
:param s: List of columns that determine how the table should be sorted. Sorting
|
|
83
90
|
defaults to ascending and can be changed by setting `:asc` or `:desc` as
|
|
84
91
|
a suffix to the column name.
|
|
@@ -147,13 +154,16 @@ class CatClient(NamespacedClient):
|
|
|
147
154
|
v: t.Optional[bool] = None,
|
|
148
155
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
149
156
|
"""
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
157
|
+
.. raw:: html
|
|
158
|
+
|
|
159
|
+
<p>Get shard allocation information.</p>
|
|
160
|
+
<p>Get a snapshot of the number of shards allocated to each data node and their disk space.</p>
|
|
161
|
+
<p>IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.</p>
|
|
162
|
+
|
|
153
163
|
|
|
154
164
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-allocation.html>`_
|
|
155
165
|
|
|
156
|
-
:param node_id:
|
|
166
|
+
:param node_id: A comma-separated list of node identifiers or names used to limit
|
|
157
167
|
the returned information.
|
|
158
168
|
:param bytes: The unit used to display byte values.
|
|
159
169
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
@@ -231,17 +241,19 @@ class CatClient(NamespacedClient):
|
|
|
231
241
|
v: t.Optional[bool] = None,
|
|
232
242
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
233
243
|
"""
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
244
|
+
.. raw:: html
|
|
245
|
+
|
|
246
|
+
<p>Get component templates.</p>
|
|
247
|
+
<p>Get information about component templates in a cluster.
|
|
248
|
+
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.</p>
|
|
249
|
+
<p>IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console.
|
|
250
|
+
They are not intended for use by applications. For application consumption, use the get component template API.</p>
|
|
251
|
+
|
|
240
252
|
|
|
241
253
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-component-templates.html>`_
|
|
242
254
|
|
|
243
|
-
:param name: The name of the component template.
|
|
244
|
-
If omitted, all component templates are returned.
|
|
255
|
+
:param name: The name of the component template. It accepts wildcard expressions.
|
|
256
|
+
If it is omitted, all component templates are returned.
|
|
245
257
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
246
258
|
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
247
259
|
:param h: List of columns to appear in the response. Supports simple wildcards.
|
|
@@ -251,7 +263,7 @@ class CatClient(NamespacedClient):
|
|
|
251
263
|
the local cluster state. If `false` the list of selected nodes are computed
|
|
252
264
|
from the cluster state of the master node. In both cases the coordinating
|
|
253
265
|
node will send requests for further information to each selected node.
|
|
254
|
-
:param master_timeout:
|
|
266
|
+
:param master_timeout: The period to wait for a connection to the master node.
|
|
255
267
|
:param s: List of columns that determine how the table should be sorted. Sorting
|
|
256
268
|
defaults to ascending and can be changed by setting `:asc` or `:desc` as
|
|
257
269
|
a suffix to the column name.
|
|
@@ -313,17 +325,19 @@ class CatClient(NamespacedClient):
|
|
|
313
325
|
v: t.Optional[bool] = None,
|
|
314
326
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
315
327
|
"""
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
328
|
+
.. raw:: html
|
|
329
|
+
|
|
330
|
+
<p>Get a document count.</p>
|
|
331
|
+
<p>Get quick access to a document count for a data stream, an index, or an entire cluster.
|
|
332
|
+
The document count only includes live documents, not deleted documents which have not yet been removed by the merge process.</p>
|
|
333
|
+
<p>IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console.
|
|
334
|
+
They are not intended for use by applications. For application consumption, use the count API.</p>
|
|
335
|
+
|
|
322
336
|
|
|
323
337
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-count.html>`_
|
|
324
338
|
|
|
325
|
-
:param index:
|
|
326
|
-
to limit the request.
|
|
339
|
+
:param index: A comma-separated list of data streams, indices, and aliases used
|
|
340
|
+
to limit the request. It supports wildcards (`*`). To target all data streams
|
|
327
341
|
and indices, omit this parameter or use `*` or `_all`.
|
|
328
342
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
329
343
|
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
@@ -390,10 +404,13 @@ class CatClient(NamespacedClient):
|
|
|
390
404
|
v: t.Optional[bool] = None,
|
|
391
405
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
392
406
|
"""
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
407
|
+
.. raw:: html
|
|
408
|
+
|
|
409
|
+
<p>Get field data cache information.</p>
|
|
410
|
+
<p>Get the amount of heap memory currently used by the field data cache on every data node in the cluster.</p>
|
|
411
|
+
<p>IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console.
|
|
412
|
+
They are not intended for use by applications. For application consumption, use the nodes stats API.</p>
|
|
413
|
+
|
|
397
414
|
|
|
398
415
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-fielddata.html>`_
|
|
399
416
|
|
|
@@ -467,17 +484,19 @@ class CatClient(NamespacedClient):
|
|
|
467
484
|
v: t.Optional[bool] = None,
|
|
468
485
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
469
486
|
"""
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
487
|
+
.. raw:: html
|
|
488
|
+
|
|
489
|
+
<p>Get the cluster health status.</p>
|
|
490
|
+
<p>IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console.
|
|
491
|
+
They are not intended for use by applications. For application consumption, use the cluster health API.
|
|
492
|
+
This API is often used to check malfunctioning clusters.
|
|
493
|
+
To help you track cluster health alongside log files and alerting systems, the API returns timestamps in two formats:
|
|
494
|
+
<code>HH:MM:SS</code>, which is human-readable but includes no date information;
|
|
495
|
+
<code>Unix epoch time</code>, which is machine-sortable and includes date information.
|
|
496
|
+
The latter format is useful for cluster recoveries that take multiple days.
|
|
497
|
+
You can use the cat health API to verify cluster health across multiple nodes.
|
|
498
|
+
You also can use the API to track the recovery of a large cluster over a longer period of time.</p>
|
|
499
|
+
|
|
481
500
|
|
|
482
501
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-health.html>`_
|
|
483
502
|
|
|
@@ -531,7 +550,11 @@ class CatClient(NamespacedClient):
|
|
|
531
550
|
@_rewrite_parameters()
|
|
532
551
|
async def help(self) -> TextApiResponse:
|
|
533
552
|
"""
|
|
534
|
-
|
|
553
|
+
.. raw:: html
|
|
554
|
+
|
|
555
|
+
<p>Get CAT help.</p>
|
|
556
|
+
<p>Get help for the CAT APIs.</p>
|
|
557
|
+
|
|
535
558
|
|
|
536
559
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat.html>`_
|
|
537
560
|
"""
|
|
@@ -582,16 +605,23 @@ class CatClient(NamespacedClient):
|
|
|
582
605
|
v: t.Optional[bool] = None,
|
|
583
606
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
584
607
|
"""
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
608
|
+
.. raw:: html
|
|
609
|
+
|
|
610
|
+
<p>Get index information.</p>
|
|
611
|
+
<p>Get high-level information about indices in a cluster, including backing indices for data streams.</p>
|
|
612
|
+
<p>Use this request to get the following information for each index in a cluster:</p>
|
|
613
|
+
<ul>
|
|
614
|
+
<li>shard count</li>
|
|
615
|
+
<li>document count</li>
|
|
616
|
+
<li>deleted document count</li>
|
|
617
|
+
<li>primary store size</li>
|
|
618
|
+
<li>total store size of all shards, including shard replicas</li>
|
|
619
|
+
</ul>
|
|
620
|
+
<p>These 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.
|
|
621
|
+
To get an accurate count of Elasticsearch documents, use the cat count or count APIs.</p>
|
|
622
|
+
<p>CAT APIs are only intended for human consumption using the command line or Kibana console.
|
|
623
|
+
They are not intended for use by applications. For application consumption, use an index endpoint.</p>
|
|
624
|
+
|
|
595
625
|
|
|
596
626
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-indices.html>`_
|
|
597
627
|
|
|
@@ -684,10 +714,12 @@ class CatClient(NamespacedClient):
|
|
|
684
714
|
v: t.Optional[bool] = None,
|
|
685
715
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
686
716
|
"""
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
717
|
+
.. raw:: html
|
|
718
|
+
|
|
719
|
+
<p>Get master node information.</p>
|
|
720
|
+
<p>Get information about the master node, including the ID, bound IP address, and name.</p>
|
|
721
|
+
<p>IMPORTANT: 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.</p>
|
|
722
|
+
|
|
691
723
|
|
|
692
724
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-master.html>`_
|
|
693
725
|
|
|
@@ -858,11 +890,14 @@ class CatClient(NamespacedClient):
|
|
|
858
890
|
v: t.Optional[bool] = None,
|
|
859
891
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
860
892
|
"""
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
893
|
+
.. raw:: html
|
|
894
|
+
|
|
895
|
+
<p>Get data frame analytics jobs.</p>
|
|
896
|
+
<p>Get configuration and usage information about data frame analytics jobs.</p>
|
|
897
|
+
<p>IMPORTANT: CAT APIs are only intended for human consumption using the Kibana
|
|
898
|
+
console or command line. They are not intended for use by applications. For
|
|
899
|
+
application consumption, use the get data frame analytics jobs statistics API.</p>
|
|
900
|
+
|
|
866
901
|
|
|
867
902
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-dfanalytics.html>`_
|
|
868
903
|
|
|
@@ -1020,12 +1055,17 @@ class CatClient(NamespacedClient):
|
|
|
1020
1055
|
v: t.Optional[bool] = None,
|
|
1021
1056
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
1022
1057
|
"""
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1058
|
+
.. raw:: html
|
|
1059
|
+
|
|
1060
|
+
<p>Get datafeeds.</p>
|
|
1061
|
+
<p>Get configuration and usage information about datafeeds.
|
|
1062
|
+
This API returns a maximum of 10,000 datafeeds.
|
|
1063
|
+
If the Elasticsearch security features are enabled, you must have <code>monitor_ml</code>, <code>monitor</code>, <code>manage_ml</code>, or <code>manage</code>
|
|
1064
|
+
cluster privileges to use this API.</p>
|
|
1065
|
+
<p>IMPORTANT: CAT APIs are only intended for human consumption using the Kibana
|
|
1066
|
+
console or command line. They are not intended for use by applications. For
|
|
1067
|
+
application consumption, use the get datafeed statistics API.</p>
|
|
1068
|
+
|
|
1029
1069
|
|
|
1030
1070
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-datafeeds.html>`_
|
|
1031
1071
|
|
|
@@ -1381,13 +1421,17 @@ class CatClient(NamespacedClient):
|
|
|
1381
1421
|
v: t.Optional[bool] = None,
|
|
1382
1422
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
1383
1423
|
"""
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1424
|
+
.. raw:: html
|
|
1425
|
+
|
|
1426
|
+
<p>Get anomaly detection jobs.</p>
|
|
1427
|
+
<p>Get configuration and usage information for anomaly detection jobs.
|
|
1428
|
+
This API returns a maximum of 10,000 jobs.
|
|
1429
|
+
If the Elasticsearch security features are enabled, you must have <code>monitor_ml</code>,
|
|
1430
|
+
<code>monitor</code>, <code>manage_ml</code>, or <code>manage</code> cluster privileges to use this API.</p>
|
|
1431
|
+
<p>IMPORTANT: CAT APIs are only intended for human consumption using the Kibana
|
|
1432
|
+
console or command line. They are not intended for use by applications. For
|
|
1433
|
+
application consumption, use the get anomaly detection job statistics API.</p>
|
|
1434
|
+
|
|
1391
1435
|
|
|
1392
1436
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-anomaly-detectors.html>`_
|
|
1393
1437
|
|
|
@@ -1565,10 +1609,14 @@ class CatClient(NamespacedClient):
|
|
|
1565
1609
|
v: t.Optional[bool] = None,
|
|
1566
1610
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
1567
1611
|
"""
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1612
|
+
.. raw:: html
|
|
1613
|
+
|
|
1614
|
+
<p>Get trained models.</p>
|
|
1615
|
+
<p>Get configuration and usage information about inference trained models.</p>
|
|
1616
|
+
<p>IMPORTANT: CAT APIs are only intended for human consumption using the Kibana
|
|
1617
|
+
console or command line. They are not intended for use by applications. For
|
|
1618
|
+
application consumption, use the get trained models statistics API.</p>
|
|
1619
|
+
|
|
1572
1620
|
|
|
1573
1621
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-trained-model.html>`_
|
|
1574
1622
|
|
|
@@ -1656,10 +1704,12 @@ class CatClient(NamespacedClient):
|
|
|
1656
1704
|
v: t.Optional[bool] = None,
|
|
1657
1705
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
1658
1706
|
"""
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1707
|
+
.. raw:: html
|
|
1708
|
+
|
|
1709
|
+
<p>Get node attribute information.</p>
|
|
1710
|
+
<p>Get information about custom node attributes.
|
|
1711
|
+
IMPORTANT: 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.</p>
|
|
1712
|
+
|
|
1663
1713
|
|
|
1664
1714
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-nodeattrs.html>`_
|
|
1665
1715
|
|
|
@@ -1737,10 +1787,12 @@ class CatClient(NamespacedClient):
|
|
|
1737
1787
|
v: t.Optional[bool] = None,
|
|
1738
1788
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
1739
1789
|
"""
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1790
|
+
.. raw:: html
|
|
1791
|
+
|
|
1792
|
+
<p>Get node information.</p>
|
|
1793
|
+
<p>Get information about the nodes in a cluster.
|
|
1794
|
+
IMPORTANT: 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.</p>
|
|
1795
|
+
|
|
1744
1796
|
|
|
1745
1797
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-nodes.html>`_
|
|
1746
1798
|
|
|
@@ -1822,10 +1874,12 @@ class CatClient(NamespacedClient):
|
|
|
1822
1874
|
v: t.Optional[bool] = None,
|
|
1823
1875
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
1824
1876
|
"""
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1877
|
+
.. raw:: html
|
|
1878
|
+
|
|
1879
|
+
<p>Get pending task information.</p>
|
|
1880
|
+
<p>Get information about cluster-level changes that have not yet taken effect.
|
|
1881
|
+
IMPORTANT: 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.</p>
|
|
1882
|
+
|
|
1829
1883
|
|
|
1830
1884
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-pending-tasks.html>`_
|
|
1831
1885
|
|
|
@@ -1900,10 +1954,12 @@ class CatClient(NamespacedClient):
|
|
|
1900
1954
|
v: t.Optional[bool] = None,
|
|
1901
1955
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
1902
1956
|
"""
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1957
|
+
.. raw:: html
|
|
1958
|
+
|
|
1959
|
+
<p>Get plugin information.</p>
|
|
1960
|
+
<p>Get a list of plugins running on each node of a cluster.
|
|
1961
|
+
IMPORTANT: 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.</p>
|
|
1962
|
+
|
|
1907
1963
|
|
|
1908
1964
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-plugins.html>`_
|
|
1909
1965
|
|
|
@@ -1984,14 +2040,14 @@ class CatClient(NamespacedClient):
|
|
|
1984
2040
|
v: t.Optional[bool] = None,
|
|
1985
2041
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
1986
2042
|
"""
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
2043
|
+
.. raw:: html
|
|
2044
|
+
|
|
2045
|
+
<p>Get shard recovery information.</p>
|
|
2046
|
+
<p>Get information about ongoing and completed shard recoveries.
|
|
2047
|
+
Shard 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.
|
|
2048
|
+
For data streams, the API returns information about the stream’s backing indices.
|
|
2049
|
+
IMPORTANT: 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.</p>
|
|
2050
|
+
|
|
1995
2051
|
|
|
1996
2052
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-recovery.html>`_
|
|
1997
2053
|
|
|
@@ -2074,10 +2130,12 @@ class CatClient(NamespacedClient):
|
|
|
2074
2130
|
v: t.Optional[bool] = None,
|
|
2075
2131
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
2076
2132
|
"""
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2133
|
+
.. raw:: html
|
|
2134
|
+
|
|
2135
|
+
<p>Get snapshot repository information.</p>
|
|
2136
|
+
<p>Get a list of snapshot repositories for a cluster.
|
|
2137
|
+
IMPORTANT: 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.</p>
|
|
2138
|
+
|
|
2081
2139
|
|
|
2082
2140
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-repositories.html>`_
|
|
2083
2141
|
|
|
@@ -2152,11 +2210,13 @@ class CatClient(NamespacedClient):
|
|
|
2152
2210
|
v: t.Optional[bool] = None,
|
|
2153
2211
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
2154
2212
|
"""
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2213
|
+
.. raw:: html
|
|
2214
|
+
|
|
2215
|
+
<p>Get segment information.</p>
|
|
2216
|
+
<p>Get low-level information about the Lucene segments in index shards.
|
|
2217
|
+
For data streams, the API returns information about the backing indices.
|
|
2218
|
+
IMPORTANT: 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.</p>
|
|
2219
|
+
|
|
2160
2220
|
|
|
2161
2221
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-segments.html>`_
|
|
2162
2222
|
|
|
@@ -2244,10 +2304,13 @@ class CatClient(NamespacedClient):
|
|
|
2244
2304
|
v: t.Optional[bool] = None,
|
|
2245
2305
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
2246
2306
|
"""
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2307
|
+
.. raw:: html
|
|
2308
|
+
|
|
2309
|
+
<p>Get shard information.</p>
|
|
2310
|
+
<p>Get information about the shards in a cluster.
|
|
2311
|
+
For data streams, the API returns information about the backing indices.
|
|
2312
|
+
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.</p>
|
|
2313
|
+
|
|
2251
2314
|
|
|
2252
2315
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-shards.html>`_
|
|
2253
2316
|
|
|
@@ -2330,11 +2393,13 @@ class CatClient(NamespacedClient):
|
|
|
2330
2393
|
v: t.Optional[bool] = None,
|
|
2331
2394
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
2332
2395
|
"""
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2396
|
+
.. raw:: html
|
|
2397
|
+
|
|
2398
|
+
<p>Get snapshot information.</p>
|
|
2399
|
+
<p>Get information about the snapshots stored in one or more repositories.
|
|
2400
|
+
A snapshot is a backup of an index or running Elasticsearch cluster.
|
|
2401
|
+
IMPORTANT: 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.</p>
|
|
2402
|
+
|
|
2338
2403
|
|
|
2339
2404
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-snapshots.html>`_
|
|
2340
2405
|
|
|
@@ -2422,10 +2487,12 @@ class CatClient(NamespacedClient):
|
|
|
2422
2487
|
wait_for_completion: t.Optional[bool] = None,
|
|
2423
2488
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
2424
2489
|
"""
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2490
|
+
.. raw:: html
|
|
2491
|
+
|
|
2492
|
+
<p>Get task information.</p>
|
|
2493
|
+
<p>Get information about tasks currently running in the cluster.
|
|
2494
|
+
IMPORTANT: 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.</p>
|
|
2495
|
+
|
|
2429
2496
|
|
|
2430
2497
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/tasks.html>`_
|
|
2431
2498
|
|
|
@@ -2513,11 +2580,13 @@ class CatClient(NamespacedClient):
|
|
|
2513
2580
|
v: t.Optional[bool] = None,
|
|
2514
2581
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
2515
2582
|
"""
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2583
|
+
.. raw:: html
|
|
2584
|
+
|
|
2585
|
+
<p>Get index template information.</p>
|
|
2586
|
+
<p>Get information about the index templates in a cluster.
|
|
2587
|
+
You can use index templates to apply index settings and field mappings to new indices at creation.
|
|
2588
|
+
IMPORTANT: 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.</p>
|
|
2589
|
+
|
|
2521
2590
|
|
|
2522
2591
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-templates.html>`_
|
|
2523
2592
|
|
|
@@ -2599,11 +2668,13 @@ class CatClient(NamespacedClient):
|
|
|
2599
2668
|
v: t.Optional[bool] = None,
|
|
2600
2669
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
2601
2670
|
"""
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2671
|
+
.. raw:: html
|
|
2672
|
+
|
|
2673
|
+
<p>Get thread pool statistics.</p>
|
|
2674
|
+
<p>Get thread pool statistics for each node in a cluster.
|
|
2675
|
+
Returned information includes all built-in thread pools and custom thread pools.
|
|
2676
|
+
IMPORTANT: 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.</p>
|
|
2677
|
+
|
|
2607
2678
|
|
|
2608
2679
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-thread-pool.html>`_
|
|
2609
2680
|
|
|
@@ -2853,10 +2924,14 @@ class CatClient(NamespacedClient):
|
|
|
2853
2924
|
v: t.Optional[bool] = None,
|
|
2854
2925
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
2855
2926
|
"""
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2927
|
+
.. raw:: html
|
|
2928
|
+
|
|
2929
|
+
<p>Get transform information.</p>
|
|
2930
|
+
<p>Get configuration and usage information about transforms.</p>
|
|
2931
|
+
<p>CAT APIs are only intended for human consumption using the Kibana
|
|
2932
|
+
console or command line. They are not intended for use by applications. For
|
|
2933
|
+
application consumption, use the get transform statistics API.</p>
|
|
2934
|
+
|
|
2860
2935
|
|
|
2861
2936
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat-transforms.html>`_
|
|
2862
2937
|
|