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.
Files changed (95) hide show
  1. elasticsearch/__init__.py +2 -2
  2. elasticsearch/_async/client/__init__.py +1971 -779
  3. elasticsearch/_async/client/async_search.py +33 -22
  4. elasticsearch/_async/client/autoscaling.py +27 -21
  5. elasticsearch/_async/client/cat.py +216 -141
  6. elasticsearch/_async/client/ccr.py +96 -70
  7. elasticsearch/_async/client/cluster.py +150 -142
  8. elasticsearch/_async/client/connector.py +182 -86
  9. elasticsearch/_async/client/dangling_indices.py +19 -13
  10. elasticsearch/_async/client/enrich.py +25 -6
  11. elasticsearch/_async/client/eql.py +22 -9
  12. elasticsearch/_async/client/esql.py +295 -3
  13. elasticsearch/_async/client/features.py +25 -25
  14. elasticsearch/_async/client/fleet.py +15 -9
  15. elasticsearch/_async/client/graph.py +9 -8
  16. elasticsearch/_async/client/ilm.py +85 -55
  17. elasticsearch/_async/client/indices.py +692 -549
  18. elasticsearch/_async/client/inference.py +32 -28
  19. elasticsearch/_async/client/ingest.py +61 -22
  20. elasticsearch/_async/client/license.py +48 -31
  21. elasticsearch/_async/client/logstash.py +17 -6
  22. elasticsearch/_async/client/migration.py +23 -14
  23. elasticsearch/_async/client/ml.py +532 -284
  24. elasticsearch/_async/client/monitoring.py +5 -2
  25. elasticsearch/_async/client/nodes.py +43 -27
  26. elasticsearch/_async/client/query_rules.py +51 -25
  27. elasticsearch/_async/client/rollup.py +111 -73
  28. elasticsearch/_async/client/search_application.py +49 -21
  29. elasticsearch/_async/client/searchable_snapshots.py +21 -8
  30. elasticsearch/_async/client/security.py +810 -472
  31. elasticsearch/_async/client/shutdown.py +31 -26
  32. elasticsearch/_async/client/simulate.py +16 -22
  33. elasticsearch/_async/client/slm.py +55 -30
  34. elasticsearch/_async/client/snapshot.py +173 -192
  35. elasticsearch/_async/client/sql.py +37 -16
  36. elasticsearch/_async/client/ssl.py +16 -17
  37. elasticsearch/_async/client/synonyms.py +50 -29
  38. elasticsearch/_async/client/tasks.py +74 -39
  39. elasticsearch/_async/client/text_structure.py +61 -52
  40. elasticsearch/_async/client/transform.py +108 -79
  41. elasticsearch/_async/client/watcher.py +93 -57
  42. elasticsearch/_async/client/xpack.py +16 -7
  43. elasticsearch/_async/helpers.py +1 -1
  44. elasticsearch/_sync/client/__init__.py +1971 -779
  45. elasticsearch/_sync/client/async_search.py +33 -22
  46. elasticsearch/_sync/client/autoscaling.py +27 -21
  47. elasticsearch/_sync/client/cat.py +216 -141
  48. elasticsearch/_sync/client/ccr.py +96 -70
  49. elasticsearch/_sync/client/cluster.py +150 -142
  50. elasticsearch/_sync/client/connector.py +182 -86
  51. elasticsearch/_sync/client/dangling_indices.py +19 -13
  52. elasticsearch/_sync/client/enrich.py +25 -6
  53. elasticsearch/_sync/client/eql.py +22 -9
  54. elasticsearch/_sync/client/esql.py +295 -3
  55. elasticsearch/_sync/client/features.py +25 -25
  56. elasticsearch/_sync/client/fleet.py +15 -9
  57. elasticsearch/_sync/client/graph.py +9 -8
  58. elasticsearch/_sync/client/ilm.py +85 -55
  59. elasticsearch/_sync/client/indices.py +692 -549
  60. elasticsearch/_sync/client/inference.py +32 -28
  61. elasticsearch/_sync/client/ingest.py +61 -22
  62. elasticsearch/_sync/client/license.py +48 -31
  63. elasticsearch/_sync/client/logstash.py +17 -6
  64. elasticsearch/_sync/client/migration.py +23 -14
  65. elasticsearch/_sync/client/ml.py +532 -284
  66. elasticsearch/_sync/client/monitoring.py +5 -2
  67. elasticsearch/_sync/client/nodes.py +43 -27
  68. elasticsearch/_sync/client/query_rules.py +51 -25
  69. elasticsearch/_sync/client/rollup.py +111 -73
  70. elasticsearch/_sync/client/search_application.py +49 -21
  71. elasticsearch/_sync/client/searchable_snapshots.py +21 -8
  72. elasticsearch/_sync/client/security.py +810 -472
  73. elasticsearch/_sync/client/shutdown.py +31 -26
  74. elasticsearch/_sync/client/simulate.py +16 -22
  75. elasticsearch/_sync/client/slm.py +55 -30
  76. elasticsearch/_sync/client/snapshot.py +173 -192
  77. elasticsearch/_sync/client/sql.py +37 -16
  78. elasticsearch/_sync/client/ssl.py +16 -17
  79. elasticsearch/_sync/client/synonyms.py +50 -29
  80. elasticsearch/_sync/client/tasks.py +74 -39
  81. elasticsearch/_sync/client/text_structure.py +61 -52
  82. elasticsearch/_sync/client/transform.py +108 -79
  83. elasticsearch/_sync/client/utils.py +1 -1
  84. elasticsearch/_sync/client/watcher.py +93 -57
  85. elasticsearch/_sync/client/xpack.py +16 -7
  86. elasticsearch/_version.py +1 -1
  87. elasticsearch/client.py +2 -0
  88. elasticsearch/helpers/actions.py +1 -1
  89. elasticsearch/helpers/vectorstore/_sync/vectorstore.py +4 -1
  90. {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/METADATA +1 -1
  91. elasticsearch-8.17.2.dist-info/RECORD +119 -0
  92. elasticsearch-8.17.1.dist-info/RECORD +0 -119
  93. {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/WHEEL +0 -0
  94. {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/licenses/LICENSE +0 -0
  95. {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
- Get aliases. Retrieves the cluster’s index aliases, including filter and routing
61
- information. The API does not return data stream aliases. CAT APIs are only intended
62
- for human consumption using the command line or the Kibana console. They are
63
- not intended for use by applications. For application consumption, use the aliases
64
- API.
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: Whether to expand wildcard expression to concrete indices
71
- that are open, closed or both.
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: Period to wait for a connection to the master node.
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
- Provides a snapshot of the number of shards allocated to each data node and their
151
- disk space. IMPORTANT: cat APIs are only intended for human consumption using
152
- the command line or Kibana console. They are not intended for use by applications.
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: Comma-separated list of node identifiers or names used to limit
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
- Get component templates. Returns information about component templates in a cluster.
235
- Component templates are building blocks for constructing index templates that
236
- specify index mappings, settings, and aliases. CAT APIs are only intended for
237
- human consumption using the command line or Kibana console. They are not intended
238
- for use by applications. For application consumption, use the get component template
239
- API.
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. Accepts wildcard expressions.
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: Period to wait for a connection to the master node.
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
- Get a document count. Provides quick access to a document count for a data stream,
317
- an index, or an entire cluster. The document count only includes live documents,
318
- not deleted documents which have not yet been removed by the merge process. CAT
319
- APIs are only intended for human consumption using the command line or Kibana
320
- console. They are not intended for use by applications. For application consumption,
321
- use the count API.
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: Comma-separated list of data streams, indices, and aliases used
326
- to limit the request. Supports wildcards (`*`). To target all data streams
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
- Returns the amount of heap memory currently used by the field data cache on every
394
- data node in the cluster. IMPORTANT: cat APIs are only intended for human consumption
395
- using the command line or Kibana console. They are not intended for use by applications.
396
- For application consumption, use the nodes stats API.
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
- Returns the health status of a cluster, similar to the cluster health API. IMPORTANT:
471
- cat APIs are only intended for human consumption using the command line or Kibana
472
- console. They are not intended for use by applications. For application consumption,
473
- use the cluster health API. This API is often used to check malfunctioning clusters.
474
- To help you track cluster health alongside log files and alerting systems, the
475
- API returns timestamps in two formats: `HH:MM:SS`, which is human-readable but
476
- includes no date information; `Unix epoch time`, which is machine-sortable and
477
- includes date information. The latter format is useful for cluster recoveries
478
- that take multiple days. You can use the cat health API to verify cluster health
479
- across multiple nodes. You also can use the API to track the recovery of a large
480
- cluster over a longer period of time.
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
- Get CAT help. Returns help for the CAT APIs.
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
- Get index information. Returns high-level information about indices in a cluster,
586
- including backing indices for data streams. Use this request to get the following
587
- information for each index in a cluster: - shard count - document count - deleted
588
- document count - primary store size - total store size of all shards, including
589
- shard replicas These metrics are retrieved directly from Lucene, which Elasticsearch
590
- uses internally to power indexing and search. As a result, all document counts
591
- include hidden nested documents. To get an accurate count of Elasticsearch documents,
592
- use the cat count or count APIs. CAT APIs are only intended for human consumption
593
- using the command line or Kibana console. They are not intended for use by applications.
594
- For application consumption, use an index endpoint.
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
- Returns information about the master node, including the ID, bound IP address,
688
- and name. IMPORTANT: cat APIs are only intended for human consumption using the
689
- command line or Kibana console. They are not intended for use by applications.
690
- For application consumption, use the nodes info API.
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
- Get data frame analytics jobs. Returns configuration and usage information about
862
- data frame analytics jobs. CAT APIs are only intended for human consumption using
863
- the Kibana console or command line. They are not intended for use by applications.
864
- For application consumption, use the get data frame analytics jobs statistics
865
- API.
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
- Get datafeeds. Returns configuration and usage information about datafeeds. This
1024
- API returns a maximum of 10,000 datafeeds. If the Elasticsearch security features
1025
- are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage`
1026
- cluster privileges to use this API. CAT APIs are only intended for human consumption
1027
- using the Kibana console or command line. They are not intended for use by applications.
1028
- For application consumption, use the get datafeed statistics API.
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
- Get anomaly detection jobs. Returns configuration and usage information for anomaly
1385
- detection jobs. This API returns a maximum of 10,000 jobs. If the Elasticsearch
1386
- security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`,
1387
- or `manage` cluster privileges to use this API. CAT APIs are only intended for
1388
- human consumption using the Kibana console or command line. They are not intended
1389
- for use by applications. For application consumption, use the get anomaly detection
1390
- job statistics API.
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
- Get trained models. Returns configuration and usage information about inference
1569
- trained models. CAT APIs are only intended for human consumption using the Kibana
1570
- console or command line. They are not intended for use by applications. For application
1571
- consumption, use the get trained models statistics API.
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
- Returns information about custom node attributes. IMPORTANT: cat APIs are only
1660
- intended for human consumption using the command line or Kibana console. They
1661
- are not intended for use by applications. For application consumption, use the
1662
- nodes info API.
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
- Returns information about the nodes in a cluster. IMPORTANT: cat APIs are only
1741
- intended for human consumption using the command line or Kibana console. They
1742
- are not intended for use by applications. For application consumption, use the
1743
- nodes info API.
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
- Returns cluster-level changes that have not yet been executed. IMPORTANT: cat
1826
- APIs are only intended for human consumption using the command line or Kibana
1827
- console. They are not intended for use by applications. For application consumption,
1828
- use the pending cluster tasks API.
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
- Returns a list of plugins running on each node of a cluster. IMPORTANT: cat APIs
1904
- are only intended for human consumption using the command line or Kibana console.
1905
- They are not intended for use by applications. For application consumption, use
1906
- the nodes info API.
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
- Returns information about ongoing and completed shard recoveries. Shard recovery
1988
- is the process of initializing a shard copy, such as restoring a primary shard
1989
- from a snapshot or syncing a replica shard from a primary shard. When a shard
1990
- recovery completes, the recovered shard is available for search and indexing.
1991
- For data streams, the API returns information about the stream’s backing indices.
1992
- IMPORTANT: cat APIs are only intended for human consumption using the command
1993
- line or Kibana console. They are not intended for use by applications. For application
1994
- consumption, use the index recovery API.
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
- Returns the snapshot repositories for a cluster. IMPORTANT: cat APIs are only
2078
- intended for human consumption using the command line or Kibana console. They
2079
- are not intended for use by applications. For application consumption, use the
2080
- get snapshot repository API.
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
- Returns low-level information about the Lucene segments in index shards. For
2156
- data streams, the API returns information about the backing indices. IMPORTANT:
2157
- cat APIs are only intended for human consumption using the command line or Kibana
2158
- console. They are not intended for use by applications. For application consumption,
2159
- use the index segments API.
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
- Returns information about the shards in a cluster. For data streams, the API
2248
- returns information about the backing indices. IMPORTANT: cat APIs are only intended
2249
- for human consumption using the command line or Kibana console. They are not
2250
- intended for use by applications.
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
- Returns information about the snapshots stored in one or more repositories. A
2334
- snapshot is a backup of an index or running Elasticsearch cluster. IMPORTANT:
2335
- cat APIs are only intended for human consumption using the command line or Kibana
2336
- console. They are not intended for use by applications. For application consumption,
2337
- use the get snapshot API.
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
- Returns information about tasks currently executing in the cluster. IMPORTANT:
2426
- cat APIs are only intended for human consumption using the command line or Kibana
2427
- console. They are not intended for use by applications. For application consumption,
2428
- use the task management API.
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
- Returns information about index templates in a cluster. You can use index templates
2517
- to apply index settings and field mappings to new indices at creation. IMPORTANT:
2518
- cat APIs are only intended for human consumption using the command line or Kibana
2519
- console. They are not intended for use by applications. For application consumption,
2520
- use the get index template API.
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
- Returns thread pool statistics for each node in a cluster. Returned information
2603
- includes all built-in thread pools and custom thread pools. IMPORTANT: cat APIs
2604
- are only intended for human consumption using the command line or Kibana console.
2605
- They are not intended for use by applications. For application consumption, use
2606
- the nodes info API.
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
- Get transforms. Returns configuration and usage information about transforms.
2857
- CAT APIs are only intended for human consumption using the Kibana console or
2858
- command line. They are not intended for use by applications. For application
2859
- consumption, use the get transform statistics API.
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