@@ -53,11 +53,11 @@ async def aliases(
53
53
v : t .Optional [bool ] = None ,
54
54
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
55
55
"""
56
- Retrieves the cluster’s index aliases, including filter and routing information.
57
- The API does not return data stream aliases. IMPORTANT: cat APIs are only intended
56
+ Get aliases. Retrieves the cluster’s index aliases, including filter and routing
57
+ information. The API does not return data stream aliases. CAT APIs are only intended
58
58
for human consumption using the command line or the Kibana console. They are
59
- not intended for use by applications. For application consumption, use the aliases
60
- API .
59
+ not intended for use by applications. For application consumption, use the /_alias
60
+ endpoints .
61
61
62
62
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html>`_
63
63
@@ -231,11 +231,12 @@ async def component_templates(
231
231
v : t .Optional [bool ] = None ,
232
232
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
233
233
"""
234
- Returns information about component templates in a cluster. Component templates
235
- are building blocks for constructing index templates that specify index mappings,
236
- settings, and aliases. IMPORTANT: cat APIs are only intended for human consumption
237
- using the command line or Kibana console. They are not intended for use by applications.
238
- For application consumption, use the get component template API.
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 /_component_template
239
+ endpoints.
239
240
240
241
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html>`_
241
242
@@ -316,12 +317,12 @@ async def count(
316
317
v : t .Optional [bool ] = None ,
317
318
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
318
319
"""
319
- Provides quick access to a document count for a data stream, an index, or an
320
- entire cluster. NOTE: The document count only includes live documents, not deleted
321
- documents which have not yet been removed by the merge process. IMPORTANT: cat
320
+ Get a document count. Provides quick access to a document count for a data stream,
321
+ an index, or an entire cluster.n/ The document count only includes live documents,
322
+ not deleted documents which have not yet been removed by the merge process. CAT
322
323
APIs are only intended for human consumption using the command line or Kibana
323
324
console. They are not intended for use by applications. For application consumption,
324
- use the count API .
325
+ use /_count endpoints .
325
326
326
327
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html>`_
327
328
@@ -585,7 +586,7 @@ async def help(
585
586
v : t .Optional [bool ] = None ,
586
587
) -> TextApiResponse :
587
588
"""
588
- Returns help for the Cat APIs.
589
+ Get CAT help. Returns help for the CAT APIs.
589
590
590
591
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html>`_
591
592
@@ -676,16 +677,16 @@ async def indices(
676
677
v : t .Optional [bool ] = None ,
677
678
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
678
679
"""
679
- Returns high-level information about indices in a cluster, including backing
680
- indices for data streams. IMPORTANT: cat APIs are only intended for human consumption
681
- using the command line or Kibana console. They are not intended for use by applications.
682
- For application consumption, use the get index API. Use the cat indices API to
683
- get the following information for each index in a cluster: shard count; document
684
- count; deleted document count; primary store size; total store size of all shards,
685
- including shard replicas. These metrics are retrieved directly from Lucene, which
686
- Elasticsearch uses internally to power indexing and search. As a result, all
687
- document counts include hidden nested documents. To get an accurate count of
688
- Elasticsearch documents, use the cat count or count APIs .
680
+ Get index information. Returns high-level information about indices in a cluster,
681
+ including backing indices for data streams. Use this request to get the following
682
+ information for each index in a cluster: - shard count - document count - deleted
683
+ document count - primary store size - total store size of all shards, including
684
+ shard replicas These metrics are retrieved directly from Lucene, which Elasticsearch
685
+ uses internally to power indexing and search. As a result, all document counts
686
+ include hidden nested documents. To get an accurate count of Elasticsearch documents,
687
+ use the /_cat/count or _count endpoints. CAT APIs are only intended for human
688
+ consumption using the command line or Kibana console. They are not intended for
689
+ use by applications. For application consumption, use an index endpoint .
689
690
690
691
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html>`_
691
692
@@ -894,10 +895,10 @@ async def ml_data_frame_analytics(
894
895
v : t .Optional [bool ] = None ,
895
896
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
896
897
"""
897
- Returns configuration and usage information about data frame analytics jobs.
898
- IMPORTANT: cat APIs are only intended for human consumption using the Kibana
899
- console or command line. They are not intended for use by applications. For application
900
- consumption, use the get data frame analytics jobs statistics API .
898
+ Get data frame analytics jobs. Returns configuration and usage information about
899
+ data frame analytics jobs. CAT APIs are only intended for human consumption using
900
+ the Kibana console or command line. They are not intended for use by applications.
901
+ For application consumption, use the /_ml/data_frame/ analytics endpoints .
901
902
902
903
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-dfanalytics.html>`_
903
904
@@ -1016,12 +1017,12 @@ async def ml_datafeeds(
1016
1017
v : t .Optional [bool ] = None ,
1017
1018
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
1018
1019
"""
1019
- Returns configuration and usage information about datafeeds. This API returns
1020
- a maximum of 10,000 datafeeds. If the Elasticsearch security features are enabled,
1021
- you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage` cluster privileges
1022
- to use this API. IMPORTANT: cat APIs are only intended for human consumption
1020
+ Get datafeeds. Returns configuration and usage information about datafeeds. This
1021
+ API returns a maximum of 10,000 datafeeds. If the Elasticsearch security features
1022
+ are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage`
1023
+ cluster privileges to use this API. CAT APIs are only intended for human consumption
1023
1024
using the Kibana console or command line. They are not intended for use by applications.
1024
- For application consumption, use the get datafeed statistics API .
1025
+ For application consumption, use the /_ml/datafeeds endpoints .
1025
1026
1026
1027
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-datafeeds.html>`_
1027
1028
@@ -1146,13 +1147,13 @@ async def ml_jobs(
1146
1147
v : t .Optional [bool ] = None ,
1147
1148
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
1148
1149
"""
1149
- Returns configuration and usage information for anomaly detection jobs. This
1150
- API returns a maximum of 10,000 jobs. If the Elasticsearch security features
1151
- are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage`
1152
- cluster privileges to use this API. IMPORTANT: cat APIs are only intended for
1150
+ Get anomaly detection jobs. Returns configuration and usage information for anomaly
1151
+ detection jobs. This API returns a maximum of 10,000 jobs. If the Elasticsearch
1152
+ security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`,
1153
+ or `manage` cluster privileges to use this API. CAT APIs are only intended for
1153
1154
human consumption using the Kibana console or command line. They are not intended
1154
- for use by applications. For application consumption, use the get anomaly detection
1155
- job statistics API .
1155
+ for use by applications. For application consumption, use the /_ml/anomaly_detectors
1156
+ endpoints .
1156
1157
1157
1158
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-anomaly-detectors.html>`_
1158
1159
@@ -1280,10 +1281,10 @@ async def ml_trained_models(
1280
1281
v : t .Optional [bool ] = None ,
1281
1282
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
1282
1283
"""
1283
- Returns configuration and usage information about inference trained models. IMPORTANT:
1284
- cat APIs are only intended for human consumption using the Kibana console or
1285
- command line. They are not intended for use by applications. For application
1286
- consumption, use the get trained models statistics API .
1284
+ Get trained models. Returns configuration and usage information about inference
1285
+ trained models. CAT APIs are only intended for human consumption using the Kibana
1286
+ console or command line. They are not intended for use by applications. For application
1287
+ consumption, use the /_ml/trained_models endpoints .
1287
1288
1288
1289
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-trained-model.html>`_
1289
1290
@@ -2458,10 +2459,10 @@ async def transforms(
2458
2459
v : t .Optional [bool ] = None ,
2459
2460
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
2460
2461
"""
2461
- Returns configuration and usage information about transforms. IMPORTANT: cat
2462
- APIs are only intended for human consumption using the Kibana console or command
2463
- line. They are not intended for use by applications. For application consumption,
2464
- use the get transform statistics API .
2462
+ Get transforms. Returns configuration and usage information about transforms.
2463
+ CAT APIs are only intended for human consumption using the Kibana console or
2464
+ command line. They are not intended for use by applications. For application
2465
+ consumption, use the /_transform endpoints .
2465
2466
2466
2467
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-transforms.html>`_
2467
2468
0 commit comments