@elastic/schemas 0.4.3 → 0.4.5

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 (1283) hide show
  1. package/lib/cjs/es/json/async_search.get.request.json +1 -1
  2. package/lib/cjs/es/json/async_search.status.request.json +1 -1
  3. package/lib/cjs/es/json/async_search.submit.request.json +1 -1
  4. package/lib/cjs/es/json/bulk.request.json +1 -1
  5. package/lib/cjs/es/json/cancel_reindex.request.json +1 -1
  6. package/lib/cjs/es/json/cat.aliases.request.json +1 -1
  7. package/lib/cjs/es/json/cat.allocation.request.json +1 -1
  8. package/lib/cjs/es/json/cat.circuit_breaker.request.json +1 -1
  9. package/lib/cjs/es/json/cat.component_templates.request.json +1 -1
  10. package/lib/cjs/es/json/cat.count.request.json +1 -1
  11. package/lib/cjs/es/json/cat.fielddata.request.json +1 -1
  12. package/lib/cjs/es/json/cat.indices.request.json +1 -1
  13. package/lib/cjs/es/json/cat.ml_data_frame_analytics.request.json +1 -1
  14. package/lib/cjs/es/json/cat.ml_datafeeds.request.json +1 -1
  15. package/lib/cjs/es/json/cat.ml_jobs.request.json +1 -1
  16. package/lib/cjs/es/json/cat.ml_trained_models.request.json +1 -1
  17. package/lib/cjs/es/json/cat.recovery.request.json +1 -1
  18. package/lib/cjs/es/json/cat.segments.request.json +1 -1
  19. package/lib/cjs/es/json/cat.shards.request.json +1 -1
  20. package/lib/cjs/es/json/cat.snapshots.request.json +1 -1
  21. package/lib/cjs/es/json/cat.templates.request.json +1 -1
  22. package/lib/cjs/es/json/cat.thread_pool.request.json +1 -1
  23. package/lib/cjs/es/json/cat.transforms.request.json +1 -1
  24. package/lib/cjs/es/json/ccr.delete_auto_follow_pattern.request.json +1 -1
  25. package/lib/cjs/es/json/ccr.follow.request.json +1 -1
  26. package/lib/cjs/es/json/ccr.follow_info.request.json +1 -1
  27. package/lib/cjs/es/json/ccr.follow_stats.request.json +1 -1
  28. package/lib/cjs/es/json/ccr.forget_follower.request.json +1 -1
  29. package/lib/cjs/es/json/ccr.get_auto_follow_pattern.request.json +1 -1
  30. package/lib/cjs/es/json/ccr.pause_auto_follow_pattern.request.json +1 -1
  31. package/lib/cjs/es/json/ccr.pause_follow.request.json +1 -1
  32. package/lib/cjs/es/json/ccr.put_auto_follow_pattern.request.json +1 -1
  33. package/lib/cjs/es/json/ccr.resume_auto_follow_pattern.request.json +1 -1
  34. package/lib/cjs/es/json/ccr.resume_follow.request.json +1 -1
  35. package/lib/cjs/es/json/ccr.unfollow.request.json +1 -1
  36. package/lib/cjs/es/json/clear_scroll.request.json +1 -1
  37. package/lib/cjs/es/json/cluster.delete_component_template.request.json +1 -1
  38. package/lib/cjs/es/json/cluster.exists_component_template.request.json +1 -1
  39. package/lib/cjs/es/json/cluster.get_component_template.request.json +1 -1
  40. package/lib/cjs/es/json/cluster.health.request.json +1 -1
  41. package/lib/cjs/es/json/cluster.put_component_template.request.json +1 -1
  42. package/lib/cjs/es/json/cluster.reroute.request.json +1 -1
  43. package/lib/cjs/es/json/cluster.state.request.json +1 -1
  44. package/lib/cjs/es/json/connector.delete.request.json +1 -1
  45. package/lib/cjs/es/json/connector.get.request.json +1 -1
  46. package/lib/cjs/es/json/connector.put.request.json +1 -1
  47. package/lib/cjs/es/json/connector.sync_job_claim.request.json +1 -1
  48. package/lib/cjs/es/json/connector.sync_job_error.request.json +1 -1
  49. package/lib/cjs/es/json/connector.sync_job_list.request.json +1 -1
  50. package/lib/cjs/es/json/connector.sync_job_update_stats.request.json +1 -1
  51. package/lib/cjs/es/json/connector.update_api_key_id.request.json +1 -1
  52. package/lib/cjs/es/json/connector.update_configuration.request.json +1 -1
  53. package/lib/cjs/es/json/connector.update_error.request.json +1 -1
  54. package/lib/cjs/es/json/connector.update_features.request.json +1 -1
  55. package/lib/cjs/es/json/connector.update_filtering.request.json +1 -1
  56. package/lib/cjs/es/json/connector.update_filtering_validation.request.json +1 -1
  57. package/lib/cjs/es/json/connector.update_index_name.request.json +1 -1
  58. package/lib/cjs/es/json/connector.update_name.request.json +1 -1
  59. package/lib/cjs/es/json/connector.update_native.request.json +1 -1
  60. package/lib/cjs/es/json/connector.update_pipeline.request.json +1 -1
  61. package/lib/cjs/es/json/connector.update_scheduling.request.json +1 -1
  62. package/lib/cjs/es/json/connector.update_service_type.request.json +1 -1
  63. package/lib/cjs/es/json/connector.update_status.request.json +1 -1
  64. package/lib/cjs/es/json/count.request.json +1 -1
  65. package/lib/cjs/es/json/create.request.json +1 -1
  66. package/lib/cjs/es/json/dangling_indices.delete_dangling_index.request.json +1 -1
  67. package/lib/cjs/es/json/dangling_indices.import_dangling_index.request.json +1 -1
  68. package/lib/cjs/es/json/delete.request.json +1 -1
  69. package/lib/cjs/es/json/delete_by_query.request.json +1 -1
  70. package/lib/cjs/es/json/delete_by_query_rethrottle.request.json +1 -1
  71. package/lib/cjs/es/json/delete_script.request.json +1 -1
  72. package/lib/cjs/es/json/enrich.delete_policy.request.json +1 -1
  73. package/lib/cjs/es/json/enrich.execute_policy.request.json +1 -1
  74. package/lib/cjs/es/json/enrich.get_policy.request.json +1 -1
  75. package/lib/cjs/es/json/enrich.put_policy.request.json +1 -1
  76. package/lib/cjs/es/json/eql.get.request.json +1 -1
  77. package/lib/cjs/es/json/eql.search.request.json +1 -1
  78. package/lib/cjs/es/json/esql.async_query_get.request.json +1 -1
  79. package/lib/cjs/es/json/esql.async_query_stop.request.json +1 -1
  80. package/lib/cjs/es/json/esql.put_view.request.json +1 -1
  81. package/lib/cjs/es/json/exists.request.json +1 -1
  82. package/lib/cjs/es/json/exists_source.request.json +1 -1
  83. package/lib/cjs/es/json/explain.request.json +1 -1
  84. package/lib/cjs/es/json/field_caps.request.json +1 -1
  85. package/lib/cjs/es/json/fleet.global_checkpoints.request.json +1 -1
  86. package/lib/cjs/es/json/fleet.msearch.request.json +1 -1
  87. package/lib/cjs/es/json/fleet.search.request.json +1 -1
  88. package/lib/cjs/es/json/get.request.json +1 -1
  89. package/lib/cjs/es/json/get_reindex.request.json +1 -1
  90. package/lib/cjs/es/json/get_script.request.json +1 -1
  91. package/lib/cjs/es/json/get_source.request.json +1 -1
  92. package/lib/cjs/es/json/graph.explore.request.json +1 -1
  93. package/lib/cjs/es/json/health_report.request.json +1 -1
  94. package/lib/cjs/es/json/ilm.delete_lifecycle.request.json +1 -0
  95. package/lib/cjs/es/json/ilm.explain_lifecycle.request.json +1 -1
  96. package/lib/cjs/es/json/ilm.get_lifecycle.request.json +1 -0
  97. package/lib/cjs/es/json/ilm.move_to_step.request.json +1 -1
  98. package/lib/cjs/es/json/ilm.put_lifecycle.request.json +1 -0
  99. package/lib/cjs/es/json/index.request.json +1 -1
  100. package/lib/cjs/es/json/indices.add_block.request.json +1 -1
  101. package/lib/cjs/es/json/indices.analyze.request.json +1 -1
  102. package/lib/cjs/es/json/indices.clear_cache.request.json +1 -1
  103. package/lib/cjs/es/json/indices.clone.request.json +1 -1
  104. package/lib/cjs/es/json/indices.close.request.json +1 -1
  105. package/lib/cjs/es/json/indices.create.request.json +1 -1
  106. package/lib/cjs/es/json/indices.create_data_stream.request.json +1 -1
  107. package/lib/cjs/es/json/indices.create_from.request.json +1 -1
  108. package/lib/cjs/es/json/indices.data_streams_stats.request.json +1 -1
  109. package/lib/cjs/es/json/indices.delete.request.json +1 -1
  110. package/lib/cjs/es/json/indices.delete_alias.request.json +1 -1
  111. package/lib/cjs/es/json/indices.delete_data_lifecycle.request.json +1 -1
  112. package/lib/cjs/es/json/indices.delete_data_stream.request.json +1 -1
  113. package/lib/cjs/es/json/indices.delete_data_stream_options.request.json +1 -1
  114. package/lib/cjs/es/json/indices.delete_index_template.request.json +1 -1
  115. package/lib/cjs/es/json/indices.delete_template.request.json +1 -1
  116. package/lib/cjs/es/json/indices.disk_usage.request.json +1 -1
  117. package/lib/cjs/es/json/indices.downsample.request.json +1 -1
  118. package/lib/cjs/es/json/indices.exists.request.json +1 -1
  119. package/lib/cjs/es/json/indices.exists_alias.request.json +1 -1
  120. package/lib/cjs/es/json/indices.exists_index_template.request.json +1 -1
  121. package/lib/cjs/es/json/indices.exists_template.request.json +1 -1
  122. package/lib/cjs/es/json/indices.explain_data_lifecycle.request.json +1 -1
  123. package/lib/cjs/es/json/indices.field_usage_stats.request.json +1 -1
  124. package/lib/cjs/es/json/indices.flush.request.json +1 -1
  125. package/lib/cjs/es/json/indices.forcemerge.request.json +1 -1
  126. package/lib/cjs/es/json/indices.get.request.json +1 -1
  127. package/lib/cjs/es/json/indices.get_alias.request.json +1 -1
  128. package/lib/cjs/es/json/indices.get_data_lifecycle.request.json +1 -1
  129. package/lib/cjs/es/json/indices.get_data_stream.request.json +1 -1
  130. package/lib/cjs/es/json/indices.get_data_stream_mappings.request.json +1 -1
  131. package/lib/cjs/es/json/indices.get_data_stream_options.request.json +1 -1
  132. package/lib/cjs/es/json/indices.get_data_stream_settings.request.json +1 -1
  133. package/lib/cjs/es/json/indices.get_field_mapping.request.json +1 -1
  134. package/lib/cjs/es/json/indices.get_index_template.request.json +1 -1
  135. package/lib/cjs/es/json/indices.get_mapping.request.json +1 -1
  136. package/lib/cjs/es/json/indices.get_settings.request.json +1 -1
  137. package/lib/cjs/es/json/indices.get_template.request.json +1 -1
  138. package/lib/cjs/es/json/indices.migrate_reindex.request.json +1 -1
  139. package/lib/cjs/es/json/indices.migrate_to_data_stream.request.json +1 -1
  140. package/lib/cjs/es/json/indices.open.request.json +1 -1
  141. package/lib/cjs/es/json/indices.promote_data_stream.request.json +1 -1
  142. package/lib/cjs/es/json/indices.put_alias.request.json +1 -1
  143. package/lib/cjs/es/json/indices.put_data_lifecycle.request.json +1 -1
  144. package/lib/cjs/es/json/indices.put_data_stream_mappings.request.json +1 -1
  145. package/lib/cjs/es/json/indices.put_data_stream_options.request.json +1 -1
  146. package/lib/cjs/es/json/indices.put_data_stream_settings.request.json +1 -1
  147. package/lib/cjs/es/json/indices.put_index_template.request.json +1 -1
  148. package/lib/cjs/es/json/indices.put_mapping.request.json +1 -1
  149. package/lib/cjs/es/json/indices.put_settings.request.json +1 -1
  150. package/lib/cjs/es/json/indices.put_template.request.json +1 -1
  151. package/lib/cjs/es/json/indices.recovery.request.json +1 -1
  152. package/lib/cjs/es/json/indices.refresh.request.json +1 -1
  153. package/lib/cjs/es/json/indices.reload_search_analyzers.request.json +1 -1
  154. package/lib/cjs/es/json/indices.remove_block.request.json +1 -1
  155. package/lib/cjs/es/json/indices.resolve_cluster.request.json +1 -1
  156. package/lib/cjs/es/json/indices.resolve_index.request.json +1 -1
  157. package/lib/cjs/es/json/indices.rollover.request.json +1 -1
  158. package/lib/cjs/es/json/indices.segments.request.json +1 -1
  159. package/lib/cjs/es/json/indices.shard_stores.request.json +1 -1
  160. package/lib/cjs/es/json/indices.shrink.request.json +1 -1
  161. package/lib/cjs/es/json/indices.simulate_index_template.request.json +1 -1
  162. package/lib/cjs/es/json/indices.simulate_template.request.json +1 -1
  163. package/lib/cjs/es/json/indices.split.request.json +1 -1
  164. package/lib/cjs/es/json/indices.stats.request.json +1 -1
  165. package/lib/cjs/es/json/indices.validate_query.request.json +1 -1
  166. package/lib/cjs/es/json/inference.chat_completion_unified.request.json +1 -1
  167. package/lib/cjs/es/json/inference.completion.request.json +1 -1
  168. package/lib/cjs/es/json/inference.delete.request.json +1 -1
  169. package/lib/cjs/es/json/inference.embedding.request.json +1 -1
  170. package/lib/cjs/es/json/inference.inference.request.json +1 -1
  171. package/lib/cjs/es/json/inference.put.request.json +1 -1
  172. package/lib/cjs/es/json/inference.put_ai21.request.json +1 -1
  173. package/lib/cjs/es/json/inference.put_alibabacloud.request.json +1 -1
  174. package/lib/cjs/es/json/inference.put_amazonbedrock.request.json +1 -1
  175. package/lib/cjs/es/json/inference.put_amazonsagemaker.request.json +1 -1
  176. package/lib/cjs/es/json/inference.put_anthropic.request.json +1 -1
  177. package/lib/cjs/es/json/inference.put_azureaistudio.request.json +1 -1
  178. package/lib/cjs/es/json/inference.put_azureopenai.request.json +1 -1
  179. package/lib/cjs/es/json/inference.put_cohere.request.json +1 -1
  180. package/lib/cjs/es/json/inference.put_contextualai.request.json +1 -1
  181. package/lib/cjs/es/json/inference.put_custom.request.json +1 -1
  182. package/lib/cjs/es/json/inference.put_deepseek.request.json +1 -1
  183. package/lib/cjs/es/json/inference.put_elasticsearch.request.json +1 -1
  184. package/lib/cjs/es/json/inference.put_elser.request.json +1 -1
  185. package/lib/cjs/es/json/inference.put_fireworksai.request.json +1 -1
  186. package/lib/cjs/es/json/inference.put_googleaistudio.request.json +1 -1
  187. package/lib/cjs/es/json/inference.put_googlevertexai.request.json +1 -1
  188. package/lib/cjs/es/json/inference.put_groq.request.json +1 -1
  189. package/lib/cjs/es/json/inference.put_hugging_face.request.json +1 -1
  190. package/lib/cjs/es/json/inference.put_jinaai.request.json +1 -1
  191. package/lib/cjs/es/json/inference.put_llama.request.json +1 -1
  192. package/lib/cjs/es/json/inference.put_mistral.request.json +1 -1
  193. package/lib/cjs/es/json/inference.put_nvidia.request.json +1 -1
  194. package/lib/cjs/es/json/inference.put_openai.request.json +1 -1
  195. package/lib/cjs/es/json/inference.put_openshift_ai.request.json +1 -1
  196. package/lib/cjs/es/json/inference.put_voyageai.request.json +1 -1
  197. package/lib/cjs/es/json/inference.put_watsonx.request.json +1 -1
  198. package/lib/cjs/es/json/inference.rerank.request.json +1 -1
  199. package/lib/cjs/es/json/inference.sparse_embedding.request.json +1 -1
  200. package/lib/cjs/es/json/inference.stream_completion.request.json +1 -1
  201. package/lib/cjs/es/json/inference.text_embedding.request.json +1 -1
  202. package/lib/cjs/es/json/inference.update.request.json +1 -1
  203. package/lib/cjs/es/json/ingest.delete_geoip_database.request.json +1 -1
  204. package/lib/cjs/es/json/ingest.delete_ip_location_database.request.json +1 -1
  205. package/lib/cjs/es/json/ingest.delete_pipeline.request.json +1 -1
  206. package/lib/cjs/es/json/ingest.get_pipeline.request.json +1 -1
  207. package/lib/cjs/es/json/ingest.put_geoip_database.request.json +1 -1
  208. package/lib/cjs/es/json/ingest.put_ip_location_database.request.json +1 -1
  209. package/lib/cjs/es/json/ingest.put_pipeline.request.json +1 -1
  210. package/lib/cjs/es/json/ingest.simulate.request.json +1 -1
  211. package/lib/cjs/es/json/logstash.put_pipeline.request.json +1 -1
  212. package/lib/cjs/es/json/mget.request.json +1 -1
  213. package/lib/cjs/es/json/ml.close_job.request.json +1 -1
  214. package/lib/cjs/es/json/ml.delete_data_frame_analytics.request.json +1 -1
  215. package/lib/cjs/es/json/ml.delete_datafeed.request.json +1 -1
  216. package/lib/cjs/es/json/ml.delete_expired_data.request.json +1 -1
  217. package/lib/cjs/es/json/ml.delete_forecast.request.json +1 -1
  218. package/lib/cjs/es/json/ml.delete_job.request.json +1 -1
  219. package/lib/cjs/es/json/ml.delete_trained_model.request.json +1 -1
  220. package/lib/cjs/es/json/ml.explain_data_frame_analytics.request.json +1 -1
  221. package/lib/cjs/es/json/ml.flush_job.request.json +1 -1
  222. package/lib/cjs/es/json/ml.forecast.request.json +1 -1
  223. package/lib/cjs/es/json/ml.get_buckets.request.json +1 -1
  224. package/lib/cjs/es/json/ml.get_calendar_events.request.json +1 -1
  225. package/lib/cjs/es/json/ml.get_calendars.request.json +1 -1
  226. package/lib/cjs/es/json/ml.get_categories.request.json +1 -1
  227. package/lib/cjs/es/json/ml.get_data_frame_analytics.request.json +1 -1
  228. package/lib/cjs/es/json/ml.get_data_frame_analytics_stats.request.json +1 -1
  229. package/lib/cjs/es/json/ml.get_datafeed_stats.request.json +1 -1
  230. package/lib/cjs/es/json/ml.get_datafeeds.request.json +1 -1
  231. package/lib/cjs/es/json/ml.get_filters.request.json +1 -1
  232. package/lib/cjs/es/json/ml.get_influencers.request.json +1 -1
  233. package/lib/cjs/es/json/ml.get_job_stats.request.json +1 -1
  234. package/lib/cjs/es/json/ml.get_jobs.request.json +1 -1
  235. package/lib/cjs/es/json/ml.get_memory_stats.request.json +1 -1
  236. package/lib/cjs/es/json/ml.get_model_snapshot_upgrade_stats.request.json +1 -1
  237. package/lib/cjs/es/json/ml.get_model_snapshots.request.json +1 -1
  238. package/lib/cjs/es/json/ml.get_overall_buckets.request.json +1 -1
  239. package/lib/cjs/es/json/ml.get_records.request.json +1 -1
  240. package/lib/cjs/es/json/ml.get_trained_models.request.json +1 -1
  241. package/lib/cjs/es/json/ml.get_trained_models_stats.request.json +1 -1
  242. package/lib/cjs/es/json/ml.infer_trained_model.request.json +1 -1
  243. package/lib/cjs/es/json/ml.open_job.request.json +1 -1
  244. package/lib/cjs/es/json/ml.post_calendar_events.request.json +1 -1
  245. package/lib/cjs/es/json/ml.post_data.request.json +1 -1
  246. package/lib/cjs/es/json/ml.preview_data_frame_analytics.request.json +1 -1
  247. package/lib/cjs/es/json/ml.preview_datafeed.request.json +1 -1
  248. package/lib/cjs/es/json/ml.put_calendar.request.json +1 -1
  249. package/lib/cjs/es/json/ml.put_data_frame_analytics.request.json +1 -1
  250. package/lib/cjs/es/json/ml.put_datafeed.request.json +1 -1
  251. package/lib/cjs/es/json/ml.put_filter.request.json +1 -1
  252. package/lib/cjs/es/json/ml.put_job.request.json +1 -1
  253. package/lib/cjs/es/json/ml.put_trained_model.request.json +1 -1
  254. package/lib/cjs/es/json/ml.put_trained_model_alias.request.json +1 -1
  255. package/lib/cjs/es/json/ml.put_trained_model_definition_part.request.json +1 -1
  256. package/lib/cjs/es/json/ml.put_trained_model_vocabulary.request.json +1 -1
  257. package/lib/cjs/es/json/ml.reset_job.request.json +1 -1
  258. package/lib/cjs/es/json/ml.revert_model_snapshot.request.json +1 -1
  259. package/lib/cjs/es/json/ml.start_data_frame_analytics.request.json +1 -1
  260. package/lib/cjs/es/json/ml.start_datafeed.request.json +1 -1
  261. package/lib/cjs/es/json/ml.start_trained_model_deployment.request.json +1 -1
  262. package/lib/cjs/es/json/ml.stop_data_frame_analytics.request.json +1 -1
  263. package/lib/cjs/es/json/ml.stop_datafeed.request.json +1 -1
  264. package/lib/cjs/es/json/ml.stop_trained_model_deployment.request.json +1 -1
  265. package/lib/cjs/es/json/ml.update_data_frame_analytics.request.json +1 -1
  266. package/lib/cjs/es/json/ml.update_datafeed.request.json +1 -1
  267. package/lib/cjs/es/json/ml.update_filter.request.json +1 -1
  268. package/lib/cjs/es/json/ml.update_job.request.json +1 -1
  269. package/lib/cjs/es/json/ml.update_model_snapshot.request.json +1 -1
  270. package/lib/cjs/es/json/ml.update_trained_model_deployment.request.json +1 -1
  271. package/lib/cjs/es/json/ml.upgrade_job_snapshot.request.json +1 -1
  272. package/lib/cjs/es/json/msearch.request.json +1 -1
  273. package/lib/cjs/es/json/msearch_template.request.json +1 -1
  274. package/lib/cjs/es/json/mtermvectors.request.json +1 -1
  275. package/lib/cjs/es/json/nodes.hot_threads.request.json +1 -1
  276. package/lib/cjs/es/json/nodes.info.request.json +1 -1
  277. package/lib/cjs/es/json/nodes.reload_secure_settings.request.json +1 -1
  278. package/lib/cjs/es/json/nodes.stats.request.json +1 -1
  279. package/lib/cjs/es/json/nodes.usage.request.json +1 -1
  280. package/lib/cjs/es/json/open_point_in_time.request.json +1 -1
  281. package/lib/cjs/es/json/project.create_many_routing.request.json +1 -1
  282. package/lib/cjs/es/json/project.create_routing.request.json +1 -1
  283. package/lib/cjs/es/json/put_script.request.json +1 -1
  284. package/lib/cjs/es/json/query_rules.put_rule.request.json +1 -1
  285. package/lib/cjs/es/json/query_rules.put_ruleset.request.json +1 -1
  286. package/lib/cjs/es/json/query_rules.test.request.json +1 -1
  287. package/lib/cjs/es/json/rank_eval.request.json +1 -1
  288. package/lib/cjs/es/json/reindex_rethrottle.request.json +1 -1
  289. package/lib/cjs/es/json/render_search_template.request.json +1 -1
  290. package/lib/cjs/es/json/rollup.put_job.request.json +1 -1
  291. package/lib/cjs/es/json/rollup.rollup_search.request.json +1 -1
  292. package/lib/cjs/es/json/rollup.stop_job.request.json +1 -1
  293. package/lib/cjs/es/json/scroll.request.json +1 -1
  294. package/lib/cjs/es/json/search.request.json +1 -1
  295. package/lib/cjs/es/json/search_application.post_behavioral_analytics_event.request.json +1 -1
  296. package/lib/cjs/es/json/search_application.put.request.json +1 -1
  297. package/lib/cjs/es/json/search_application.render_query.request.json +1 -1
  298. package/lib/cjs/es/json/search_application.search.request.json +1 -1
  299. package/lib/cjs/es/json/search_mvt.request.json +1 -1
  300. package/lib/cjs/es/json/search_shards.request.json +1 -1
  301. package/lib/cjs/es/json/search_template.request.json +1 -1
  302. package/lib/cjs/es/json/searchable_snapshots.clear_cache.request.json +1 -1
  303. package/lib/cjs/es/json/searchable_snapshots.mount.request.json +1 -1
  304. package/lib/cjs/es/json/searchable_snapshots.stats.request.json +1 -1
  305. package/lib/cjs/es/json/security.bulk_update_api_keys.request.json +1 -1
  306. package/lib/cjs/es/json/security.change_password.request.json +1 -1
  307. package/lib/cjs/es/json/security.clear_cached_realms.request.json +1 -1
  308. package/lib/cjs/es/json/security.create_service_token.request.json +1 -1
  309. package/lib/cjs/es/json/security.delete_privileges.request.json +1 -1
  310. package/lib/cjs/es/json/security.delete_role.request.json +1 -1
  311. package/lib/cjs/es/json/security.delete_role_mapping.request.json +1 -1
  312. package/lib/cjs/es/json/security.delete_service_token.request.json +1 -1
  313. package/lib/cjs/es/json/security.delete_user.request.json +1 -1
  314. package/lib/cjs/es/json/security.disable_user.request.json +1 -1
  315. package/lib/cjs/es/json/security.disable_user_profile.request.json +1 -1
  316. package/lib/cjs/es/json/security.enable_user.request.json +1 -1
  317. package/lib/cjs/es/json/security.enable_user_profile.request.json +1 -1
  318. package/lib/cjs/es/json/security.get_role.request.json +1 -1
  319. package/lib/cjs/es/json/security.get_user.request.json +1 -1
  320. package/lib/cjs/es/json/security.get_user_profile.request.json +1 -1
  321. package/lib/cjs/es/json/security.has_privileges.request.json +1 -1
  322. package/lib/cjs/es/json/security.put_privileges.request.json +1 -1
  323. package/lib/cjs/es/json/security.put_role.request.json +1 -1
  324. package/lib/cjs/es/json/security.put_role_mapping.request.json +1 -1
  325. package/lib/cjs/es/json/security.put_user.request.json +1 -1
  326. package/lib/cjs/es/json/security.suggest_user_profiles.request.json +1 -1
  327. package/lib/cjs/es/json/security.update_api_key.request.json +1 -1
  328. package/lib/cjs/es/json/security.update_cross_cluster_api_key.request.json +1 -1
  329. package/lib/cjs/es/json/security.update_user_profile_data.request.json +1 -1
  330. package/lib/cjs/es/json/simulate.ingest.request.json +1 -1
  331. package/lib/cjs/es/json/slm.delete_lifecycle.request.json +1 -1
  332. package/lib/cjs/es/json/slm.execute_lifecycle.request.json +1 -1
  333. package/lib/cjs/es/json/slm.get_lifecycle.request.json +1 -1
  334. package/lib/cjs/es/json/slm.put_lifecycle.request.json +1 -1
  335. package/lib/cjs/es/json/snapshot.cleanup_repository.request.json +1 -0
  336. package/lib/cjs/es/json/snapshot.clone.request.json +1 -1
  337. package/lib/cjs/es/json/snapshot.create.request.json +1 -1
  338. package/lib/cjs/es/json/snapshot.create_repository.request.json +1 -0
  339. package/lib/cjs/es/json/snapshot.delete.request.json +1 -1
  340. package/lib/cjs/es/json/snapshot.delete_repository.request.json +1 -0
  341. package/lib/cjs/es/json/snapshot.get.request.json +1 -1
  342. package/lib/cjs/es/json/snapshot.get_repository.request.json +1 -0
  343. package/lib/cjs/es/json/snapshot.repository_analyze.request.json +1 -0
  344. package/lib/cjs/es/json/snapshot.repository_verify_integrity.request.json +1 -0
  345. package/lib/cjs/es/json/snapshot.restore.request.json +1 -1
  346. package/lib/cjs/es/json/snapshot.status.request.json +1 -1
  347. package/lib/cjs/es/json/snapshot.verify_repository.request.json +1 -0
  348. package/lib/cjs/es/json/sql.get_async.request.json +1 -1
  349. package/lib/cjs/es/json/streams.logs_disable.request.json +1 -1
  350. package/lib/cjs/es/json/streams.logs_enable.request.json +1 -1
  351. package/lib/cjs/es/json/synonyms.delete_synonym_rule.request.json +1 -1
  352. package/lib/cjs/es/json/synonyms.get_synonym.request.json +1 -1
  353. package/lib/cjs/es/json/synonyms.put_synonym.request.json +1 -1
  354. package/lib/cjs/es/json/synonyms.put_synonym_rule.request.json +1 -1
  355. package/lib/cjs/es/json/tasks.cancel.request.json +1 -1
  356. package/lib/cjs/es/json/tasks.get.request.json +1 -1
  357. package/lib/cjs/es/json/tasks.list.request.json +1 -1
  358. package/lib/cjs/es/json/terms_enum.request.json +1 -1
  359. package/lib/cjs/es/json/termvectors.request.json +1 -1
  360. package/lib/cjs/es/json/text_structure.find_field_structure.request.json +1 -1
  361. package/lib/cjs/es/json/text_structure.find_message_structure.request.json +1 -1
  362. package/lib/cjs/es/json/text_structure.find_structure.request.json +1 -1
  363. package/lib/cjs/es/json/transform.delete_transform.request.json +1 -1
  364. package/lib/cjs/es/json/transform.get_transform.request.json +1 -1
  365. package/lib/cjs/es/json/transform.get_transform_stats.request.json +1 -1
  366. package/lib/cjs/es/json/transform.preview_transform.request.json +1 -1
  367. package/lib/cjs/es/json/transform.put_transform.request.json +1 -1
  368. package/lib/cjs/es/json/transform.reset_transform.request.json +1 -1
  369. package/lib/cjs/es/json/transform.schedule_now_transform.request.json +1 -1
  370. package/lib/cjs/es/json/transform.start_transform.request.json +1 -1
  371. package/lib/cjs/es/json/transform.stop_transform.request.json +1 -1
  372. package/lib/cjs/es/json/transform.update_transform.request.json +1 -1
  373. package/lib/cjs/es/json/update.request.json +1 -1
  374. package/lib/cjs/es/json/update_by_query.request.json +1 -1
  375. package/lib/cjs/es/json/update_by_query_rethrottle.request.json +1 -1
  376. package/lib/cjs/es/json/watcher.execute_watch.request.json +1 -1
  377. package/lib/cjs/es/json/watcher.put_watch.request.json +1 -1
  378. package/lib/cjs/es/json/watcher.stats.request.json +1 -1
  379. package/lib/cjs/es/schemas/indices.forcemerge.d.ts +3 -4
  380. package/lib/cjs/es/schemas/indices.forcemerge.d.ts.map +1 -1
  381. package/lib/cjs/es/schemas/indices.forcemerge.js +3 -4
  382. package/lib/cjs/es/schemas/indices.forcemerge.js.map +1 -1
  383. package/lib/cjs/es/tools/apis/ilm.delete_lifecycle.d.ts.map +1 -1
  384. package/lib/cjs/es/tools/apis/ilm.delete_lifecycle.js +6 -0
  385. package/lib/cjs/es/tools/apis/ilm.delete_lifecycle.js.map +1 -1
  386. package/lib/cjs/es/tools/apis/ilm.get_lifecycle.d.ts.map +1 -1
  387. package/lib/cjs/es/tools/apis/ilm.get_lifecycle.js +6 -0
  388. package/lib/cjs/es/tools/apis/ilm.get_lifecycle.js.map +1 -1
  389. package/lib/cjs/es/tools/apis/ilm.put_lifecycle.d.ts.map +1 -1
  390. package/lib/cjs/es/tools/apis/ilm.put_lifecycle.js +6 -0
  391. package/lib/cjs/es/tools/apis/ilm.put_lifecycle.js.map +1 -1
  392. package/lib/cjs/es/tools/apis/snapshot.cleanup_repository.d.ts.map +1 -1
  393. package/lib/cjs/es/tools/apis/snapshot.cleanup_repository.js +6 -0
  394. package/lib/cjs/es/tools/apis/snapshot.cleanup_repository.js.map +1 -1
  395. package/lib/cjs/es/tools/apis/snapshot.create_repository.d.ts.map +1 -1
  396. package/lib/cjs/es/tools/apis/snapshot.create_repository.js +6 -0
  397. package/lib/cjs/es/tools/apis/snapshot.create_repository.js.map +1 -1
  398. package/lib/cjs/es/tools/apis/snapshot.delete_repository.d.ts.map +1 -1
  399. package/lib/cjs/es/tools/apis/snapshot.delete_repository.js +6 -0
  400. package/lib/cjs/es/tools/apis/snapshot.delete_repository.js.map +1 -1
  401. package/lib/cjs/es/tools/apis/snapshot.get_repository.d.ts.map +1 -1
  402. package/lib/cjs/es/tools/apis/snapshot.get_repository.js +6 -0
  403. package/lib/cjs/es/tools/apis/snapshot.get_repository.js.map +1 -1
  404. package/lib/cjs/es/tools/apis/snapshot.repository_analyze.d.ts.map +1 -1
  405. package/lib/cjs/es/tools/apis/snapshot.repository_analyze.js +6 -0
  406. package/lib/cjs/es/tools/apis/snapshot.repository_analyze.js.map +1 -1
  407. package/lib/cjs/es/tools/apis/snapshot.repository_verify_integrity.d.ts.map +1 -1
  408. package/lib/cjs/es/tools/apis/snapshot.repository_verify_integrity.js +6 -0
  409. package/lib/cjs/es/tools/apis/snapshot.repository_verify_integrity.js.map +1 -1
  410. package/lib/cjs/es/tools/apis/snapshot.verify_repository.d.ts.map +1 -1
  411. package/lib/cjs/es/tools/apis/snapshot.verify_repository.js +6 -0
  412. package/lib/cjs/es/tools/apis/snapshot.verify_repository.js.map +1 -1
  413. package/lib/cjs/registry.d.ts +1 -0
  414. package/lib/cjs/registry.d.ts.map +1 -1
  415. package/lib/cjs/registry.js.map +1 -1
  416. package/lib/cjs/serverless/schemas/get_traffic_filter_metadata.d.ts +7 -3
  417. package/lib/cjs/serverless/schemas/get_traffic_filter_metadata.d.ts.map +1 -1
  418. package/lib/cjs/serverless/schemas/get_traffic_filter_metadata.js +3 -3
  419. package/lib/cjs/serverless/schemas/get_traffic_filter_metadata.js.map +1 -1
  420. package/lib/es/json/async_search.get.request.json +1 -1
  421. package/lib/es/json/async_search.status.request.json +1 -1
  422. package/lib/es/json/async_search.submit.request.json +1 -1
  423. package/lib/es/json/bulk.request.json +1 -1
  424. package/lib/es/json/cancel_reindex.request.json +1 -1
  425. package/lib/es/json/cat.aliases.request.json +1 -1
  426. package/lib/es/json/cat.allocation.request.json +1 -1
  427. package/lib/es/json/cat.circuit_breaker.request.json +1 -1
  428. package/lib/es/json/cat.component_templates.request.json +1 -1
  429. package/lib/es/json/cat.count.request.json +1 -1
  430. package/lib/es/json/cat.fielddata.request.json +1 -1
  431. package/lib/es/json/cat.indices.request.json +1 -1
  432. package/lib/es/json/cat.ml_data_frame_analytics.request.json +1 -1
  433. package/lib/es/json/cat.ml_datafeeds.request.json +1 -1
  434. package/lib/es/json/cat.ml_jobs.request.json +1 -1
  435. package/lib/es/json/cat.ml_trained_models.request.json +1 -1
  436. package/lib/es/json/cat.recovery.request.json +1 -1
  437. package/lib/es/json/cat.segments.request.json +1 -1
  438. package/lib/es/json/cat.shards.request.json +1 -1
  439. package/lib/es/json/cat.snapshots.request.json +1 -1
  440. package/lib/es/json/cat.templates.request.json +1 -1
  441. package/lib/es/json/cat.thread_pool.request.json +1 -1
  442. package/lib/es/json/cat.transforms.request.json +1 -1
  443. package/lib/es/json/ccr.delete_auto_follow_pattern.request.json +1 -1
  444. package/lib/es/json/ccr.follow.request.json +1 -1
  445. package/lib/es/json/ccr.follow_info.request.json +1 -1
  446. package/lib/es/json/ccr.follow_stats.request.json +1 -1
  447. package/lib/es/json/ccr.forget_follower.request.json +1 -1
  448. package/lib/es/json/ccr.get_auto_follow_pattern.request.json +1 -1
  449. package/lib/es/json/ccr.pause_auto_follow_pattern.request.json +1 -1
  450. package/lib/es/json/ccr.pause_follow.request.json +1 -1
  451. package/lib/es/json/ccr.put_auto_follow_pattern.request.json +1 -1
  452. package/lib/es/json/ccr.resume_auto_follow_pattern.request.json +1 -1
  453. package/lib/es/json/ccr.resume_follow.request.json +1 -1
  454. package/lib/es/json/ccr.unfollow.request.json +1 -1
  455. package/lib/es/json/clear_scroll.request.json +1 -1
  456. package/lib/es/json/cluster.delete_component_template.request.json +1 -1
  457. package/lib/es/json/cluster.exists_component_template.request.json +1 -1
  458. package/lib/es/json/cluster.get_component_template.request.json +1 -1
  459. package/lib/es/json/cluster.health.request.json +1 -1
  460. package/lib/es/json/cluster.put_component_template.request.json +1 -1
  461. package/lib/es/json/cluster.reroute.request.json +1 -1
  462. package/lib/es/json/cluster.state.request.json +1 -1
  463. package/lib/es/json/connector.delete.request.json +1 -1
  464. package/lib/es/json/connector.get.request.json +1 -1
  465. package/lib/es/json/connector.put.request.json +1 -1
  466. package/lib/es/json/connector.sync_job_claim.request.json +1 -1
  467. package/lib/es/json/connector.sync_job_error.request.json +1 -1
  468. package/lib/es/json/connector.sync_job_list.request.json +1 -1
  469. package/lib/es/json/connector.sync_job_update_stats.request.json +1 -1
  470. package/lib/es/json/connector.update_api_key_id.request.json +1 -1
  471. package/lib/es/json/connector.update_configuration.request.json +1 -1
  472. package/lib/es/json/connector.update_error.request.json +1 -1
  473. package/lib/es/json/connector.update_features.request.json +1 -1
  474. package/lib/es/json/connector.update_filtering.request.json +1 -1
  475. package/lib/es/json/connector.update_filtering_validation.request.json +1 -1
  476. package/lib/es/json/connector.update_index_name.request.json +1 -1
  477. package/lib/es/json/connector.update_name.request.json +1 -1
  478. package/lib/es/json/connector.update_native.request.json +1 -1
  479. package/lib/es/json/connector.update_pipeline.request.json +1 -1
  480. package/lib/es/json/connector.update_scheduling.request.json +1 -1
  481. package/lib/es/json/connector.update_service_type.request.json +1 -1
  482. package/lib/es/json/connector.update_status.request.json +1 -1
  483. package/lib/es/json/count.request.json +1 -1
  484. package/lib/es/json/create.request.json +1 -1
  485. package/lib/es/json/dangling_indices.delete_dangling_index.request.json +1 -1
  486. package/lib/es/json/dangling_indices.import_dangling_index.request.json +1 -1
  487. package/lib/es/json/delete.request.json +1 -1
  488. package/lib/es/json/delete_by_query.request.json +1 -1
  489. package/lib/es/json/delete_by_query_rethrottle.request.json +1 -1
  490. package/lib/es/json/delete_script.request.json +1 -1
  491. package/lib/es/json/enrich.delete_policy.request.json +1 -1
  492. package/lib/es/json/enrich.execute_policy.request.json +1 -1
  493. package/lib/es/json/enrich.get_policy.request.json +1 -1
  494. package/lib/es/json/enrich.put_policy.request.json +1 -1
  495. package/lib/es/json/eql.get.request.json +1 -1
  496. package/lib/es/json/eql.search.request.json +1 -1
  497. package/lib/es/json/esql.async_query_get.request.json +1 -1
  498. package/lib/es/json/esql.async_query_stop.request.json +1 -1
  499. package/lib/es/json/esql.put_view.request.json +1 -1
  500. package/lib/es/json/exists.request.json +1 -1
  501. package/lib/es/json/exists_source.request.json +1 -1
  502. package/lib/es/json/explain.request.json +1 -1
  503. package/lib/es/json/field_caps.request.json +1 -1
  504. package/lib/es/json/fleet.global_checkpoints.request.json +1 -1
  505. package/lib/es/json/fleet.msearch.request.json +1 -1
  506. package/lib/es/json/fleet.search.request.json +1 -1
  507. package/lib/es/json/get.request.json +1 -1
  508. package/lib/es/json/get_reindex.request.json +1 -1
  509. package/lib/es/json/get_script.request.json +1 -1
  510. package/lib/es/json/get_source.request.json +1 -1
  511. package/lib/es/json/graph.explore.request.json +1 -1
  512. package/lib/es/json/health_report.request.json +1 -1
  513. package/lib/es/json/ilm.delete_lifecycle.request.json +1 -0
  514. package/lib/es/json/ilm.explain_lifecycle.request.json +1 -1
  515. package/lib/es/json/ilm.get_lifecycle.request.json +1 -0
  516. package/lib/es/json/ilm.move_to_step.request.json +1 -1
  517. package/lib/es/json/ilm.put_lifecycle.request.json +1 -0
  518. package/lib/es/json/index.request.json +1 -1
  519. package/lib/es/json/indices.add_block.request.json +1 -1
  520. package/lib/es/json/indices.analyze.request.json +1 -1
  521. package/lib/es/json/indices.clear_cache.request.json +1 -1
  522. package/lib/es/json/indices.clone.request.json +1 -1
  523. package/lib/es/json/indices.close.request.json +1 -1
  524. package/lib/es/json/indices.create.request.json +1 -1
  525. package/lib/es/json/indices.create_data_stream.request.json +1 -1
  526. package/lib/es/json/indices.create_from.request.json +1 -1
  527. package/lib/es/json/indices.data_streams_stats.request.json +1 -1
  528. package/lib/es/json/indices.delete.request.json +1 -1
  529. package/lib/es/json/indices.delete_alias.request.json +1 -1
  530. package/lib/es/json/indices.delete_data_lifecycle.request.json +1 -1
  531. package/lib/es/json/indices.delete_data_stream.request.json +1 -1
  532. package/lib/es/json/indices.delete_data_stream_options.request.json +1 -1
  533. package/lib/es/json/indices.delete_index_template.request.json +1 -1
  534. package/lib/es/json/indices.delete_template.request.json +1 -1
  535. package/lib/es/json/indices.disk_usage.request.json +1 -1
  536. package/lib/es/json/indices.downsample.request.json +1 -1
  537. package/lib/es/json/indices.exists.request.json +1 -1
  538. package/lib/es/json/indices.exists_alias.request.json +1 -1
  539. package/lib/es/json/indices.exists_index_template.request.json +1 -1
  540. package/lib/es/json/indices.exists_template.request.json +1 -1
  541. package/lib/es/json/indices.explain_data_lifecycle.request.json +1 -1
  542. package/lib/es/json/indices.field_usage_stats.request.json +1 -1
  543. package/lib/es/json/indices.flush.request.json +1 -1
  544. package/lib/es/json/indices.forcemerge.request.json +1 -1
  545. package/lib/es/json/indices.get.request.json +1 -1
  546. package/lib/es/json/indices.get_alias.request.json +1 -1
  547. package/lib/es/json/indices.get_data_lifecycle.request.json +1 -1
  548. package/lib/es/json/indices.get_data_stream.request.json +1 -1
  549. package/lib/es/json/indices.get_data_stream_mappings.request.json +1 -1
  550. package/lib/es/json/indices.get_data_stream_options.request.json +1 -1
  551. package/lib/es/json/indices.get_data_stream_settings.request.json +1 -1
  552. package/lib/es/json/indices.get_field_mapping.request.json +1 -1
  553. package/lib/es/json/indices.get_index_template.request.json +1 -1
  554. package/lib/es/json/indices.get_mapping.request.json +1 -1
  555. package/lib/es/json/indices.get_settings.request.json +1 -1
  556. package/lib/es/json/indices.get_template.request.json +1 -1
  557. package/lib/es/json/indices.migrate_reindex.request.json +1 -1
  558. package/lib/es/json/indices.migrate_to_data_stream.request.json +1 -1
  559. package/lib/es/json/indices.open.request.json +1 -1
  560. package/lib/es/json/indices.promote_data_stream.request.json +1 -1
  561. package/lib/es/json/indices.put_alias.request.json +1 -1
  562. package/lib/es/json/indices.put_data_lifecycle.request.json +1 -1
  563. package/lib/es/json/indices.put_data_stream_mappings.request.json +1 -1
  564. package/lib/es/json/indices.put_data_stream_options.request.json +1 -1
  565. package/lib/es/json/indices.put_data_stream_settings.request.json +1 -1
  566. package/lib/es/json/indices.put_index_template.request.json +1 -1
  567. package/lib/es/json/indices.put_mapping.request.json +1 -1
  568. package/lib/es/json/indices.put_settings.request.json +1 -1
  569. package/lib/es/json/indices.put_template.request.json +1 -1
  570. package/lib/es/json/indices.recovery.request.json +1 -1
  571. package/lib/es/json/indices.refresh.request.json +1 -1
  572. package/lib/es/json/indices.reload_search_analyzers.request.json +1 -1
  573. package/lib/es/json/indices.remove_block.request.json +1 -1
  574. package/lib/es/json/indices.resolve_cluster.request.json +1 -1
  575. package/lib/es/json/indices.resolve_index.request.json +1 -1
  576. package/lib/es/json/indices.rollover.request.json +1 -1
  577. package/lib/es/json/indices.segments.request.json +1 -1
  578. package/lib/es/json/indices.shard_stores.request.json +1 -1
  579. package/lib/es/json/indices.shrink.request.json +1 -1
  580. package/lib/es/json/indices.simulate_index_template.request.json +1 -1
  581. package/lib/es/json/indices.simulate_template.request.json +1 -1
  582. package/lib/es/json/indices.split.request.json +1 -1
  583. package/lib/es/json/indices.stats.request.json +1 -1
  584. package/lib/es/json/indices.validate_query.request.json +1 -1
  585. package/lib/es/json/inference.chat_completion_unified.request.json +1 -1
  586. package/lib/es/json/inference.completion.request.json +1 -1
  587. package/lib/es/json/inference.delete.request.json +1 -1
  588. package/lib/es/json/inference.embedding.request.json +1 -1
  589. package/lib/es/json/inference.inference.request.json +1 -1
  590. package/lib/es/json/inference.put.request.json +1 -1
  591. package/lib/es/json/inference.put_ai21.request.json +1 -1
  592. package/lib/es/json/inference.put_alibabacloud.request.json +1 -1
  593. package/lib/es/json/inference.put_amazonbedrock.request.json +1 -1
  594. package/lib/es/json/inference.put_amazonsagemaker.request.json +1 -1
  595. package/lib/es/json/inference.put_anthropic.request.json +1 -1
  596. package/lib/es/json/inference.put_azureaistudio.request.json +1 -1
  597. package/lib/es/json/inference.put_azureopenai.request.json +1 -1
  598. package/lib/es/json/inference.put_cohere.request.json +1 -1
  599. package/lib/es/json/inference.put_contextualai.request.json +1 -1
  600. package/lib/es/json/inference.put_custom.request.json +1 -1
  601. package/lib/es/json/inference.put_deepseek.request.json +1 -1
  602. package/lib/es/json/inference.put_elasticsearch.request.json +1 -1
  603. package/lib/es/json/inference.put_elser.request.json +1 -1
  604. package/lib/es/json/inference.put_fireworksai.request.json +1 -1
  605. package/lib/es/json/inference.put_googleaistudio.request.json +1 -1
  606. package/lib/es/json/inference.put_googlevertexai.request.json +1 -1
  607. package/lib/es/json/inference.put_groq.request.json +1 -1
  608. package/lib/es/json/inference.put_hugging_face.request.json +1 -1
  609. package/lib/es/json/inference.put_jinaai.request.json +1 -1
  610. package/lib/es/json/inference.put_llama.request.json +1 -1
  611. package/lib/es/json/inference.put_mistral.request.json +1 -1
  612. package/lib/es/json/inference.put_nvidia.request.json +1 -1
  613. package/lib/es/json/inference.put_openai.request.json +1 -1
  614. package/lib/es/json/inference.put_openshift_ai.request.json +1 -1
  615. package/lib/es/json/inference.put_voyageai.request.json +1 -1
  616. package/lib/es/json/inference.put_watsonx.request.json +1 -1
  617. package/lib/es/json/inference.rerank.request.json +1 -1
  618. package/lib/es/json/inference.sparse_embedding.request.json +1 -1
  619. package/lib/es/json/inference.stream_completion.request.json +1 -1
  620. package/lib/es/json/inference.text_embedding.request.json +1 -1
  621. package/lib/es/json/inference.update.request.json +1 -1
  622. package/lib/es/json/ingest.delete_geoip_database.request.json +1 -1
  623. package/lib/es/json/ingest.delete_ip_location_database.request.json +1 -1
  624. package/lib/es/json/ingest.delete_pipeline.request.json +1 -1
  625. package/lib/es/json/ingest.get_pipeline.request.json +1 -1
  626. package/lib/es/json/ingest.put_geoip_database.request.json +1 -1
  627. package/lib/es/json/ingest.put_ip_location_database.request.json +1 -1
  628. package/lib/es/json/ingest.put_pipeline.request.json +1 -1
  629. package/lib/es/json/ingest.simulate.request.json +1 -1
  630. package/lib/es/json/logstash.put_pipeline.request.json +1 -1
  631. package/lib/es/json/mget.request.json +1 -1
  632. package/lib/es/json/ml.close_job.request.json +1 -1
  633. package/lib/es/json/ml.delete_data_frame_analytics.request.json +1 -1
  634. package/lib/es/json/ml.delete_datafeed.request.json +1 -1
  635. package/lib/es/json/ml.delete_expired_data.request.json +1 -1
  636. package/lib/es/json/ml.delete_forecast.request.json +1 -1
  637. package/lib/es/json/ml.delete_job.request.json +1 -1
  638. package/lib/es/json/ml.delete_trained_model.request.json +1 -1
  639. package/lib/es/json/ml.explain_data_frame_analytics.request.json +1 -1
  640. package/lib/es/json/ml.flush_job.request.json +1 -1
  641. package/lib/es/json/ml.forecast.request.json +1 -1
  642. package/lib/es/json/ml.get_buckets.request.json +1 -1
  643. package/lib/es/json/ml.get_calendar_events.request.json +1 -1
  644. package/lib/es/json/ml.get_calendars.request.json +1 -1
  645. package/lib/es/json/ml.get_categories.request.json +1 -1
  646. package/lib/es/json/ml.get_data_frame_analytics.request.json +1 -1
  647. package/lib/es/json/ml.get_data_frame_analytics_stats.request.json +1 -1
  648. package/lib/es/json/ml.get_datafeed_stats.request.json +1 -1
  649. package/lib/es/json/ml.get_datafeeds.request.json +1 -1
  650. package/lib/es/json/ml.get_filters.request.json +1 -1
  651. package/lib/es/json/ml.get_influencers.request.json +1 -1
  652. package/lib/es/json/ml.get_job_stats.request.json +1 -1
  653. package/lib/es/json/ml.get_jobs.request.json +1 -1
  654. package/lib/es/json/ml.get_memory_stats.request.json +1 -1
  655. package/lib/es/json/ml.get_model_snapshot_upgrade_stats.request.json +1 -1
  656. package/lib/es/json/ml.get_model_snapshots.request.json +1 -1
  657. package/lib/es/json/ml.get_overall_buckets.request.json +1 -1
  658. package/lib/es/json/ml.get_records.request.json +1 -1
  659. package/lib/es/json/ml.get_trained_models.request.json +1 -1
  660. package/lib/es/json/ml.get_trained_models_stats.request.json +1 -1
  661. package/lib/es/json/ml.infer_trained_model.request.json +1 -1
  662. package/lib/es/json/ml.open_job.request.json +1 -1
  663. package/lib/es/json/ml.post_calendar_events.request.json +1 -1
  664. package/lib/es/json/ml.post_data.request.json +1 -1
  665. package/lib/es/json/ml.preview_data_frame_analytics.request.json +1 -1
  666. package/lib/es/json/ml.preview_datafeed.request.json +1 -1
  667. package/lib/es/json/ml.put_calendar.request.json +1 -1
  668. package/lib/es/json/ml.put_data_frame_analytics.request.json +1 -1
  669. package/lib/es/json/ml.put_datafeed.request.json +1 -1
  670. package/lib/es/json/ml.put_filter.request.json +1 -1
  671. package/lib/es/json/ml.put_job.request.json +1 -1
  672. package/lib/es/json/ml.put_trained_model.request.json +1 -1
  673. package/lib/es/json/ml.put_trained_model_alias.request.json +1 -1
  674. package/lib/es/json/ml.put_trained_model_definition_part.request.json +1 -1
  675. package/lib/es/json/ml.put_trained_model_vocabulary.request.json +1 -1
  676. package/lib/es/json/ml.reset_job.request.json +1 -1
  677. package/lib/es/json/ml.revert_model_snapshot.request.json +1 -1
  678. package/lib/es/json/ml.start_data_frame_analytics.request.json +1 -1
  679. package/lib/es/json/ml.start_datafeed.request.json +1 -1
  680. package/lib/es/json/ml.start_trained_model_deployment.request.json +1 -1
  681. package/lib/es/json/ml.stop_data_frame_analytics.request.json +1 -1
  682. package/lib/es/json/ml.stop_datafeed.request.json +1 -1
  683. package/lib/es/json/ml.stop_trained_model_deployment.request.json +1 -1
  684. package/lib/es/json/ml.update_data_frame_analytics.request.json +1 -1
  685. package/lib/es/json/ml.update_datafeed.request.json +1 -1
  686. package/lib/es/json/ml.update_filter.request.json +1 -1
  687. package/lib/es/json/ml.update_job.request.json +1 -1
  688. package/lib/es/json/ml.update_model_snapshot.request.json +1 -1
  689. package/lib/es/json/ml.update_trained_model_deployment.request.json +1 -1
  690. package/lib/es/json/ml.upgrade_job_snapshot.request.json +1 -1
  691. package/lib/es/json/msearch.request.json +1 -1
  692. package/lib/es/json/msearch_template.request.json +1 -1
  693. package/lib/es/json/mtermvectors.request.json +1 -1
  694. package/lib/es/json/nodes.hot_threads.request.json +1 -1
  695. package/lib/es/json/nodes.info.request.json +1 -1
  696. package/lib/es/json/nodes.reload_secure_settings.request.json +1 -1
  697. package/lib/es/json/nodes.stats.request.json +1 -1
  698. package/lib/es/json/nodes.usage.request.json +1 -1
  699. package/lib/es/json/open_point_in_time.request.json +1 -1
  700. package/lib/es/json/project.create_many_routing.request.json +1 -1
  701. package/lib/es/json/project.create_routing.request.json +1 -1
  702. package/lib/es/json/put_script.request.json +1 -1
  703. package/lib/es/json/query_rules.put_rule.request.json +1 -1
  704. package/lib/es/json/query_rules.put_ruleset.request.json +1 -1
  705. package/lib/es/json/query_rules.test.request.json +1 -1
  706. package/lib/es/json/rank_eval.request.json +1 -1
  707. package/lib/es/json/reindex_rethrottle.request.json +1 -1
  708. package/lib/es/json/render_search_template.request.json +1 -1
  709. package/lib/es/json/rollup.put_job.request.json +1 -1
  710. package/lib/es/json/rollup.rollup_search.request.json +1 -1
  711. package/lib/es/json/rollup.stop_job.request.json +1 -1
  712. package/lib/es/json/scroll.request.json +1 -1
  713. package/lib/es/json/search.request.json +1 -1
  714. package/lib/es/json/search_application.post_behavioral_analytics_event.request.json +1 -1
  715. package/lib/es/json/search_application.put.request.json +1 -1
  716. package/lib/es/json/search_application.render_query.request.json +1 -1
  717. package/lib/es/json/search_application.search.request.json +1 -1
  718. package/lib/es/json/search_mvt.request.json +1 -1
  719. package/lib/es/json/search_shards.request.json +1 -1
  720. package/lib/es/json/search_template.request.json +1 -1
  721. package/lib/es/json/searchable_snapshots.clear_cache.request.json +1 -1
  722. package/lib/es/json/searchable_snapshots.mount.request.json +1 -1
  723. package/lib/es/json/searchable_snapshots.stats.request.json +1 -1
  724. package/lib/es/json/security.bulk_update_api_keys.request.json +1 -1
  725. package/lib/es/json/security.change_password.request.json +1 -1
  726. package/lib/es/json/security.clear_cached_realms.request.json +1 -1
  727. package/lib/es/json/security.create_service_token.request.json +1 -1
  728. package/lib/es/json/security.delete_privileges.request.json +1 -1
  729. package/lib/es/json/security.delete_role.request.json +1 -1
  730. package/lib/es/json/security.delete_role_mapping.request.json +1 -1
  731. package/lib/es/json/security.delete_service_token.request.json +1 -1
  732. package/lib/es/json/security.delete_user.request.json +1 -1
  733. package/lib/es/json/security.disable_user.request.json +1 -1
  734. package/lib/es/json/security.disable_user_profile.request.json +1 -1
  735. package/lib/es/json/security.enable_user.request.json +1 -1
  736. package/lib/es/json/security.enable_user_profile.request.json +1 -1
  737. package/lib/es/json/security.get_role.request.json +1 -1
  738. package/lib/es/json/security.get_user.request.json +1 -1
  739. package/lib/es/json/security.get_user_profile.request.json +1 -1
  740. package/lib/es/json/security.has_privileges.request.json +1 -1
  741. package/lib/es/json/security.put_privileges.request.json +1 -1
  742. package/lib/es/json/security.put_role.request.json +1 -1
  743. package/lib/es/json/security.put_role_mapping.request.json +1 -1
  744. package/lib/es/json/security.put_user.request.json +1 -1
  745. package/lib/es/json/security.suggest_user_profiles.request.json +1 -1
  746. package/lib/es/json/security.update_api_key.request.json +1 -1
  747. package/lib/es/json/security.update_cross_cluster_api_key.request.json +1 -1
  748. package/lib/es/json/security.update_user_profile_data.request.json +1 -1
  749. package/lib/es/json/simulate.ingest.request.json +1 -1
  750. package/lib/es/json/slm.delete_lifecycle.request.json +1 -1
  751. package/lib/es/json/slm.execute_lifecycle.request.json +1 -1
  752. package/lib/es/json/slm.get_lifecycle.request.json +1 -1
  753. package/lib/es/json/slm.put_lifecycle.request.json +1 -1
  754. package/lib/es/json/snapshot.cleanup_repository.request.json +1 -0
  755. package/lib/es/json/snapshot.clone.request.json +1 -1
  756. package/lib/es/json/snapshot.create.request.json +1 -1
  757. package/lib/es/json/snapshot.create_repository.request.json +1 -0
  758. package/lib/es/json/snapshot.delete.request.json +1 -1
  759. package/lib/es/json/snapshot.delete_repository.request.json +1 -0
  760. package/lib/es/json/snapshot.get.request.json +1 -1
  761. package/lib/es/json/snapshot.get_repository.request.json +1 -0
  762. package/lib/es/json/snapshot.repository_analyze.request.json +1 -0
  763. package/lib/es/json/snapshot.repository_verify_integrity.request.json +1 -0
  764. package/lib/es/json/snapshot.restore.request.json +1 -1
  765. package/lib/es/json/snapshot.status.request.json +1 -1
  766. package/lib/es/json/snapshot.verify_repository.request.json +1 -0
  767. package/lib/es/json/sql.get_async.request.json +1 -1
  768. package/lib/es/json/streams.logs_disable.request.json +1 -1
  769. package/lib/es/json/streams.logs_enable.request.json +1 -1
  770. package/lib/es/json/synonyms.delete_synonym_rule.request.json +1 -1
  771. package/lib/es/json/synonyms.get_synonym.request.json +1 -1
  772. package/lib/es/json/synonyms.put_synonym.request.json +1 -1
  773. package/lib/es/json/synonyms.put_synonym_rule.request.json +1 -1
  774. package/lib/es/json/tasks.cancel.request.json +1 -1
  775. package/lib/es/json/tasks.get.request.json +1 -1
  776. package/lib/es/json/tasks.list.request.json +1 -1
  777. package/lib/es/json/terms_enum.request.json +1 -1
  778. package/lib/es/json/termvectors.request.json +1 -1
  779. package/lib/es/json/text_structure.find_field_structure.request.json +1 -1
  780. package/lib/es/json/text_structure.find_message_structure.request.json +1 -1
  781. package/lib/es/json/text_structure.find_structure.request.json +1 -1
  782. package/lib/es/json/transform.delete_transform.request.json +1 -1
  783. package/lib/es/json/transform.get_transform.request.json +1 -1
  784. package/lib/es/json/transform.get_transform_stats.request.json +1 -1
  785. package/lib/es/json/transform.preview_transform.request.json +1 -1
  786. package/lib/es/json/transform.put_transform.request.json +1 -1
  787. package/lib/es/json/transform.reset_transform.request.json +1 -1
  788. package/lib/es/json/transform.schedule_now_transform.request.json +1 -1
  789. package/lib/es/json/transform.start_transform.request.json +1 -1
  790. package/lib/es/json/transform.stop_transform.request.json +1 -1
  791. package/lib/es/json/transform.update_transform.request.json +1 -1
  792. package/lib/es/json/update.request.json +1 -1
  793. package/lib/es/json/update_by_query.request.json +1 -1
  794. package/lib/es/json/update_by_query_rethrottle.request.json +1 -1
  795. package/lib/es/json/watcher.execute_watch.request.json +1 -1
  796. package/lib/es/json/watcher.put_watch.request.json +1 -1
  797. package/lib/es/json/watcher.stats.request.json +1 -1
  798. package/lib/es/schemas/indices.forcemerge.d.ts +3 -4
  799. package/lib/es/schemas/indices.forcemerge.d.ts.map +1 -1
  800. package/lib/es/schemas/indices.forcemerge.js +3 -4
  801. package/lib/es/schemas/indices.forcemerge.js.map +1 -1
  802. package/lib/es/tools/apis/ilm.delete_lifecycle.d.ts.map +1 -1
  803. package/lib/es/tools/apis/ilm.delete_lifecycle.js +3 -0
  804. package/lib/es/tools/apis/ilm.delete_lifecycle.js.map +1 -1
  805. package/lib/es/tools/apis/ilm.get_lifecycle.d.ts.map +1 -1
  806. package/lib/es/tools/apis/ilm.get_lifecycle.js +3 -0
  807. package/lib/es/tools/apis/ilm.get_lifecycle.js.map +1 -1
  808. package/lib/es/tools/apis/ilm.put_lifecycle.d.ts.map +1 -1
  809. package/lib/es/tools/apis/ilm.put_lifecycle.js +3 -0
  810. package/lib/es/tools/apis/ilm.put_lifecycle.js.map +1 -1
  811. package/lib/es/tools/apis/snapshot.cleanup_repository.d.ts.map +1 -1
  812. package/lib/es/tools/apis/snapshot.cleanup_repository.js +3 -0
  813. package/lib/es/tools/apis/snapshot.cleanup_repository.js.map +1 -1
  814. package/lib/es/tools/apis/snapshot.create_repository.d.ts.map +1 -1
  815. package/lib/es/tools/apis/snapshot.create_repository.js +3 -0
  816. package/lib/es/tools/apis/snapshot.create_repository.js.map +1 -1
  817. package/lib/es/tools/apis/snapshot.delete_repository.d.ts.map +1 -1
  818. package/lib/es/tools/apis/snapshot.delete_repository.js +3 -0
  819. package/lib/es/tools/apis/snapshot.delete_repository.js.map +1 -1
  820. package/lib/es/tools/apis/snapshot.get_repository.d.ts.map +1 -1
  821. package/lib/es/tools/apis/snapshot.get_repository.js +3 -0
  822. package/lib/es/tools/apis/snapshot.get_repository.js.map +1 -1
  823. package/lib/es/tools/apis/snapshot.repository_analyze.d.ts.map +1 -1
  824. package/lib/es/tools/apis/snapshot.repository_analyze.js +3 -0
  825. package/lib/es/tools/apis/snapshot.repository_analyze.js.map +1 -1
  826. package/lib/es/tools/apis/snapshot.repository_verify_integrity.d.ts.map +1 -1
  827. package/lib/es/tools/apis/snapshot.repository_verify_integrity.js +3 -0
  828. package/lib/es/tools/apis/snapshot.repository_verify_integrity.js.map +1 -1
  829. package/lib/es/tools/apis/snapshot.verify_repository.d.ts.map +1 -1
  830. package/lib/es/tools/apis/snapshot.verify_repository.js +3 -0
  831. package/lib/es/tools/apis/snapshot.verify_repository.js.map +1 -1
  832. package/lib/registry.d.ts +1 -0
  833. package/lib/registry.d.ts.map +1 -1
  834. package/lib/registry.js.map +1 -1
  835. package/lib/serverless/schemas/get_traffic_filter_metadata.d.ts +7 -3
  836. package/lib/serverless/schemas/get_traffic_filter_metadata.d.ts.map +1 -1
  837. package/lib/serverless/schemas/get_traffic_filter_metadata.js +3 -3
  838. package/lib/serverless/schemas/get_traffic_filter_metadata.js.map +1 -1
  839. package/package.json +4 -2
  840. package/src/es/json/_global.bulk.json +1 -1
  841. package/src/es/json/_global.health_report.json +1 -1
  842. package/src/es/json/_global.mget.json +1 -1
  843. package/src/es/json/_global.msearch.json +1 -1
  844. package/src/es/json/_global.msearch_template.json +1 -0
  845. package/src/es/json/_global.rank_eval.json +1 -1
  846. package/src/es/json/_global.reindex_rethrottle.json +1 -1
  847. package/src/es/json/_global.search._types.json +1 -1
  848. package/src/es/json/_spec_utils.json +1 -1
  849. package/src/es/json/_types.aggregations.json +1 -1
  850. package/src/es/json/_types.analysis.json +1 -1
  851. package/src/es/json/_types.json +1 -1
  852. package/src/es/json/_types.mapping.json +1 -1
  853. package/src/es/json/_types.query_dsl.json +1 -1
  854. package/src/es/json/async_search.get.request.json +1 -1
  855. package/src/es/json/async_search.status.request.json +1 -1
  856. package/src/es/json/async_search.submit.request.json +1 -1
  857. package/src/es/json/bulk.request.json +1 -1
  858. package/src/es/json/cancel_reindex.request.json +1 -1
  859. package/src/es/json/cat._types.json +1 -1
  860. package/src/es/json/cat.aliases.request.json +1 -1
  861. package/src/es/json/cat.allocation.json +1 -1
  862. package/src/es/json/cat.allocation.request.json +1 -1
  863. package/src/es/json/cat.circuit_breaker.request.json +1 -1
  864. package/src/es/json/cat.component_templates.json +1 -1
  865. package/src/es/json/cat.component_templates.request.json +1 -1
  866. package/src/es/json/cat.count.request.json +1 -1
  867. package/src/es/json/cat.fielddata.request.json +1 -1
  868. package/src/es/json/cat.indices.json +1 -1
  869. package/src/es/json/cat.indices.request.json +1 -1
  870. package/src/es/json/cat.ml_data_frame_analytics.request.json +1 -1
  871. package/src/es/json/cat.ml_datafeeds.request.json +1 -1
  872. package/src/es/json/cat.ml_jobs.request.json +1 -1
  873. package/src/es/json/cat.ml_trained_models.request.json +1 -1
  874. package/src/es/json/cat.recovery.request.json +1 -1
  875. package/src/es/json/cat.segments.request.json +1 -1
  876. package/src/es/json/cat.shards.json +1 -1
  877. package/src/es/json/cat.shards.request.json +1 -1
  878. package/src/es/json/cat.snapshots.request.json +1 -1
  879. package/src/es/json/cat.templates.json +1 -1
  880. package/src/es/json/cat.templates.request.json +1 -1
  881. package/src/es/json/cat.thread_pool.json +1 -1
  882. package/src/es/json/cat.thread_pool.request.json +1 -1
  883. package/src/es/json/cat.transforms.json +1 -1
  884. package/src/es/json/cat.transforms.request.json +1 -1
  885. package/src/es/json/ccr.delete_auto_follow_pattern.request.json +1 -1
  886. package/src/es/json/ccr.follow.request.json +1 -1
  887. package/src/es/json/ccr.follow_info.request.json +1 -1
  888. package/src/es/json/ccr.follow_stats.request.json +1 -1
  889. package/src/es/json/ccr.forget_follower.request.json +1 -1
  890. package/src/es/json/ccr.get_auto_follow_pattern.request.json +1 -1
  891. package/src/es/json/ccr.pause_auto_follow_pattern.request.json +1 -1
  892. package/src/es/json/ccr.pause_follow.request.json +1 -1
  893. package/src/es/json/ccr.put_auto_follow_pattern.request.json +1 -1
  894. package/src/es/json/ccr.resume_auto_follow_pattern.request.json +1 -1
  895. package/src/es/json/ccr.resume_follow.request.json +1 -1
  896. package/src/es/json/ccr.unfollow.request.json +1 -1
  897. package/src/es/json/clear_scroll.request.json +1 -1
  898. package/src/es/json/cluster.delete_component_template.request.json +1 -1
  899. package/src/es/json/cluster.exists_component_template.request.json +1 -1
  900. package/src/es/json/cluster.get_component_template.request.json +1 -1
  901. package/src/es/json/cluster.health.json +1 -1
  902. package/src/es/json/cluster.health.request.json +1 -1
  903. package/src/es/json/cluster.put_component_template.request.json +1 -1
  904. package/src/es/json/cluster.remote_info.json +1 -1
  905. package/src/es/json/cluster.reroute.request.json +1 -1
  906. package/src/es/json/cluster.state.json +1 -1
  907. package/src/es/json/cluster.state.request.json +1 -1
  908. package/src/es/json/cluster.stats.request.json +1 -1
  909. package/src/es/json/connector._types.json +1 -1
  910. package/src/es/json/connector.delete.request.json +1 -1
  911. package/src/es/json/connector.get.request.json +1 -1
  912. package/src/es/json/connector.put.request.json +1 -1
  913. package/src/es/json/connector.sync_job_claim.request.json +1 -1
  914. package/src/es/json/connector.sync_job_error.request.json +1 -1
  915. package/src/es/json/connector.sync_job_list.request.json +1 -1
  916. package/src/es/json/connector.sync_job_update_stats.request.json +1 -1
  917. package/src/es/json/connector.update_api_key_id.request.json +1 -1
  918. package/src/es/json/connector.update_configuration.request.json +1 -1
  919. package/src/es/json/connector.update_error.request.json +1 -1
  920. package/src/es/json/connector.update_features.request.json +1 -1
  921. package/src/es/json/connector.update_filtering.request.json +1 -1
  922. package/src/es/json/connector.update_filtering_validation.request.json +1 -1
  923. package/src/es/json/connector.update_index_name.request.json +1 -1
  924. package/src/es/json/connector.update_name.request.json +1 -1
  925. package/src/es/json/connector.update_native.request.json +1 -1
  926. package/src/es/json/connector.update_pipeline.request.json +1 -1
  927. package/src/es/json/connector.update_scheduling.request.json +1 -1
  928. package/src/es/json/connector.update_service_type.request.json +1 -1
  929. package/src/es/json/connector.update_status.request.json +1 -1
  930. package/src/es/json/count.request.json +1 -1
  931. package/src/es/json/create.request.json +1 -1
  932. package/src/es/json/dangling_indices.delete_dangling_index.request.json +1 -1
  933. package/src/es/json/dangling_indices.import_dangling_index.request.json +1 -1
  934. package/src/es/json/delete.request.json +1 -1
  935. package/src/es/json/delete_by_query.request.json +1 -1
  936. package/src/es/json/delete_by_query_rethrottle.request.json +1 -1
  937. package/src/es/json/delete_script.request.json +1 -1
  938. package/src/es/json/enrich.delete_policy.request.json +1 -1
  939. package/src/es/json/enrich.execute_policy.request.json +1 -1
  940. package/src/es/json/enrich.get_policy.request.json +1 -1
  941. package/src/es/json/enrich.put_policy.request.json +1 -1
  942. package/src/es/json/eql.get.request.json +1 -1
  943. package/src/es/json/eql.search.request.json +1 -1
  944. package/src/es/json/esql._types.json +1 -1
  945. package/src/es/json/esql.async_query_get.request.json +1 -1
  946. package/src/es/json/esql.async_query_stop.request.json +1 -1
  947. package/src/es/json/esql.put_view.request.json +1 -1
  948. package/src/es/json/exists.request.json +1 -1
  949. package/src/es/json/exists_source.request.json +1 -1
  950. package/src/es/json/explain.request.json +1 -1
  951. package/src/es/json/field_caps.request.json +1 -1
  952. package/src/es/json/fleet.global_checkpoints.request.json +1 -1
  953. package/src/es/json/fleet.msearch.request.json +1 -1
  954. package/src/es/json/fleet.search.request.json +1 -1
  955. package/src/es/json/get.request.json +1 -1
  956. package/src/es/json/get_reindex.request.json +1 -1
  957. package/src/es/json/get_script.request.json +1 -1
  958. package/src/es/json/get_source.request.json +1 -1
  959. package/src/es/json/graph.explore.request.json +1 -1
  960. package/src/es/json/health_report.request.json +1 -1
  961. package/src/es/json/ilm.delete_lifecycle.request.json +1 -1
  962. package/src/es/json/ilm.explain_lifecycle.json +1 -1
  963. package/src/es/json/ilm.explain_lifecycle.request.json +1 -1
  964. package/src/es/json/ilm.get_lifecycle.request.json +1 -1
  965. package/src/es/json/ilm.move_to_step.request.json +1 -1
  966. package/src/es/json/ilm.put_lifecycle.request.json +1 -1
  967. package/src/es/json/index.request.json +1 -1
  968. package/src/es/json/indices._types.json +1 -1
  969. package/src/es/json/indices.add_block.request.json +1 -1
  970. package/src/es/json/indices.analyze.json +1 -1
  971. package/src/es/json/indices.analyze.request.json +1 -1
  972. package/src/es/json/indices.clear_cache.request.json +1 -1
  973. package/src/es/json/indices.clone.request.json +1 -1
  974. package/src/es/json/indices.close.request.json +1 -1
  975. package/src/es/json/indices.create.request.json +1 -1
  976. package/src/es/json/indices.create_data_stream.request.json +1 -1
  977. package/src/es/json/indices.create_from.json +1 -0
  978. package/src/es/json/indices.create_from.request.json +1 -1
  979. package/src/es/json/indices.data_streams_stats.request.json +1 -1
  980. package/src/es/json/indices.delete.request.json +1 -1
  981. package/src/es/json/indices.delete_alias.request.json +1 -1
  982. package/src/es/json/indices.delete_data_lifecycle.request.json +1 -1
  983. package/src/es/json/indices.delete_data_stream.request.json +1 -1
  984. package/src/es/json/indices.delete_data_stream_options.request.json +1 -1
  985. package/src/es/json/indices.delete_index_template.request.json +1 -1
  986. package/src/es/json/indices.delete_template.request.json +1 -1
  987. package/src/es/json/indices.disk_usage.request.json +1 -1
  988. package/src/es/json/indices.downsample.request.json +1 -1
  989. package/src/es/json/indices.exists.request.json +1 -1
  990. package/src/es/json/indices.exists_alias.request.json +1 -1
  991. package/src/es/json/indices.exists_index_template.request.json +1 -1
  992. package/src/es/json/indices.exists_template.request.json +1 -1
  993. package/src/es/json/indices.explain_data_lifecycle.request.json +1 -1
  994. package/src/es/json/indices.field_usage_stats.request.json +1 -1
  995. package/src/es/json/indices.flush.request.json +1 -1
  996. package/src/es/json/indices.forcemerge.request.json +1 -1
  997. package/src/es/json/indices.get.json +1 -1
  998. package/src/es/json/indices.get.request.json +1 -1
  999. package/src/es/json/indices.get_alias.request.json +1 -1
  1000. package/src/es/json/indices.get_data_lifecycle.request.json +1 -1
  1001. package/src/es/json/indices.get_data_stream.request.json +1 -1
  1002. package/src/es/json/indices.get_data_stream_mappings.request.json +1 -1
  1003. package/src/es/json/indices.get_data_stream_options.request.json +1 -1
  1004. package/src/es/json/indices.get_data_stream_settings.request.json +1 -1
  1005. package/src/es/json/indices.get_field_mapping.request.json +1 -1
  1006. package/src/es/json/indices.get_index_template.request.json +1 -1
  1007. package/src/es/json/indices.get_mapping.request.json +1 -1
  1008. package/src/es/json/indices.get_settings.request.json +1 -1
  1009. package/src/es/json/indices.get_template.request.json +1 -1
  1010. package/src/es/json/indices.migrate_reindex.json +1 -0
  1011. package/src/es/json/indices.migrate_reindex.request.json +1 -1
  1012. package/src/es/json/indices.migrate_to_data_stream.request.json +1 -1
  1013. package/src/es/json/indices.open.request.json +1 -1
  1014. package/src/es/json/indices.promote_data_stream.request.json +1 -1
  1015. package/src/es/json/indices.put_alias.request.json +1 -1
  1016. package/src/es/json/indices.put_data_lifecycle.request.json +1 -1
  1017. package/src/es/json/indices.put_data_stream_mappings.request.json +1 -1
  1018. package/src/es/json/indices.put_data_stream_options.request.json +1 -1
  1019. package/src/es/json/indices.put_data_stream_settings.request.json +1 -1
  1020. package/src/es/json/indices.put_index_template.json +1 -1
  1021. package/src/es/json/indices.put_index_template.request.json +1 -1
  1022. package/src/es/json/indices.put_mapping.request.json +1 -1
  1023. package/src/es/json/indices.put_settings.request.json +1 -1
  1024. package/src/es/json/indices.put_template.request.json +1 -1
  1025. package/src/es/json/indices.recovery.request.json +1 -1
  1026. package/src/es/json/indices.refresh.request.json +1 -1
  1027. package/src/es/json/indices.reload_search_analyzers.request.json +1 -1
  1028. package/src/es/json/indices.remove_block.request.json +1 -1
  1029. package/src/es/json/indices.resolve_cluster.request.json +1 -1
  1030. package/src/es/json/indices.resolve_index.request.json +1 -1
  1031. package/src/es/json/indices.rollover.request.json +1 -1
  1032. package/src/es/json/indices.segments.json +1 -1
  1033. package/src/es/json/indices.segments.request.json +1 -1
  1034. package/src/es/json/indices.shard_stores.request.json +1 -1
  1035. package/src/es/json/indices.shrink.request.json +1 -1
  1036. package/src/es/json/indices.simulate_index_template.request.json +1 -1
  1037. package/src/es/json/indices.simulate_template.request.json +1 -1
  1038. package/src/es/json/indices.split.request.json +1 -1
  1039. package/src/es/json/indices.stats.json +1 -1
  1040. package/src/es/json/indices.stats.request.json +1 -1
  1041. package/src/es/json/indices.update_aliases.json +1 -1
  1042. package/src/es/json/indices.validate_query.request.json +1 -1
  1043. package/src/es/json/inference._types.json +1 -1
  1044. package/src/es/json/inference.chat_completion_unified.request.json +1 -1
  1045. package/src/es/json/inference.completion.request.json +1 -1
  1046. package/src/es/json/inference.delete.request.json +1 -1
  1047. package/src/es/json/inference.embedding.request.json +1 -1
  1048. package/src/es/json/inference.inference.request.json +1 -1
  1049. package/src/es/json/inference.put.request.json +1 -1
  1050. package/src/es/json/inference.put_ai21.request.json +1 -1
  1051. package/src/es/json/inference.put_alibabacloud.request.json +1 -1
  1052. package/src/es/json/inference.put_amazonbedrock.request.json +1 -1
  1053. package/src/es/json/inference.put_amazonsagemaker.request.json +1 -1
  1054. package/src/es/json/inference.put_anthropic.request.json +1 -1
  1055. package/src/es/json/inference.put_azureaistudio.request.json +1 -1
  1056. package/src/es/json/inference.put_azureopenai.request.json +1 -1
  1057. package/src/es/json/inference.put_cohere.request.json +1 -1
  1058. package/src/es/json/inference.put_contextualai.request.json +1 -1
  1059. package/src/es/json/inference.put_custom.request.json +1 -1
  1060. package/src/es/json/inference.put_deepseek.request.json +1 -1
  1061. package/src/es/json/inference.put_elasticsearch.request.json +1 -1
  1062. package/src/es/json/inference.put_elser.request.json +1 -1
  1063. package/src/es/json/inference.put_fireworksai.request.json +1 -1
  1064. package/src/es/json/inference.put_googleaistudio.request.json +1 -1
  1065. package/src/es/json/inference.put_googlevertexai.request.json +1 -1
  1066. package/src/es/json/inference.put_groq.request.json +1 -1
  1067. package/src/es/json/inference.put_hugging_face.request.json +1 -1
  1068. package/src/es/json/inference.put_jinaai.request.json +1 -1
  1069. package/src/es/json/inference.put_llama.request.json +1 -1
  1070. package/src/es/json/inference.put_mistral.request.json +1 -1
  1071. package/src/es/json/inference.put_nvidia.request.json +1 -1
  1072. package/src/es/json/inference.put_openai.request.json +1 -1
  1073. package/src/es/json/inference.put_openshift_ai.request.json +1 -1
  1074. package/src/es/json/inference.put_voyageai.request.json +1 -1
  1075. package/src/es/json/inference.put_watsonx.request.json +1 -1
  1076. package/src/es/json/inference.rerank.json +1 -1
  1077. package/src/es/json/inference.rerank.request.json +1 -1
  1078. package/src/es/json/inference.sparse_embedding.request.json +1 -1
  1079. package/src/es/json/inference.stream_completion.request.json +1 -1
  1080. package/src/es/json/inference.text_embedding.request.json +1 -1
  1081. package/src/es/json/inference.update.request.json +1 -1
  1082. package/src/es/json/ingest._types.json +1 -1
  1083. package/src/es/json/ingest.delete_geoip_database.request.json +1 -1
  1084. package/src/es/json/ingest.delete_ip_location_database.request.json +1 -1
  1085. package/src/es/json/ingest.delete_pipeline.request.json +1 -1
  1086. package/src/es/json/ingest.get_pipeline.request.json +1 -1
  1087. package/src/es/json/ingest.put_geoip_database.request.json +1 -1
  1088. package/src/es/json/ingest.put_ip_location_database.request.json +1 -1
  1089. package/src/es/json/ingest.put_pipeline.request.json +1 -1
  1090. package/src/es/json/ingest.simulate.request.json +1 -1
  1091. package/src/es/json/license._types.json +1 -1
  1092. package/src/es/json/license.get.json +1 -1
  1093. package/src/es/json/license.post_start_basic.response.json +1 -1
  1094. package/src/es/json/logstash.put_pipeline.request.json +1 -1
  1095. package/src/es/json/mget.request.json +1 -1
  1096. package/src/es/json/ml._types.json +1 -1
  1097. package/src/es/json/ml.close_job.request.json +1 -1
  1098. package/src/es/json/ml.delete_data_frame_analytics.request.json +1 -1
  1099. package/src/es/json/ml.delete_datafeed.request.json +1 -1
  1100. package/src/es/json/ml.delete_expired_data.request.json +1 -1
  1101. package/src/es/json/ml.delete_forecast.request.json +1 -1
  1102. package/src/es/json/ml.delete_job.request.json +1 -1
  1103. package/src/es/json/ml.delete_trained_model.request.json +1 -1
  1104. package/src/es/json/ml.explain_data_frame_analytics.request.json +1 -1
  1105. package/src/es/json/ml.flush_job.request.json +1 -1
  1106. package/src/es/json/ml.forecast.request.json +1 -1
  1107. package/src/es/json/ml.get_buckets.request.json +1 -1
  1108. package/src/es/json/ml.get_calendar_events.request.json +1 -1
  1109. package/src/es/json/ml.get_calendars.request.json +1 -1
  1110. package/src/es/json/ml.get_categories.request.json +1 -1
  1111. package/src/es/json/ml.get_data_frame_analytics.request.json +1 -1
  1112. package/src/es/json/ml.get_data_frame_analytics_stats.request.json +1 -1
  1113. package/src/es/json/ml.get_datafeed_stats.request.json +1 -1
  1114. package/src/es/json/ml.get_datafeeds.request.json +1 -1
  1115. package/src/es/json/ml.get_filters.request.json +1 -1
  1116. package/src/es/json/ml.get_influencers.request.json +1 -1
  1117. package/src/es/json/ml.get_job_stats.request.json +1 -1
  1118. package/src/es/json/ml.get_jobs.request.json +1 -1
  1119. package/src/es/json/ml.get_memory_stats.request.json +1 -1
  1120. package/src/es/json/ml.get_model_snapshot_upgrade_stats.request.json +1 -1
  1121. package/src/es/json/ml.get_model_snapshots.request.json +1 -1
  1122. package/src/es/json/ml.get_overall_buckets.request.json +1 -1
  1123. package/src/es/json/ml.get_records.request.json +1 -1
  1124. package/src/es/json/ml.get_trained_models.request.json +1 -1
  1125. package/src/es/json/ml.get_trained_models_stats.request.json +1 -1
  1126. package/src/es/json/ml.infer_trained_model.request.json +1 -1
  1127. package/src/es/json/ml.open_job.request.json +1 -1
  1128. package/src/es/json/ml.post_calendar_events.request.json +1 -1
  1129. package/src/es/json/ml.post_data.request.json +1 -1
  1130. package/src/es/json/ml.preview_data_frame_analytics.request.json +1 -1
  1131. package/src/es/json/ml.preview_datafeed.request.json +1 -1
  1132. package/src/es/json/ml.put_calendar.request.json +1 -1
  1133. package/src/es/json/ml.put_data_frame_analytics.request.json +1 -1
  1134. package/src/es/json/ml.put_datafeed.request.json +1 -1
  1135. package/src/es/json/ml.put_filter.request.json +1 -1
  1136. package/src/es/json/ml.put_job.request.json +1 -1
  1137. package/src/es/json/ml.put_trained_model.request.json +1 -1
  1138. package/src/es/json/ml.put_trained_model_alias.request.json +1 -1
  1139. package/src/es/json/ml.put_trained_model_definition_part.request.json +1 -1
  1140. package/src/es/json/ml.put_trained_model_vocabulary.request.json +1 -1
  1141. package/src/es/json/ml.reset_job.request.json +1 -1
  1142. package/src/es/json/ml.revert_model_snapshot.request.json +1 -1
  1143. package/src/es/json/ml.start_data_frame_analytics.request.json +1 -1
  1144. package/src/es/json/ml.start_datafeed.request.json +1 -1
  1145. package/src/es/json/ml.start_trained_model_deployment.request.json +1 -1
  1146. package/src/es/json/ml.stop_data_frame_analytics.request.json +1 -1
  1147. package/src/es/json/ml.stop_datafeed.request.json +1 -1
  1148. package/src/es/json/ml.stop_trained_model_deployment.request.json +1 -1
  1149. package/src/es/json/ml.update_data_frame_analytics.request.json +1 -1
  1150. package/src/es/json/ml.update_datafeed.request.json +1 -1
  1151. package/src/es/json/ml.update_filter.request.json +1 -1
  1152. package/src/es/json/ml.update_job.request.json +1 -1
  1153. package/src/es/json/ml.update_model_snapshot.request.json +1 -1
  1154. package/src/es/json/ml.update_trained_model_deployment.request.json +1 -1
  1155. package/src/es/json/ml.upgrade_job_snapshot.request.json +1 -1
  1156. package/src/es/json/msearch.request.json +1 -1
  1157. package/src/es/json/msearch_template.request.json +1 -1
  1158. package/src/es/json/mtermvectors.request.json +1 -1
  1159. package/src/es/json/nodes._types.json +1 -1
  1160. package/src/es/json/nodes.hot_threads.request.json +1 -1
  1161. package/src/es/json/nodes.info.json +1 -1
  1162. package/src/es/json/nodes.info.request.json +1 -1
  1163. package/src/es/json/nodes.reload_secure_settings.request.json +1 -1
  1164. package/src/es/json/nodes.stats.json +1 -1
  1165. package/src/es/json/nodes.stats.request.json +1 -1
  1166. package/src/es/json/nodes.usage.json +1 -1
  1167. package/src/es/json/nodes.usage.request.json +1 -1
  1168. package/src/es/json/open_point_in_time.request.json +1 -1
  1169. package/src/es/json/project.create_many_routing.request.json +1 -1
  1170. package/src/es/json/project.create_routing.request.json +1 -1
  1171. package/src/es/json/put_script.request.json +1 -1
  1172. package/src/es/json/query_rules._types.json +1 -1
  1173. package/src/es/json/query_rules.put_rule.request.json +1 -1
  1174. package/src/es/json/query_rules.put_ruleset.request.json +1 -1
  1175. package/src/es/json/query_rules.test.request.json +1 -1
  1176. package/src/es/json/rank_eval.request.json +1 -1
  1177. package/src/es/json/reindex_rethrottle.request.json +1 -1
  1178. package/src/es/json/render_search_template.request.json +1 -1
  1179. package/src/es/json/rollup.put_job.request.json +1 -1
  1180. package/src/es/json/rollup.rollup_search.request.json +1 -1
  1181. package/src/es/json/rollup.stop_job.request.json +1 -1
  1182. package/src/es/json/scroll.request.json +1 -1
  1183. package/src/es/json/search.request.json +1 -1
  1184. package/src/es/json/search_application._types.json +1 -1
  1185. package/src/es/json/search_application.post_behavioral_analytics_event.request.json +1 -1
  1186. package/src/es/json/search_application.put.request.json +1 -1
  1187. package/src/es/json/search_application.render_query.request.json +1 -1
  1188. package/src/es/json/search_application.search.request.json +1 -1
  1189. package/src/es/json/search_mvt.request.json +1 -1
  1190. package/src/es/json/search_shards.request.json +1 -1
  1191. package/src/es/json/search_template.request.json +1 -1
  1192. package/src/es/json/searchable_snapshots.clear_cache.request.json +1 -1
  1193. package/src/es/json/searchable_snapshots.mount.request.json +1 -1
  1194. package/src/es/json/searchable_snapshots.stats.request.json +1 -1
  1195. package/src/es/json/security._types.json +1 -1
  1196. package/src/es/json/security.authenticate.response.json +1 -1
  1197. package/src/es/json/security.bulk_update_api_keys.request.json +1 -1
  1198. package/src/es/json/security.change_password.request.json +1 -1
  1199. package/src/es/json/security.clear_cached_realms.request.json +1 -1
  1200. package/src/es/json/security.create_service_token.request.json +1 -1
  1201. package/src/es/json/security.delegate_pki.json +1 -1
  1202. package/src/es/json/security.delete_privileges.request.json +1 -1
  1203. package/src/es/json/security.delete_role.request.json +1 -1
  1204. package/src/es/json/security.delete_role_mapping.request.json +1 -1
  1205. package/src/es/json/security.delete_service_token.request.json +1 -1
  1206. package/src/es/json/security.delete_user.request.json +1 -1
  1207. package/src/es/json/security.disable_user.request.json +1 -1
  1208. package/src/es/json/security.disable_user_profile.request.json +1 -1
  1209. package/src/es/json/security.enable_user.request.json +1 -1
  1210. package/src/es/json/security.enable_user_profile.request.json +1 -1
  1211. package/src/es/json/security.get_role.json +1 -1
  1212. package/src/es/json/security.get_role.request.json +1 -1
  1213. package/src/es/json/security.get_token.json +1 -1
  1214. package/src/es/json/security.get_user.request.json +1 -1
  1215. package/src/es/json/security.get_user_profile.request.json +1 -1
  1216. package/src/es/json/security.grant_api_key.json +1 -1
  1217. package/src/es/json/security.has_privileges.request.json +1 -1
  1218. package/src/es/json/security.put_privileges.request.json +1 -1
  1219. package/src/es/json/security.put_role.request.json +1 -1
  1220. package/src/es/json/security.put_role_mapping.request.json +1 -1
  1221. package/src/es/json/security.put_user.request.json +1 -1
  1222. package/src/es/json/security.query_api_keys.json +1 -1
  1223. package/src/es/json/security.query_role.json +1 -1
  1224. package/src/es/json/security.query_user.json +1 -1
  1225. package/src/es/json/security.suggest_user_profiles.json +1 -1
  1226. package/src/es/json/security.suggest_user_profiles.request.json +1 -1
  1227. package/src/es/json/security.update_api_key.request.json +1 -1
  1228. package/src/es/json/security.update_cross_cluster_api_key.request.json +1 -1
  1229. package/src/es/json/security.update_user_profile_data.request.json +1 -1
  1230. package/src/es/json/simulate.ingest.request.json +1 -1
  1231. package/src/es/json/slm.delete_lifecycle.request.json +1 -1
  1232. package/src/es/json/slm.execute_lifecycle.request.json +1 -1
  1233. package/src/es/json/slm.get_lifecycle.request.json +1 -1
  1234. package/src/es/json/slm.put_lifecycle.request.json +1 -1
  1235. package/src/es/json/snapshot._types.json +1 -1
  1236. package/src/es/json/snapshot.cleanup_repository.request.json +1 -1
  1237. package/src/es/json/snapshot.clone.request.json +1 -1
  1238. package/src/es/json/snapshot.create.request.json +1 -1
  1239. package/src/es/json/snapshot.create_repository.request.json +1 -1
  1240. package/src/es/json/snapshot.delete.request.json +1 -1
  1241. package/src/es/json/snapshot.delete_repository.request.json +1 -1
  1242. package/src/es/json/snapshot.get.request.json +1 -1
  1243. package/src/es/json/snapshot.get_repository.request.json +1 -1
  1244. package/src/es/json/snapshot.repository_analyze.request.json +1 -1
  1245. package/src/es/json/snapshot.repository_verify_integrity.request.json +1 -1
  1246. package/src/es/json/snapshot.restore.request.json +1 -1
  1247. package/src/es/json/snapshot.status.request.json +1 -1
  1248. package/src/es/json/snapshot.verify_repository.request.json +1 -1
  1249. package/src/es/json/sql.get_async.request.json +1 -1
  1250. package/src/es/json/ssl.certificates.json +1 -1
  1251. package/src/es/json/streams.logs_disable.request.json +1 -1
  1252. package/src/es/json/streams.logs_enable.request.json +1 -1
  1253. package/src/es/json/synonyms.delete_synonym_rule.request.json +1 -1
  1254. package/src/es/json/synonyms.get_synonym.request.json +1 -1
  1255. package/src/es/json/synonyms.put_synonym.request.json +1 -1
  1256. package/src/es/json/synonyms.put_synonym_rule.request.json +1 -1
  1257. package/src/es/json/tasks._types.json +1 -1
  1258. package/src/es/json/tasks.cancel.request.json +1 -1
  1259. package/src/es/json/tasks.get.request.json +1 -1
  1260. package/src/es/json/tasks.list.request.json +1 -1
  1261. package/src/es/json/terms_enum.request.json +1 -1
  1262. package/src/es/json/termvectors.request.json +1 -1
  1263. package/src/es/json/text_structure.find_field_structure.request.json +1 -1
  1264. package/src/es/json/text_structure.find_message_structure.request.json +1 -1
  1265. package/src/es/json/text_structure.find_structure.request.json +1 -1
  1266. package/src/es/json/transform.delete_transform.request.json +1 -1
  1267. package/src/es/json/transform.get_transform.request.json +1 -1
  1268. package/src/es/json/transform.get_transform_stats.request.json +1 -1
  1269. package/src/es/json/transform.preview_transform.request.json +1 -1
  1270. package/src/es/json/transform.put_transform.request.json +1 -1
  1271. package/src/es/json/transform.reset_transform.request.json +1 -1
  1272. package/src/es/json/transform.schedule_now_transform.request.json +1 -1
  1273. package/src/es/json/transform.start_transform.request.json +1 -1
  1274. package/src/es/json/transform.stop_transform.request.json +1 -1
  1275. package/src/es/json/transform.update_transform.request.json +1 -1
  1276. package/src/es/json/update.request.json +1 -1
  1277. package/src/es/json/update_by_query.request.json +1 -1
  1278. package/src/es/json/update_by_query_rethrottle.request.json +1 -1
  1279. package/src/es/json/watcher._types.json +1 -1
  1280. package/src/es/json/watcher.execute_watch.request.json +1 -1
  1281. package/src/es/json/watcher.put_watch.request.json +1 -1
  1282. package/src/es/json/watcher.stats.request.json +1 -1
  1283. package/src/serverless/json/get_traffic_filter_metadata.response.json +7 -2
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "search", "type": "object", "properties": { "index": { "$ref": "./_types.json#/$defs/_types__Indices", "description": "A comma-separated list of data streams, indices, and aliases to search.\nIt supports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", "x-found-in": "path" }, "allow_no_indices": { "type": "boolean", "description": "A setting that does two separate checks on the index expression.\nIf `false`, the request returns an error (1) if any wildcard expression\n(including `_all` and `*`) resolves to zero matching indices or (2) if the\ncomplete set of resolved indices, aliases or data streams is empty after all\nexpressions are evaluated. If `true`, index expressions that resolve to no\nindices are allowed and the request returns an empty result.", "x-found-in": "query" }, "allow_partial_search_results": { "type": "boolean", "description": "If `true` and there are shard request timeouts or shard failures, the request returns partial results.\nIf `false`, it returns an error with no partial results.\n\nTo override the default behavior, you can set the `search.default_allow_partial_results` cluster setting to `false`.", "x-found-in": "query" }, "analyzer": { "type": "string", "description": "The analyzer to use for the query string.\nThis parameter can be used only when the `q` query string parameter is specified.", "x-found-in": "query" }, "analyze_wildcard": { "type": "boolean", "description": "If `true`, wildcard and prefix queries are analyzed.\nThis parameter can be used only when the `q` query string parameter is specified.", "x-found-in": "query" }, "batched_reduce_size": { "type": "number", "description": "The number of shard results that should be reduced at once on the coordinating node.\nIf the potential number of shards in the request can be large, this value should be used as a protection mechanism to reduce the memory overhead per search request.", "x-found-in": "query" }, "ccs_minimize_roundtrips": { "type": "boolean", "description": "If `true`, network round-trips between the coordinating node and the remote clusters are minimized when running cross-cluster search (CCS) requests.", "x-found-in": "query" }, "default_operator": { "$ref": "./_types.query_dsl.json#/$defs/_types.query_dsl__Operator", "description": "The default operator for the query string query: `and` or `or`.\nThis parameter can be used only when the `q` query string parameter is specified.", "x-found-in": "query" }, "df": { "type": "string", "description": "The field to use as a default when no field prefix is given in the query string.\nThis parameter can be used only when the `q` query string parameter is specified.", "x-found-in": "query" }, "docvalue_fields": { "type": "array", "items": { "$ref": "./_types.query_dsl.json#/$defs/_types.query_dsl__FieldAndFormat" }, "description": "An array of wildcard (`*`) field patterns.\nThe request returns doc values for field names matching these patterns in the `hits.fields` property of the response.", "x-found-in": "body" }, "expand_wildcards": { "$ref": "./_types.json#/$defs/_types__ExpandWildcards", "description": "The 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.\nIt supports comma-separated values such as `open,hidden`.", "x-found-in": "query" }, "explain": { "type": "boolean", "description": "If `true`, the request returns detailed information about score computation as part of a hit.", "x-found-in": "body" }, "ignore_throttled": { "type": "boolean", "description": "If `true`, concrete, expanded or aliased indices will be ignored when frozen.", "x-found-in": "query" }, "ignore_unavailable": { "type": "boolean", "description": "If `false`, the request returns an error if it targets a concrete (non-wildcarded)\nindex, alias, or data stream that is missing, closed, or otherwise unavailable.\nIf `true`, unavailable concrete targets are silently ignored.", "x-found-in": "query" }, "include_named_queries_score": { "type": "boolean", "description": "If `true`, the response includes the score contribution from any named queries.\n\nThis functionality reruns each named query on every hit in a search response.\nTypically, this adds a small overhead to a request.\nHowever, using computationally expensive named queries on a large number of hits may add significant overhead.", "x-found-in": "query" }, "lenient": { "type": "boolean", "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 be used only when the `q` query string parameter is specified.", "x-found-in": "query" }, "max_concurrent_shard_requests": { "type": "number", "description": "The number of concurrent shard requests per node that the search runs 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.", "x-found-in": "query" }, "preference": { "type": "string", "description": "The nodes and shards used for the search.\nBy default, Elasticsearch selects from eligible nodes and shards using adaptive replica selection, accounting for allocation awareness.\nValid values are:\n\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:<node-id>,<node-id>` to run the search on only the specified nodes IDs. If suitable shards exist on more than one selected node, use shards on those nodes using the default method. If none of the specified nodes are available, select shards from any available node using the default method.\n* `_prefer_nodes:<node-id>,<node-id>` to if possible, run the search on the specified nodes IDs. If not, select shards using the default method.\n* `_shards:<shard>,<shard>` to run the search only on the specified shards. You can combine this value with other `preference` values. However, the `_shards` value must come first. For example: `_shards:2,3|_local`.\n* `<custom-string>` (any string that does not start with `_`) to route searches with the same `<custom-string>` to the same shards in the same order.", "x-found-in": "query" }, "pre_filter_shard_size": { "type": "number", "description": "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:\n\n* The request targets more than 128 shards.\n* The request targets one or more read-only index.\n* The primary sort of the query targets an indexed field.", "x-found-in": "query" }, "request_cache": { "type": "boolean", "description": "If `true`, the caching of search results is enabled for requests where `size` is `0`.\nIt defaults to index level settings.", "x-found-in": "query" }, "routing": { "$ref": "./_types.json#/$defs/_types__Routing", "description": "A custom value that is used to route operations to a specific shard.\nNot allowed when `index.slice.enabled` is `true` for the target index; use `_slice` instead.", "x-found-in": "query" }, "scroll": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "The period to retain the search context for scrolling.\nBy default, this value cannot exceed `1d` (24 hours).\nYou can change this limit by using the `search.max_keep_alive` cluster-level setting.", "x-found-in": "query" }, "search_type": { "$ref": "./_types.json#/$defs/_types__SearchType", "description": "Indicates how distributed term frequencies are calculated for relevance scoring.", "x-found-in": "query" }, "stats": { "type": "array", "items": { "type": "string" }, "description": "The 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.", "x-found-in": "body" }, "stored_fields": { "$ref": "./_types.json#/$defs/_types__Fields", "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` property defaults to `false`.\nYou can pass `_source: true` to return both source fields and stored fields in the search response.", "x-found-in": "body" }, "suggest_field": { "type": "string", "description": "The field to use for suggestions.", "x-found-in": "query" }, "suggest_mode": { "$ref": "./_types.json#/$defs/_types__SuggestMode", "description": "The suggest mode.\nThis parameter can be used only when the `suggest_field` and `suggest_text` query string parameters are specified.", "x-found-in": "query" }, "suggest_size": { "type": "number", "description": "The number of suggestions to return.\nThis parameter can be used only when the `suggest_field` and `suggest_text` query string parameters are specified.", "x-found-in": "query" }, "suggest_text": { "type": "string", "description": "The source text for which the suggestions should be returned.\nThis parameter can be used only when the `suggest_field` and `suggest_text` query string parameters are specified.", "x-found-in": "query" }, "terminate_after": { "type": "number", "description": "The 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.\n\nIMPORTANT: Use with caution.\nElasticsearch applies this property to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this property for requests that target data streams with backing indices across multiple data tiers.\n\nIf set to `0` (default), the query does not terminate early.", "x-found-in": "body" }, "timeout": { "type": "string", "description": "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.", "x-found-in": "body" }, "track_total_hits": { "$ref": "./_global.search._types.json#/$defs/_global.search._types__TrackHits", "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.", "x-found-in": "body" }, "track_scores": { "type": "boolean", "description": "If `true`, calculate and return document scores, even if the scores are not used for sorting.", "x-found-in": "body" }, "typed_keys": { "type": "boolean", "description": "If `true`, aggregation and suggester names are be prefixed by their respective types in the response.", "x-found-in": "query" }, "rest_total_hits_as_int": { "type": "boolean", "description": "Indicates whether `hits.total` should be rendered as an integer or an object in the rest search response.", "x-found-in": "query" }, "version": { "type": "boolean", "description": "If `true`, the request returns the document version as part of a hit.", "x-found-in": "body" }, "_source": { "$ref": "./_global.search._types.json#/$defs/_global.search._types__SourceConfig", "description": "The source fields that are returned for matching documents.\nThese fields are returned in the `hits._source` property of the search response.\nIf the `stored_fields` property is specified, the `_source` property defaults to `false`.\nOtherwise, it defaults to `true`.", "x-found-in": "body" }, "_source_excludes": { "$ref": "./_types.json#/$defs/_types__Fields", "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.", "x-found-in": "query" }, "_source_exclude_vectors": { "type": "boolean", "description": "Whether vectors should be excluded from _source", "x-found-in": "query" }, "_source_includes": { "$ref": "./_types.json#/$defs/_types__Fields", "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.", "x-found-in": "query" }, "seq_no_primary_term": { "type": "boolean", "description": "If `true`, the request returns sequence number and primary term of the last modification of each hit.", "x-found-in": "body" }, "q": { "type": "string", "description": "A query in the Lucene query string syntax.\nQuery parameter searches do not support the full Elasticsearch Query DSL but are handy for testing.\n\nIMPORTANT: This parameter overrides the query parameter in the request body.\nIf both parameters are specified, documents matching the query request body parameter are not returned.", "x-found-in": "query" }, "size": { "type": "number", "description": "The number of hits to return, which must not be 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` property.", "x-found-in": "body" }, "from": { "type": "number", "description": "The starting document offset, which must 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.", "x-found-in": "body" }, "sort": { "$ref": "./_types.json#/$defs/_types__Sort", "description": "A comma-separated list of <field>:<direction> pairs.", "x-found-in": "body" }, "aggregations": { "type": "object", "additionalProperties": { "$ref": "./_types.aggregations.json#/$defs/_types.aggregations__AggregationContainer" }, "description": "Defines the aggregations that are run as part of the search request.", "x-found-in": "body" }, "collapse": { "$ref": "./_global.search._types.json#/$defs/_global.search._types__FieldCollapse", "description": "Collapses search results the values of the specified field.", "x-found-in": "body" }, "ext": { "type": "object", "additionalProperties": {}, "description": "Configuration of search extensions defined by Elasticsearch plugins.", "x-found-in": "body" }, "highlight": { "$ref": "./_global.search._types.json#/$defs/_global.search._types__Highlight", "description": "Specifies the highlighter to use for retrieving highlighted snippets from one or more fields in your search results.", "x-found-in": "body" }, "indices_boost": { "type": "array", "items": { "type": "object", "additionalProperties": { "type": "number" } }, "description": "Boost the `_score` of documents from specified indices.\nThe boost value is the factor by which scores are multiplied.\nA boost value greater than `1.0` increases the score.\nA boost value between `0` and `1.0` decreases the score.", "x-found-in": "body" }, "knn": { "oneOf": [{ "$ref": "./_types.json#/$defs/_types__KnnSearch" }, { "type": "array", "items": { "$ref": "./_types.json#/$defs/_types__KnnSearch" } }], "description": "The approximate kNN search to run.", "x-found-in": "body" }, "rank": { "$ref": "./_types.json#/$defs/_types__RankContainer", "description": "The Reciprocal Rank Fusion (RRF) to use.", "x-found-in": "body" }, "min_score": { "type": "number", "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in search results and results collected by aggregations.", "x-found-in": "body" }, "post_filter": { "$ref": "./_types.query_dsl.json#/$defs/_types.query_dsl__QueryContainer", "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.", "x-found-in": "body" }, "profile": { "type": "boolean", "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.", "x-found-in": "body" }, "query": { "$ref": "./_types.query_dsl.json#/$defs/_types.query_dsl__QueryContainer", "description": "The search definition using the Query DSL.", "x-found-in": "body" }, "rescore": { "oneOf": [{ "$ref": "./_global.search._types.json#/$defs/_global.search._types__Rescore" }, { "type": "array", "items": { "$ref": "./_global.search._types.json#/$defs/_global.search._types__Rescore" } }], "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.", "x-found-in": "body" }, "retriever": { "$ref": "./_types.json#/$defs/_types__RetrieverContainer", "description": "A retriever is a specification to describe top documents returned from a search.\nA retriever replaces other elements of the search API that also return top documents such as `query` and `knn`.", "x-found-in": "body" }, "script_fields": { "type": "object", "additionalProperties": { "$ref": "./_types.json#/$defs/_types__ScriptField" }, "description": "Retrieve a script evaluation (based on different fields) for each hit.", "x-found-in": "body" }, "search_after": { "$ref": "./_types.json#/$defs/_types__SortResults", "description": "Used to retrieve the next page of hits using a set of sort values from the previous page.", "x-found-in": "body" }, "slice": { "$ref": "./_types.json#/$defs/_types__SlicedScroll", "description": "Split a scrolled search into multiple slices that can be consumed independently.", "x-found-in": "body" }, "fields": { "type": "array", "items": { "$ref": "./_types.query_dsl.json#/$defs/_types.query_dsl__FieldAndFormat" }, "description": "An array of wildcard (`*`) field patterns.\nThe request returns values for field names matching these patterns in the `hits.fields` property of the response.", "x-found-in": "body" }, "suggest": { "$ref": "./_global.search._types.json#/$defs/_global.search._types__Suggester", "description": "Defines a suggester that provides similar looking terms based on a provided text.", "x-found-in": "body" }, "pit": { "$ref": "./_global.search._types.json#/$defs/_global.search._types__PointInTimeReference", "description": "Limit the search to a point in time (PIT).\nIf you provide a PIT, you cannot specify an `<index>` in the request path.", "x-found-in": "body" }, "runtime_mappings": { "$ref": "./_types.mapping.json#/$defs/_types.mapping__RuntimeFields", "description": "One or more runtime fields in the search request.\nThese fields take precedence over mapped fields with the same name.", "x-found-in": "body" } }, "description": "Run a search.\n\nGet 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.\n\nIf the Elasticsearch security features are enabled, you must have the read index privilege for the target data stream, index, or alias. For cross-cluster search, refer to the documentation about configuring CCS privileges.\nTo search a point in time (PIT) for an alias, you must have the `read` index privilege for the alias's data streams or indices.\n\n**Search slicing**\n\nWhen paging through a large number of documents, it can be helpful to split the search into multiple slices to consume them independently with the `slice` and `pit` properties.\nBy default the splitting is done first on the shards, then locally on each shard.\n\nFor instance if the number of shards is equal to 2 and you request 4 slices, the slices 0 and 2 are assigned to the first shard and the slices 1 and 3 are assigned to the second shard.\n\nIMPORTANT: The same point-in-time ID should be used for all slices.\nIf different PIT IDs are used, slices can overlap and miss documents.\nThis situation can occur because, by default, the splitting criterion is based on Lucene document IDs, which are not stable across changes to the index." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "search", "type": "object", "properties": { "allow_no_indices": { "type": "boolean", "description": "A setting that does two separate checks on the index expression.\nIf `false`, the request returns an error (1) if any wildcard expression\n(including `_all` and `*`) resolves to zero matching indices or (2) if the\ncomplete set of resolved indices, aliases or data streams is empty after all\nexpressions are evaluated. If `true`, index expressions that resolve to no\nindices are allowed and the request returns an empty result.", "x-found-in": "query" }, "allow_partial_search_results": { "type": "boolean", "description": "If `true` and there are shard request timeouts or shard failures, the request returns partial results.\nIf `false`, it returns an error with no partial results.\n\nTo override the default behavior, you can set the `search.default_allow_partial_results` cluster setting to `false`.", "x-found-in": "query" }, "analyzer": { "type": "string", "description": "The analyzer to use for the query string.\nThis parameter can be used only when the `q` query string parameter is specified.", "x-found-in": "query" }, "analyze_wildcard": { "type": "boolean", "description": "If `true`, wildcard and prefix queries are analyzed.\nThis parameter can be used only when the `q` query string parameter is specified.", "x-found-in": "query" }, "batched_reduce_size": { "type": "number", "description": "The number of shard results that should be reduced at once on the coordinating node.\nIf the potential number of shards in the request can be large, this value should be used as a protection mechanism to reduce the memory overhead per search request.", "x-found-in": "query" }, "ccs_minimize_roundtrips": { "type": "boolean", "description": "If `true`, network round-trips between the coordinating node and the remote clusters are minimized when running cross-cluster search (CCS) requests.", "x-found-in": "query" }, "default_operator": { "$ref": "./_types.query_dsl.json#/$defs/_types.query_dsl__Operator", "description": "The default operator for the query string query: `and` or `or`.\nThis parameter can be used only when the `q` query string parameter is specified.", "x-found-in": "query" }, "df": { "type": "string", "description": "The field to use as a default when no field prefix is given in the query string.\nThis parameter can be used only when the `q` query string parameter is specified.", "x-found-in": "query" }, "docvalue_fields": { "type": "array", "items": { "$ref": "./_types.query_dsl.json#/$defs/_types.query_dsl__FieldAndFormat" }, "description": "An array of wildcard (`*`) field patterns.\nThe request returns doc values for field names matching these patterns in the `hits.fields` property of the response.", "x-found-in": "body" }, "expand_wildcards": { "$ref": "./_types.json#/$defs/_types__ExpandWildcards", "description": "The 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.\nIt supports comma-separated values such as `open,hidden`.", "x-found-in": "query" }, "explain": { "type": "boolean", "description": "If `true`, the request returns detailed information about score computation as part of a hit.", "x-found-in": "body" }, "ignore_throttled": { "type": "boolean", "description": "If `true`, concrete, expanded or aliased indices will be ignored when frozen.", "x-found-in": "query" }, "ignore_unavailable": { "type": "boolean", "description": "If `false`, the request returns an error if it targets a concrete (non-wildcarded)\nindex, alias, or data stream that is missing, closed, or otherwise unavailable.\nIf `true`, unavailable concrete targets are silently ignored.", "x-found-in": "query" }, "include_named_queries_score": { "type": "boolean", "description": "If `true`, the response includes the score contribution from any named queries.\n\nThis functionality reruns each named query on every hit in a search response.\nTypically, this adds a small overhead to a request.\nHowever, using computationally expensive named queries on a large number of hits may add significant overhead.", "x-found-in": "query" }, "lenient": { "type": "boolean", "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 be used only when the `q` query string parameter is specified.", "x-found-in": "query" }, "max_concurrent_shard_requests": { "type": "number", "description": "The number of concurrent shard requests per node that the search runs 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.", "x-found-in": "query" }, "preference": { "type": "string", "description": "The nodes and shards used for the search.\nBy default, Elasticsearch selects from eligible nodes and shards using adaptive replica selection, accounting for allocation awareness.\nValid values are:\n\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:<node-id>,<node-id>` to run the search on only the specified nodes IDs. If suitable shards exist on more than one selected node, use shards on those nodes using the default method. If none of the specified nodes are available, select shards from any available node using the default method.\n* `_prefer_nodes:<node-id>,<node-id>` to if possible, run the search on the specified nodes IDs. If not, select shards using the default method.\n* `_shards:<shard>,<shard>` to run the search only on the specified shards. You can combine this value with other `preference` values. However, the `_shards` value must come first. For example: `_shards:2,3|_local`.\n* `<custom-string>` (any string that does not start with `_`) to route searches with the same `<custom-string>` to the same shards in the same order.", "x-found-in": "query" }, "pre_filter_shard_size": { "type": "number", "description": "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:\n\n* The request targets more than 128 shards.\n* The request targets one or more read-only index.\n* The primary sort of the query targets an indexed field.", "x-found-in": "query" }, "request_cache": { "type": "boolean", "description": "If `true`, the caching of search results is enabled for requests where `size` is `0`.\nIt defaults to index level settings.", "x-found-in": "query" }, "routing": { "$ref": "./_types.json#/$defs/_types__Routing", "description": "A custom value that is used to route operations to a specific shard.\nNot allowed when `index.slice.enabled` is `true` for the target index; use `_slice` instead.", "x-found-in": "query" }, "scroll": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "The period to retain the search context for scrolling.\nBy default, this value cannot exceed `1d` (24 hours).\nYou can change this limit by using the `search.max_keep_alive` cluster-level setting.", "x-found-in": "query" }, "search_type": { "$ref": "./_types.json#/$defs/_types__SearchType", "description": "Indicates how distributed term frequencies are calculated for relevance scoring.", "x-found-in": "query" }, "stats": { "type": "array", "items": { "type": "string" }, "description": "The 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.", "x-found-in": "body" }, "stored_fields": { "$ref": "./_types.json#/$defs/_types__Fields", "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` property defaults to `false`.\nYou can pass `_source: true` to return both source fields and stored fields in the search response.", "x-found-in": "body" }, "suggest_field": { "type": "string", "description": "The field to use for suggestions.", "x-found-in": "query" }, "suggest_mode": { "$ref": "./_types.json#/$defs/_types__SuggestMode", "description": "The suggest mode.\nThis parameter can be used only when the `suggest_field` and `suggest_text` query string parameters are specified.", "x-found-in": "query" }, "suggest_size": { "type": "number", "description": "The number of suggestions to return.\nThis parameter can be used only when the `suggest_field` and `suggest_text` query string parameters are specified.", "x-found-in": "query" }, "suggest_text": { "type": "string", "description": "The source text for which the suggestions should be returned.\nThis parameter can be used only when the `suggest_field` and `suggest_text` query string parameters are specified.", "x-found-in": "query" }, "terminate_after": { "type": "number", "description": "The 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.\n\nIMPORTANT: Use with caution.\nElasticsearch applies this property to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this property for requests that target data streams with backing indices across multiple data tiers.\n\nIf set to `0` (default), the query does not terminate early.", "x-found-in": "body" }, "timeout": { "type": "string", "description": "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.", "x-found-in": "body" }, "track_total_hits": { "$ref": "./_global.search._types.json#/$defs/_global.search._types__TrackHits", "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.", "x-found-in": "body" }, "track_scores": { "type": "boolean", "description": "If `true`, calculate and return document scores, even if the scores are not used for sorting.", "x-found-in": "body" }, "typed_keys": { "type": "boolean", "description": "If `true`, aggregation and suggester names are be prefixed by their respective types in the response.", "x-found-in": "query" }, "rest_total_hits_as_int": { "type": "boolean", "description": "Indicates whether `hits.total` should be rendered as an integer or an object in the rest search response.", "x-found-in": "query" }, "version": { "type": "boolean", "description": "If `true`, the request returns the document version as part of a hit.", "x-found-in": "body" }, "_source": { "$ref": "./_global.search._types.json#/$defs/_global.search._types__SourceConfig", "description": "The source fields that are returned for matching documents.\nThese fields are returned in the `hits._source` property of the search response.\nIf the `stored_fields` property is specified, the `_source` property defaults to `false`.\nOtherwise, it defaults to `true`.", "x-found-in": "body" }, "_source_excludes": { "$ref": "./_types.json#/$defs/_types__Fields", "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.", "x-found-in": "query" }, "_source_exclude_vectors": { "type": "boolean", "description": "Whether vectors should be excluded from _source", "x-found-in": "query" }, "_source_includes": { "$ref": "./_types.json#/$defs/_types__Fields", "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.", "x-found-in": "query" }, "seq_no_primary_term": { "type": "boolean", "description": "If `true`, the request returns sequence number and primary term of the last modification of each hit.", "x-found-in": "body" }, "q": { "type": "string", "description": "A query in the Lucene query string syntax.\nQuery parameter searches do not support the full Elasticsearch Query DSL but are handy for testing.\n\nIMPORTANT: This parameter overrides the query parameter in the request body.\nIf both parameters are specified, documents matching the query request body parameter are not returned.", "x-found-in": "query" }, "size": { "type": "number", "description": "The number of hits to return, which must not be 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` property.", "x-found-in": "body" }, "from": { "type": "number", "description": "The starting document offset, which must 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.", "x-found-in": "body" }, "sort": { "$ref": "./_types.json#/$defs/_types__Sort", "description": "A comma-separated list of <field>:<direction> pairs.", "x-found-in": "body" }, "aggregations": { "type": "object", "additionalProperties": { "$ref": "./_types.aggregations.json#/$defs/_types.aggregations__AggregationContainer" }, "description": "Defines the aggregations that are run as part of the search request.", "x-found-in": "body" }, "collapse": { "$ref": "./_global.search._types.json#/$defs/_global.search._types__FieldCollapse", "description": "Collapses search results the values of the specified field.", "x-found-in": "body" }, "ext": { "type": "object", "additionalProperties": {}, "description": "Configuration of search extensions defined by Elasticsearch plugins.", "x-found-in": "body" }, "highlight": { "$ref": "./_global.search._types.json#/$defs/_global.search._types__Highlight", "description": "Specifies the highlighter to use for retrieving highlighted snippets from one or more fields in your search results.", "x-found-in": "body" }, "indices_boost": { "type": "array", "items": { "type": "object", "additionalProperties": { "type": "number" } }, "description": "Boost the `_score` of documents from specified indices.\nThe boost value is the factor by which scores are multiplied.\nA boost value greater than `1.0` increases the score.\nA boost value between `0` and `1.0` decreases the score.", "x-found-in": "body" }, "knn": { "anyOf": [{ "$ref": "./_types.json#/$defs/_types__KnnSearch" }, { "type": "array", "items": { "$ref": "./_types.json#/$defs/_types__KnnSearch" } }], "description": "The approximate kNN search to run.", "x-found-in": "body" }, "rank": { "$ref": "./_types.json#/$defs/_types__RankContainer", "description": "The Reciprocal Rank Fusion (RRF) to use.", "x-found-in": "body" }, "min_score": { "type": "number", "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in search results and results collected by aggregations.", "x-found-in": "body" }, "post_filter": { "$ref": "./_types.query_dsl.json#/$defs/_types.query_dsl__QueryContainer", "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.", "x-found-in": "body" }, "profile": { "type": "boolean", "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.", "x-found-in": "body" }, "query": { "$ref": "./_types.query_dsl.json#/$defs/_types.query_dsl__QueryContainer", "description": "The search definition using the Query DSL.", "x-found-in": "body" }, "rescore": { "anyOf": [{ "$ref": "./_global.search._types.json#/$defs/_global.search._types__Rescore" }, { "type": "array", "items": { "$ref": "./_global.search._types.json#/$defs/_global.search._types__Rescore" } }], "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.", "x-found-in": "body" }, "retriever": { "$ref": "./_types.json#/$defs/_types__RetrieverContainer", "description": "A retriever is a specification to describe top documents returned from a search.\nA retriever replaces other elements of the search API that also return top documents such as `query` and `knn`.", "x-found-in": "body" }, "script_fields": { "type": "object", "additionalProperties": { "$ref": "./_types.json#/$defs/_types__ScriptField" }, "description": "Retrieve a script evaluation (based on different fields) for each hit.", "x-found-in": "body" }, "search_after": { "$ref": "./_types.json#/$defs/_types__SortResults", "description": "Used to retrieve the next page of hits using a set of sort values from the previous page.", "x-found-in": "body" }, "slice": { "$ref": "./_types.json#/$defs/_types__SlicedScroll", "description": "Split a scrolled search into multiple slices that can be consumed independently.", "x-found-in": "body" }, "fields": { "type": "array", "items": { "$ref": "./_types.query_dsl.json#/$defs/_types.query_dsl__FieldAndFormat" }, "description": "An array of wildcard (`*`) field patterns.\nThe request returns values for field names matching these patterns in the `hits.fields` property of the response.", "x-found-in": "body" }, "suggest": { "$ref": "./_global.search._types.json#/$defs/_global.search._types__Suggester", "description": "Defines a suggester that provides similar looking terms based on a provided text.", "x-found-in": "body" }, "pit": { "$ref": "./_global.search._types.json#/$defs/_global.search._types__PointInTimeReference", "description": "Limit the search to a point in time (PIT).\nIf you provide a PIT, you cannot specify an `<index>` in the request path.", "x-found-in": "body" }, "runtime_mappings": { "$ref": "./_types.mapping.json#/$defs/_types.mapping__RuntimeFields", "description": "One or more runtime fields in the search request.\nThese fields take precedence over mapped fields with the same name.", "x-found-in": "body" }, "index": { "$ref": "./_types.json#/$defs/_types__Indices", "description": "A comma-separated list of data streams, indices, and aliases to search.\nIt supports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", "x-found-in": "path" } }, "description": "Run a search.\n\nGet 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.\n\nIf the Elasticsearch security features are enabled, you must have the read index privilege for the target data stream, index, or alias. For cross-cluster search, refer to the documentation about configuring CCS privileges.\nTo search a point in time (PIT) for an alias, you must have the `read` index privilege for the alias's data streams or indices.\n\n**Search slicing**\n\nWhen paging through a large number of documents, it can be helpful to split the search into multiple slices to consume them independently with the `slice` and `pit` properties.\nBy default the splitting is done first on the shards, then locally on each shard.\n\nFor instance if the number of shards is equal to 2 and you request 4 slices, the slices 0 and 2 are assigned to the first shard and the slices 1 and 3 are assigned to the second shard.\n\nIMPORTANT: The same point-in-time ID should be used for all slices.\nIf different PIT IDs are used, slices can overlap and miss documents.\nThis situation can occur because, by default, the splitting criterion is based on Lucene document IDs, which are not stable across changes to the index." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "search_application.post_behavioral_analytics_event", "type": "object", "properties": { "collection_name": { "type": "string", "description": "The name of the behavioral analytics collection.", "x-found-in": "path" }, "event_type": { "$ref": "./search_application._types.json#/$defs/search_application._types__EventType", "description": "The analytics event type.", "x-found-in": "path" }, "debug": { "type": "boolean", "description": "Whether the response type has to include more details", "x-found-in": "query" } }, "required": ["collection_name", "event_type"], "description": "Create a behavioral analytics collection event." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "search_application.post_behavioral_analytics_event", "type": "object", "properties": { "debug": { "type": "boolean", "description": "Whether the response type has to include more details", "x-found-in": "query" }, "payload": { "x-found-in": "body" }, "collection_name": { "type": "string", "description": "The name of the behavioral analytics collection.", "x-found-in": "path" }, "event_type": { "$ref": "./search_application._types.json#/$defs/search_application._types__EventType", "description": "The analytics event type.", "x-found-in": "path" } }, "required": ["collection_name", "event_type"], "description": "Create a behavioral analytics collection event." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "search_application.put", "type": "object", "properties": { "name": { "type": "string", "description": "The name of the search application to be created or updated.", "x-found-in": "path" }, "create": { "type": "boolean", "description": "If `true`, this request cannot replace or update existing Search Applications.", "x-found-in": "query" } }, "required": ["name"], "description": "Create or update a search application." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "search_application.put", "type": "object", "properties": { "create": { "type": "boolean", "description": "If `true`, this request cannot replace or update existing Search Applications.", "x-found-in": "query" }, "search_application": { "$ref": "./search_application._types.json#/$defs/search_application._types__SearchApplicationParameters", "x-found-in": "body" }, "name": { "type": "string", "description": "The name of the search application to be created or updated.", "x-found-in": "path" } }, "required": ["name"], "description": "Create or update a search application." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "search_application.render_query", "type": "object", "properties": { "name": { "type": "string", "description": "The name of the search application to render teh query for.", "x-found-in": "path" }, "params": { "type": "object", "additionalProperties": {}, "x-found-in": "body" } }, "required": ["name"], "description": "Render a search application query.\n\nGenerate an Elasticsearch query using the specified query parameters and the search template associated with the search application or a default template if none is specified.\nIf a parameter used in the search template is not specified in `params`, the parameter's default value will be used.\nThe API returns the specific Elasticsearch query that would be generated and run by calling the search application search API.\n\nYou must have `read` privileges on the backing alias of the search application." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "search_application.render_query", "type": "object", "properties": { "params": { "type": "object", "additionalProperties": {}, "x-found-in": "body" }, "name": { "type": "string", "description": "The name of the search application to render teh query for.", "x-found-in": "path" } }, "required": ["name"], "description": "Render a search application query.\n\nGenerate an Elasticsearch query using the specified query parameters and the search template associated with the search application or a default template if none is specified.\nIf a parameter used in the search template is not specified in `params`, the parameter's default value will be used.\nThe API returns the specific Elasticsearch query that would be generated and run by calling the search application search API.\n\nYou must have `read` privileges on the backing alias of the search application." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "search_application.search", "type": "object", "properties": { "name": { "type": "string", "description": "The name of the search application to be searched.", "x-found-in": "path" }, "typed_keys": { "type": "boolean", "description": "Determines whether aggregation names are prefixed by their respective types in the response.", "x-found-in": "query" }, "params": { "type": "object", "additionalProperties": {}, "description": "Query parameters specific to this request, which will override any defaults specified in the template.", "x-found-in": "body" } }, "required": ["name"], "description": "Run a search application search.\n\nGenerate and run an Elasticsearch query that uses the specified query parameteter and the search template associated with the search application or default template.\nUnspecified template parameters are assigned their default values if applicable." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "search_application.search", "type": "object", "properties": { "typed_keys": { "type": "boolean", "description": "Determines whether aggregation names are prefixed by their respective types in the response.", "x-found-in": "query" }, "params": { "type": "object", "additionalProperties": {}, "description": "Query parameters specific to this request, which will override any defaults specified in the template.", "x-found-in": "body" }, "name": { "type": "string", "description": "The name of the search application to be searched.", "x-found-in": "path" } }, "required": ["name"], "description": "Run a search application search.\n\nGenerate and run an Elasticsearch query that uses the specified query parameteter and the search template associated with the search application or default template.\nUnspecified template parameters are assigned their default values if applicable." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "search_mvt", "type": "object", "properties": { "index": { "$ref": "./_types.json#/$defs/_types__Indices", "description": "A list of indices, data streams, or aliases to search.\nIt supports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.\nTo search a remote cluster, use the `<cluster>:<target>` syntax.", "x-found-in": "path" }, "field": { "type": "string", "description": "A field that contains the geospatial data to return.\nIt must be a `geo_point` or `geo_shape` field.\nThe field must have doc values enabled. It cannot be a nested field.\n\nNOTE: Vector tiles do not natively support geometry collections.\nFor `geometrycollection` values in a `geo_shape` field, the API returns a hits layer feature for each element of the collection.\nThis behavior may change in a future release.", "x-found-in": "path" }, "zoom": { "type": "number", "description": "The zoom level of the vector tile to search. It accepts `0` to `29`.", "x-found-in": "path" }, "x": { "type": "number", "description": "The X coordinate for the vector tile to search.", "x-found-in": "path" }, "y": { "type": "number", "description": "The Y coordinate for the vector tile to search.", "x-found-in": "path" }, "exact_bounds": { "type": "boolean", "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\n`geo_bounds` aggregation. The aggregation runs on <field> values that intersect\nthe `<zoom>/<x>/<y>` tile with `wrap_longitude` set to `false`. The resulting\nbounding box may be larger than the vector tile.", "x-found-in": "body" }, "extent": { "type": "number", "description": "The size, in pixels, of a side of the tile. Vector tiles are square with equal sides.", "x-found-in": "body" }, "grid_agg": { "$ref": "./_global.search_mvt._types.json#/$defs/_global.search_mvt._types__GridAggregationType", "description": "The aggregation used to create a grid for the `field`.", "x-found-in": "body" }, "grid_precision": { "type": "number", "description": "Additional zoom levels available through the aggs layer. For example, if `<zoom>` 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.", "x-found-in": "body" }, "grid_type": { "$ref": "./_global.search_mvt._types.json#/$defs/_global.search_mvt._types__GridType", "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.", "x-found-in": "body" }, "size": { "type": "number", "description": "The maximum number of features to return in the hits layer. Accepts 0-10000.\nIf 0, results don't include the hits layer.", "x-found-in": "body" }, "track_total_hits": { "$ref": "./_global.search._types.json#/$defs/_global.search._types__TrackHits", "description": "The 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.", "x-found-in": "body" }, "with_labels": { "type": "boolean", "description": "If `true`, the hits and aggs layers will contain additional point features representing\nsuggested label positions for the original features.\n\n* `Point` and `MultiPoint` features will have one of the points selected.\n* `Polygon` and `MultiPolygon` features will have a single point generated, either the centroid, if it is within the polygon, or another point within the polygon selected from the sorted triangle-tree.\n* `LineString` features will likewise provide a roughly central point selected from the triangle-tree.\n* The aggregation results will provide one central point for each aggregation bucket.\n\nAll attributes from the original features will also be copied to the new label features.\nIn addition, the new features will be distinguishable using the tag `_mvt_label_position`.", "x-found-in": "body" }, "aggs": { "type": "object", "additionalProperties": { "$ref": "./_types.aggregations.json#/$defs/_types.aggregations__AggregationContainer" }, "description": "Sub-aggregations for the geotile_grid.\n\nIt supports the following aggregation types:\n\n- `avg`\n- `boxplot`\n- `cardinality`\n- `extended stats`\n- `max`\n- `median absolute deviation`\n- `min`\n- `percentile`\n- `percentile-rank`\n- `stats`\n- `sum`\n- `value count`\n\nThe aggregation names can't start with `_mvt_`. The `_mvt_` prefix is reserved for internal aggregations.", "x-found-in": "body" }, "buffer": { "type": "number", "description": "The 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.", "x-found-in": "body" }, "fields": { "$ref": "./_types.json#/$defs/_types__Fields", "description": "The fields to return in the `hits` layer.\nIt supports wildcards (`*`).\nThis parameter does not support fields with array values. Fields with array\nvalues may return inconsistent results.", "x-found-in": "body" }, "query": { "$ref": "./_types.query_dsl.json#/$defs/_types.query_dsl__QueryContainer", "description": "The query DSL used to filter documents for the search.", "x-found-in": "body" }, "runtime_mappings": { "$ref": "./_types.mapping.json#/$defs/_types.mapping__RuntimeFields", "description": "Defines one or more runtime fields in the search request. These fields take\nprecedence over mapped fields with the same name.", "x-found-in": "body" }, "sort": { "$ref": "./_types.json#/$defs/_types__Sort", "description": "Sort the 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.", "x-found-in": "body" } }, "required": ["index", "field", "zoom", "x", "y"], "description": "Search a vector tile.\n\nSearch a vector tile for geospatial values.\nBefore using this API, you should be familiar with the Mapbox vector tile specification.\nThe API returns results as a binary mapbox vector tile.\n\nInternally, Elasticsearch translates a vector tile search API request into a search containing:\n\n* A `geo_bounding_box` query on the `<field>`. The query uses the `<zoom>/<x>/<y>` tile as a bounding box.\n* A `geotile_grid` or `geohex_grid` aggregation on the `<field>`. The `grid_agg` parameter determines the aggregation type. The aggregation uses the `<zoom>/<x>/<y>` tile as a bounding box.\n* Optionally, a `geo_bounds` aggregation on the `<field>`. The search only includes this aggregation if the `exact_bounds` parameter is `true`.\n* If the optional parameter `with_labels` is `true`, the internal search will include a dynamic runtime field that calls the `getLabelPosition` function of the geometry doc value. This enables the generation of new point features containing suggested geometry labels, so that, for example, multi-polygons will have only one label.\n\nThe API returns results as a binary Mapbox vector tile.\nMapbox vector tiles are encoded as Google Protobufs (PBF). By default, the tile contains three layers:\n\n* A `hits` layer containing a feature for each `<field>` value matching the `geo_bounding_box` query.\n* An `aggs` layer containing a feature for each cell of the `geotile_grid` or `geohex_grid`. The layer only contains features for cells with matching data.\n* A meta layer containing:\n * A feature containing a bounding box. By default, this is the bounding box of the tile.\n * Value ranges for any sub-aggregations on the `geotile_grid` or `geohex_grid`.\n * Metadata for the search.\n\nThe API only returns features that can display at its zoom level.\nFor example, if a polygon feature has no area at its zoom level, the API omits it.\nThe API returns errors as UTF-8 encoded JSON.\n\nIMPORTANT: You can specify several options for this API as either a query parameter or request body parameter.\nIf you specify both parameters, the query parameter takes precedence.\n\n**Grid precision for geotile**\n\nFor a `grid_agg` of `geotile`, you can use cells in the `aggs` layer as tiles for lower zoom levels.\n`grid_precision` represents the additional zoom levels available through these cells. The final precision is computed by as follows: `<zoom> + grid_precision`.\nFor example, if `<zoom>` is 7 and `grid_precision` is 8, then the `geotile_grid` aggregation will use a precision of 15.\nThe maximum final precision is 29.\nThe `grid_precision` also determines the number of cells for the grid as follows: `(2^grid_precision) x (2^grid_precision)`.\nFor example, a value of 8 divides the tile into a grid of 256 x 256 cells.\nThe `aggs` layer only contains features for cells with matching data.\n\n**Grid precision for geohex**\n\nFor a `grid_agg` of `geohex`, Elasticsearch uses `<zoom>` and `grid_precision` to calculate a final precision as follows: `<zoom> + grid_precision`.\n\nThis precision determines the H3 resolution of the hexagonal cells produced by the `geohex` aggregation.\nThe following table maps the H3 resolution for each precision.\nFor example, if `<zoom>` is 3 and `grid_precision` is 3, the precision is 6.\nAt a precision of 6, hexagonal cells have an H3 resolution of 2.\nIf `<zoom>` is 3 and `grid_precision` is 4, the precision is 7.\nAt a precision of 7, hexagonal cells have an H3 resolution of 3.\n\n| Precision | Unique tile bins | H3 resolution | Unique hex bins |\tRatio |\n| --------- | ---------------- | ------------- | ----------------| ----- |\n| 1 | 4 | 0 | 122 | 30.5 |\n| 2 | 16 | 0 | 122 | 7.625 |\n| 3 | 64 | 1 | 842 | 13.15625 |\n| 4 | 256 | 1 | 842 | 3.2890625 |\n| 5 | 1024 | 2 | 5882 | 5.744140625 |\n| 6 | 4096 | 2 | 5882 | 1.436035156 |\n| 7 | 16384 | 3 | 41162 | 2.512329102 |\n| 8 | 65536 | 3 | 41162 | 0.6280822754 |\n| 9 | 262144 | 4 | 288122 | 1.099098206 |\n| 10 | 1048576 | 4 | 288122 | 0.2747745514 |\n| 11 | 4194304 | 5 | 2016842 | 0.4808526039 |\n| 12 | 16777216 | 6 | 14117882 | 0.8414913416 |\n| 13 | 67108864 | 6 | 14117882 | 0.2103728354 |\n| 14 | 268435456 | 7 | 98825162 | 0.3681524172 |\n| 15 | 1073741824 | 8 | 691776122 | 0.644266719 |\n| 16 | 4294967296 | 8 | 691776122 | 0.1610666797 |\n| 17 | 17179869184 | 9 | 4842432842 | 0.2818666889 |\n| 18 | 68719476736 | 10 | 33897029882 | 0.4932667053 |\n| 19 | 274877906944 | 11 | 237279209162 | 0.8632167343 |\n| 20 | 1099511627776 | 11 | 237279209162 | 0.2158041836 |\n| 21 | 4398046511104 | 12 | 1660954464122 | 0.3776573213 |\n| 22 | 17592186044416 | 13 | 11626681248842 | 0.6609003122 |\n| 23 | 70368744177664 | 13 | 11626681248842 | 0.165225078 |\n| 24 | 281474976710656 | 14 | 81386768741882 | 0.2891438866 |\n| 25 | 1125899906842620 | 15 | 569707381193162 | 0.5060018015 |\n| 26 | 4503599627370500 | 15 | 569707381193162 | 0.1265004504 |\n| 27 | 18014398509482000 | 15 | 569707381193162 | 0.03162511259 |\n| 28 | 72057594037927900 | 15 | 569707381193162 | 0.007906278149 |\n| 29 | 288230376151712000 | 15 | 569707381193162 | 0.001976569537 |\n\nHexagonal cells don't align perfectly on a vector tile.\nSome cells may intersect more than one vector tile.\nTo compute the H3 resolution for each precision, Elasticsearch compares the average density of hexagonal bins at each resolution with the average density of tile bins at each zoom level.\nElasticsearch uses the H3 resolution that is closest to the corresponding geotile density.\n\nLearn how to use the vector tile search API with practical examples in the [Vector tile search examples](https://www.elastic.co/docs/reference/elasticsearch/rest-apis/vector-tile-search) guide." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "search_mvt", "type": "object", "properties": { "exact_bounds": { "type": "boolean", "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\n`geo_bounds` aggregation. The aggregation runs on <field> values that intersect\nthe `<zoom>/<x>/<y>` tile with `wrap_longitude` set to `false`. The resulting\nbounding box may be larger than the vector tile.", "x-found-in": "body" }, "extent": { "type": "number", "description": "The size, in pixels, of a side of the tile. Vector tiles are square with equal sides.", "x-found-in": "body" }, "grid_agg": { "$ref": "./_global.search_mvt._types.json#/$defs/_global.search_mvt._types__GridAggregationType", "description": "The aggregation used to create a grid for the `field`.", "x-found-in": "body" }, "grid_precision": { "type": "number", "description": "Additional zoom levels available through the aggs layer. For example, if `<zoom>` 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.", "x-found-in": "body" }, "grid_type": { "$ref": "./_global.search_mvt._types.json#/$defs/_global.search_mvt._types__GridType", "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.", "x-found-in": "body" }, "size": { "type": "number", "description": "The maximum number of features to return in the hits layer. Accepts 0-10000.\nIf 0, results don't include the hits layer.", "x-found-in": "body" }, "track_total_hits": { "$ref": "./_global.search._types.json#/$defs/_global.search._types__TrackHits", "description": "The 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.", "x-found-in": "body" }, "with_labels": { "type": "boolean", "description": "If `true`, the hits and aggs layers will contain additional point features representing\nsuggested label positions for the original features.\n\n* `Point` and `MultiPoint` features will have one of the points selected.\n* `Polygon` and `MultiPolygon` features will have a single point generated, either the centroid, if it is within the polygon, or another point within the polygon selected from the sorted triangle-tree.\n* `LineString` features will likewise provide a roughly central point selected from the triangle-tree.\n* The aggregation results will provide one central point for each aggregation bucket.\n\nAll attributes from the original features will also be copied to the new label features.\nIn addition, the new features will be distinguishable using the tag `_mvt_label_position`.", "x-found-in": "body" }, "aggs": { "type": "object", "additionalProperties": { "$ref": "./_types.aggregations.json#/$defs/_types.aggregations__AggregationContainer" }, "description": "Sub-aggregations for the geotile_grid.\n\nIt supports the following aggregation types:\n\n- `avg`\n- `boxplot`\n- `cardinality`\n- `extended stats`\n- `max`\n- `median absolute deviation`\n- `min`\n- `percentile`\n- `percentile-rank`\n- `stats`\n- `sum`\n- `value count`\n\nThe aggregation names can't start with `_mvt_`. The `_mvt_` prefix is reserved for internal aggregations.", "x-found-in": "body" }, "buffer": { "type": "number", "description": "The 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.", "x-found-in": "body" }, "fields": { "$ref": "./_types.json#/$defs/_types__Fields", "description": "The fields to return in the `hits` layer.\nIt supports wildcards (`*`).\nThis parameter does not support fields with array values. Fields with array\nvalues may return inconsistent results.", "x-found-in": "body" }, "query": { "$ref": "./_types.query_dsl.json#/$defs/_types.query_dsl__QueryContainer", "description": "The query DSL used to filter documents for the search.", "x-found-in": "body" }, "runtime_mappings": { "$ref": "./_types.mapping.json#/$defs/_types.mapping__RuntimeFields", "description": "Defines one or more runtime fields in the search request. These fields take\nprecedence over mapped fields with the same name.", "x-found-in": "body" }, "sort": { "$ref": "./_types.json#/$defs/_types__Sort", "description": "Sort the 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.", "x-found-in": "body" }, "index": { "$ref": "./_types.json#/$defs/_types__Indices", "description": "A list of indices, data streams, or aliases to search.\nIt supports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.\nTo search a remote cluster, use the `<cluster>:<target>` syntax.", "x-found-in": "path" }, "field": { "type": "string", "description": "A field that contains the geospatial data to return.\nIt must be a `geo_point` or `geo_shape` field.\nThe field must have doc values enabled. It cannot be a nested field.\n\nNOTE: Vector tiles do not natively support geometry collections.\nFor `geometrycollection` values in a `geo_shape` field, the API returns a hits layer feature for each element of the collection.\nThis behavior may change in a future release.", "x-found-in": "path" }, "zoom": { "type": "number", "description": "The zoom level of the vector tile to search. It accepts `0` to `29`.", "x-found-in": "path" }, "x": { "type": "number", "description": "The X coordinate for the vector tile to search.", "x-found-in": "path" }, "y": { "type": "number", "description": "The Y coordinate for the vector tile to search.", "x-found-in": "path" } }, "required": ["index", "field", "zoom", "x", "y"], "description": "Search a vector tile.\n\nSearch a vector tile for geospatial values.\nBefore using this API, you should be familiar with the Mapbox vector tile specification.\nThe API returns results as a binary mapbox vector tile.\n\nInternally, Elasticsearch translates a vector tile search API request into a search containing:\n\n* A `geo_bounding_box` query on the `<field>`. The query uses the `<zoom>/<x>/<y>` tile as a bounding box.\n* A `geotile_grid` or `geohex_grid` aggregation on the `<field>`. The `grid_agg` parameter determines the aggregation type. The aggregation uses the `<zoom>/<x>/<y>` tile as a bounding box.\n* Optionally, a `geo_bounds` aggregation on the `<field>`. The search only includes this aggregation if the `exact_bounds` parameter is `true`.\n* If the optional parameter `with_labels` is `true`, the internal search will include a dynamic runtime field that calls the `getLabelPosition` function of the geometry doc value. This enables the generation of new point features containing suggested geometry labels, so that, for example, multi-polygons will have only one label.\n\nThe API returns results as a binary Mapbox vector tile.\nMapbox vector tiles are encoded as Google Protobufs (PBF). By default, the tile contains three layers:\n\n* A `hits` layer containing a feature for each `<field>` value matching the `geo_bounding_box` query.\n* An `aggs` layer containing a feature for each cell of the `geotile_grid` or `geohex_grid`. The layer only contains features for cells with matching data.\n* A meta layer containing:\n * A feature containing a bounding box. By default, this is the bounding box of the tile.\n * Value ranges for any sub-aggregations on the `geotile_grid` or `geohex_grid`.\n * Metadata for the search.\n\nThe API only returns features that can display at its zoom level.\nFor example, if a polygon feature has no area at its zoom level, the API omits it.\nThe API returns errors as UTF-8 encoded JSON.\n\nIMPORTANT: You can specify several options for this API as either a query parameter or request body parameter.\nIf you specify both parameters, the query parameter takes precedence.\n\n**Grid precision for geotile**\n\nFor a `grid_agg` of `geotile`, you can use cells in the `aggs` layer as tiles for lower zoom levels.\n`grid_precision` represents the additional zoom levels available through these cells. The final precision is computed by as follows: `<zoom> + grid_precision`.\nFor example, if `<zoom>` is 7 and `grid_precision` is 8, then the `geotile_grid` aggregation will use a precision of 15.\nThe maximum final precision is 29.\nThe `grid_precision` also determines the number of cells for the grid as follows: `(2^grid_precision) x (2^grid_precision)`.\nFor example, a value of 8 divides the tile into a grid of 256 x 256 cells.\nThe `aggs` layer only contains features for cells with matching data.\n\n**Grid precision for geohex**\n\nFor a `grid_agg` of `geohex`, Elasticsearch uses `<zoom>` and `grid_precision` to calculate a final precision as follows: `<zoom> + grid_precision`.\n\nThis precision determines the H3 resolution of the hexagonal cells produced by the `geohex` aggregation.\nThe following table maps the H3 resolution for each precision.\nFor example, if `<zoom>` is 3 and `grid_precision` is 3, the precision is 6.\nAt a precision of 6, hexagonal cells have an H3 resolution of 2.\nIf `<zoom>` is 3 and `grid_precision` is 4, the precision is 7.\nAt a precision of 7, hexagonal cells have an H3 resolution of 3.\n\n| Precision | Unique tile bins | H3 resolution | Unique hex bins |\tRatio |\n| --------- | ---------------- | ------------- | ----------------| ----- |\n| 1 | 4 | 0 | 122 | 30.5 |\n| 2 | 16 | 0 | 122 | 7.625 |\n| 3 | 64 | 1 | 842 | 13.15625 |\n| 4 | 256 | 1 | 842 | 3.2890625 |\n| 5 | 1024 | 2 | 5882 | 5.744140625 |\n| 6 | 4096 | 2 | 5882 | 1.436035156 |\n| 7 | 16384 | 3 | 41162 | 2.512329102 |\n| 8 | 65536 | 3 | 41162 | 0.6280822754 |\n| 9 | 262144 | 4 | 288122 | 1.099098206 |\n| 10 | 1048576 | 4 | 288122 | 0.2747745514 |\n| 11 | 4194304 | 5 | 2016842 | 0.4808526039 |\n| 12 | 16777216 | 6 | 14117882 | 0.8414913416 |\n| 13 | 67108864 | 6 | 14117882 | 0.2103728354 |\n| 14 | 268435456 | 7 | 98825162 | 0.3681524172 |\n| 15 | 1073741824 | 8 | 691776122 | 0.644266719 |\n| 16 | 4294967296 | 8 | 691776122 | 0.1610666797 |\n| 17 | 17179869184 | 9 | 4842432842 | 0.2818666889 |\n| 18 | 68719476736 | 10 | 33897029882 | 0.4932667053 |\n| 19 | 274877906944 | 11 | 237279209162 | 0.8632167343 |\n| 20 | 1099511627776 | 11 | 237279209162 | 0.2158041836 |\n| 21 | 4398046511104 | 12 | 1660954464122 | 0.3776573213 |\n| 22 | 17592186044416 | 13 | 11626681248842 | 0.6609003122 |\n| 23 | 70368744177664 | 13 | 11626681248842 | 0.165225078 |\n| 24 | 281474976710656 | 14 | 81386768741882 | 0.2891438866 |\n| 25 | 1125899906842620 | 15 | 569707381193162 | 0.5060018015 |\n| 26 | 4503599627370500 | 15 | 569707381193162 | 0.1265004504 |\n| 27 | 18014398509482000 | 15 | 569707381193162 | 0.03162511259 |\n| 28 | 72057594037927900 | 15 | 569707381193162 | 0.007906278149 |\n| 29 | 288230376151712000 | 15 | 569707381193162 | 0.001976569537 |\n\nHexagonal cells don't align perfectly on a vector tile.\nSome cells may intersect more than one vector tile.\nTo compute the H3 resolution for each precision, Elasticsearch compares the average density of hexagonal bins at each resolution with the average density of tile bins at each zoom level.\nElasticsearch uses the H3 resolution that is closest to the corresponding geotile density.\n\nLearn how to use the vector tile search API with practical examples in the [Vector tile search examples](https://www.elastic.co/docs/reference/elasticsearch/rest-apis/vector-tile-search) guide." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "search_shards", "type": "object", "properties": { "index": { "$ref": "./_types.json#/$defs/_types__Indices", "description": "A comma-separated list of data streams, indices, and aliases to search.\nIt supports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", "x-found-in": "path" }, "allow_no_indices": { "type": "boolean", "description": "A setting that does two separate checks on the index expression.\nIf `false`, the request returns an error (1) if any wildcard expression\n(including `_all` and `*`) resolves to zero matching indices or (2) if the\ncomplete set of resolved indices, aliases or data streams is empty after all\nexpressions are evaluated. If `true`, index expressions that resolve to no\nindices are allowed and the request returns an empty result.", "x-found-in": "query" }, "expand_wildcards": { "$ref": "./_types.json#/$defs/_types__ExpandWildcards", "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`.", "x-found-in": "query" }, "ignore_unavailable": { "type": "boolean", "description": "If `false`, the request returns an error if it targets a concrete (non-wildcarded)\nindex, alias, or data stream that is missing, closed, or otherwise unavailable.\nIf `true`, unavailable concrete targets are silently ignored.", "x-found-in": "query" }, "local": { "type": "boolean", "description": "If `true`, the request retrieves information from the local node only.", "x-found-in": "query" }, "master_timeout": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "The period to wait for a connection to the master node.\nIf the master node is not available before the timeout expires, the request fails and returns an error.\nIT can also be set to `-1` to indicate that the request should never timeout.", "x-found-in": "query" }, "preference": { "type": "string", "description": "The node or shard the operation should be performed on.\nIt is random by default.", "x-found-in": "query" }, "routing": { "$ref": "./_types.json#/$defs/_types__Routing", "description": "A custom value used to route operations to a specific shard.\nNot allowed when `index.slice.enabled` is `true` for the target index; use `_slice` instead.", "x-found-in": "query" } }, "description": "Get the search shards.\n\nGet the indices and shards that a search request would be run against.\nThis information can be useful for working out issues or planning optimizations with routing and shard preferences.\nWhen filtered aliases are used, the filter is returned as part of the `indices` section.\n\nIf the Elasticsearch security features are enabled, you must have the `view_index_metadata` or `manage` index privilege for the target data stream, index, or alias." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "search_shards", "type": "object", "properties": { "allow_no_indices": { "type": "boolean", "description": "A setting that does two separate checks on the index expression.\nIf `false`, the request returns an error (1) if any wildcard expression\n(including `_all` and `*`) resolves to zero matching indices or (2) if the\ncomplete set of resolved indices, aliases or data streams is empty after all\nexpressions are evaluated. If `true`, index expressions that resolve to no\nindices are allowed and the request returns an empty result.", "x-found-in": "query" }, "expand_wildcards": { "$ref": "./_types.json#/$defs/_types__ExpandWildcards", "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`.", "x-found-in": "query" }, "ignore_unavailable": { "type": "boolean", "description": "If `false`, the request returns an error if it targets a concrete (non-wildcarded)\nindex, alias, or data stream that is missing, closed, or otherwise unavailable.\nIf `true`, unavailable concrete targets are silently ignored.", "x-found-in": "query" }, "local": { "type": "boolean", "description": "If `true`, the request retrieves information from the local node only.", "x-found-in": "query" }, "master_timeout": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "The period to wait for a connection to the master node.\nIf the master node is not available before the timeout expires, the request fails and returns an error.\nIT can also be set to `-1` to indicate that the request should never timeout.", "x-found-in": "query" }, "preference": { "type": "string", "description": "The node or shard the operation should be performed on.\nIt is random by default.", "x-found-in": "query" }, "routing": { "$ref": "./_types.json#/$defs/_types__Routing", "description": "A custom value used to route operations to a specific shard.\nNot allowed when `index.slice.enabled` is `true` for the target index; use `_slice` instead.", "x-found-in": "query" }, "index": { "$ref": "./_types.json#/$defs/_types__Indices", "description": "A comma-separated list of data streams, indices, and aliases to search.\nIt supports wildcards (`*`).\nTo search all data streams and indices, omit this parameter or use `*` or `_all`.", "x-found-in": "path" } }, "description": "Get the search shards.\n\nGet the indices and shards that a search request would be run against.\nThis information can be useful for working out issues or planning optimizations with routing and shard preferences.\nWhen filtered aliases are used, the filter is returned as part of the `indices` section.\n\nIf the Elasticsearch security features are enabled, you must have the `view_index_metadata` or `manage` index privilege for the target data stream, index, or alias." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "search_template", "type": "object", "properties": { "index": { "$ref": "./_types.json#/$defs/_types__Indices", "description": "A comma-separated list of data streams, indices, and aliases to search.\nIt supports wildcards (`*`).", "x-found-in": "path" }, "allow_no_indices": { "type": "boolean", "description": "A setting that does two separate checks on the index expression.\nIf `false`, the request returns an error (1) if any wildcard expression\n(including `_all` and `*`) resolves to zero matching indices or (2) if the\ncomplete set of resolved indices, aliases or data streams is empty after all\nexpressions are evaluated. If `true`, index expressions that resolve to no\nindices are allowed and the request returns an empty result.", "x-found-in": "query" }, "ccs_minimize_roundtrips": { "type": "boolean", "description": "Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution.", "x-found-in": "query" }, "expand_wildcards": { "$ref": "./_types.json#/$defs/_types__ExpandWildcards", "description": "The 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`.", "x-found-in": "query" }, "explain": { "type": "boolean", "description": "If `true`, returns detailed information about score calculation as part of each hit.\nIf you specify both this and the `explain` query parameter, the API uses only the query parameter.", "x-found-in": "body" }, "ignore_throttled": { "type": "boolean", "description": "If `true`, specified concrete, expanded, or aliased indices are not included in the response when throttled.", "x-found-in": "query" }, "ignore_unavailable": { "type": "boolean", "description": "If `false`, the request returns an error if it targets a concrete (non-wildcarded)\nindex, alias, or data stream that is missing, closed, or otherwise unavailable.\nIf `true`, unavailable concrete targets are silently ignored.", "x-found-in": "query" }, "preference": { "type": "string", "description": "The node or shard the operation should be performed on.\nIt is random by default.", "x-found-in": "query" }, "profile": { "type": "boolean", "description": "If `true`, the query execution is profiled.", "x-found-in": "body" }, "routing": { "$ref": "./_types.json#/$defs/_types__Routing", "description": "A custom value used to route operations to a specific shard.", "x-found-in": "query" }, "scroll": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "Specifies how long a consistent view of the index\nshould be maintained for scrolled search.", "x-found-in": "query" }, "search_type": { "$ref": "./_types.json#/$defs/_types__SearchType", "description": "The type of the search operation.", "x-found-in": "query" }, "rest_total_hits_as_int": { "type": "boolean", "description": "If `true`, `hits.total` is rendered as an integer in the response.\nIf `false`, it is rendered as an object.", "x-found-in": "query" }, "typed_keys": { "type": "boolean", "description": "If `true`, the response prefixes aggregation and suggester names with their respective types.", "x-found-in": "query" }, "id": { "type": "string", "description": "The ID of the search template to use. If no `source` is specified,\nthis parameter is required.", "x-found-in": "body" }, "params": { "type": "object", "additionalProperties": {}, "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", "x-found-in": "body" }, "source": { "$ref": "./_types.json#/$defs/_types__ScriptSource", "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. It also supports Mustache variables. If no `id` is specified, this\nparameter is required.", "x-found-in": "body" } }, "description": "Run a search with a search template." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "search_template", "type": "object", "properties": { "allow_no_indices": { "type": "boolean", "description": "A setting that does two separate checks on the index expression.\nIf `false`, the request returns an error (1) if any wildcard expression\n(including `_all` and `*`) resolves to zero matching indices or (2) if the\ncomplete set of resolved indices, aliases or data streams is empty after all\nexpressions are evaluated. If `true`, index expressions that resolve to no\nindices are allowed and the request returns an empty result.", "x-found-in": "query" }, "ccs_minimize_roundtrips": { "type": "boolean", "description": "Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution.", "x-found-in": "query" }, "expand_wildcards": { "$ref": "./_types.json#/$defs/_types__ExpandWildcards", "description": "The 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`.", "x-found-in": "query" }, "explain": { "type": "boolean", "description": "If `true`, returns detailed information about score calculation as part of each hit.\nIf you specify both this and the `explain` query parameter, the API uses only the query parameter.", "x-found-in": "body" }, "ignore_throttled": { "type": "boolean", "description": "If `true`, specified concrete, expanded, or aliased indices are not included in the response when throttled.", "x-found-in": "query" }, "ignore_unavailable": { "type": "boolean", "description": "If `false`, the request returns an error if it targets a concrete (non-wildcarded)\nindex, alias, or data stream that is missing, closed, or otherwise unavailable.\nIf `true`, unavailable concrete targets are silently ignored.", "x-found-in": "query" }, "preference": { "type": "string", "description": "The node or shard the operation should be performed on.\nIt is random by default.", "x-found-in": "query" }, "profile": { "type": "boolean", "description": "If `true`, the query execution is profiled.", "x-found-in": "body" }, "routing": { "$ref": "./_types.json#/$defs/_types__Routing", "description": "A custom value used to route operations to a specific shard.", "x-found-in": "query" }, "scroll": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "Specifies how long a consistent view of the index\nshould be maintained for scrolled search.", "x-found-in": "query" }, "search_type": { "$ref": "./_types.json#/$defs/_types__SearchType", "description": "The type of the search operation.", "x-found-in": "query" }, "rest_total_hits_as_int": { "type": "boolean", "description": "If `true`, `hits.total` is rendered as an integer in the response.\nIf `false`, it is rendered as an object.", "x-found-in": "query" }, "typed_keys": { "type": "boolean", "description": "If `true`, the response prefixes aggregation and suggester names with their respective types.", "x-found-in": "query" }, "id": { "type": "string", "description": "The ID of the search template to use. If no `source` is specified,\nthis parameter is required.", "x-found-in": "body" }, "params": { "type": "object", "additionalProperties": {}, "description": "Key-value pairs used to replace Mustache variables in the template.\nThe key is the variable name.\nThe value is the variable value.", "x-found-in": "body" }, "source": { "$ref": "./_types.json#/$defs/_types__ScriptSource", "description": "An inline search template. Supports the same parameters as the search API's\nrequest body. It also supports Mustache variables. If no `id` is specified, this\nparameter is required.", "x-found-in": "body" }, "index": { "$ref": "./_types.json#/$defs/_types__Indices", "description": "A comma-separated list of data streams, indices, and aliases to search.\nIt supports wildcards (`*`).", "x-found-in": "path" } }, "description": "Run a search with a search template." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "searchable_snapshots.clear_cache", "type": "object", "properties": { "index": { "$ref": "./_types.json#/$defs/_types__Indices", "description": "A comma-separated list of data streams, indices, and aliases to clear from the cache.\nIt supports wildcards (`*`).", "x-found-in": "path" }, "expand_wildcards": { "$ref": "./_types.json#/$defs/_types__ExpandWildcards", "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both", "x-found-in": "query" }, "allow_no_indices": { "type": "boolean", "description": "A setting that does two separate checks on the index expression.\nIf `false`, the request returns an error (1) if any wildcard expression\n(including `_all` and `*`) resolves to zero matching indices or (2) if the\ncomplete set of resolved indices, aliases or data streams is empty after all\nexpressions are evaluated. If `true`, index expressions that resolve to no\nindices are allowed and the request returns an empty result.", "x-found-in": "query" }, "ignore_unavailable": { "type": "boolean", "description": "If `false`, the request returns an error if it targets a concrete (non-wildcarded)\nindex, alias, or data stream that is missing, closed, or otherwise unavailable.\nIf `true`, unavailable concrete targets are silently ignored.", "x-found-in": "query" } }, "description": "Clear the cache.\n\nClear indices and data streams from the shared cache for partially mounted indices." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "searchable_snapshots.clear_cache", "type": "object", "properties": { "expand_wildcards": { "$ref": "./_types.json#/$defs/_types__ExpandWildcards", "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both", "x-found-in": "query" }, "allow_no_indices": { "type": "boolean", "description": "A setting that does two separate checks on the index expression.\nIf `false`, the request returns an error (1) if any wildcard expression\n(including `_all` and `*`) resolves to zero matching indices or (2) if the\ncomplete set of resolved indices, aliases or data streams is empty after all\nexpressions are evaluated. If `true`, index expressions that resolve to no\nindices are allowed and the request returns an empty result.", "x-found-in": "query" }, "ignore_unavailable": { "type": "boolean", "description": "If `false`, the request returns an error if it targets a concrete (non-wildcarded)\nindex, alias, or data stream that is missing, closed, or otherwise unavailable.\nIf `true`, unavailable concrete targets are silently ignored.", "x-found-in": "query" }, "index": { "$ref": "./_types.json#/$defs/_types__Indices", "description": "A comma-separated list of data streams, indices, and aliases to clear from the cache.\nIt supports wildcards (`*`).", "x-found-in": "path" } }, "description": "Clear the cache.\n\nClear indices and data streams from the shared cache for partially mounted indices." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "searchable_snapshots.mount", "type": "object", "properties": { "repository": { "type": "string", "description": "The name of the repository containing the snapshot of the index to mount.", "x-found-in": "path" }, "snapshot": { "type": "string", "description": "The name of the snapshot of the index to mount.", "x-found-in": "path" }, "master_timeout": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "The period to wait for the master node.\nIf the master node is not available before the timeout expires, the request fails and returns an error.\nTo indicate that the request should never timeout, set it to `-1`.", "x-found-in": "query" }, "wait_for_completion": { "type": "boolean", "description": "If true, the request blocks until the operation is complete.", "x-found-in": "query" }, "storage": { "$ref": "./searchable_snapshots.mount.json#/$defs/searchable_snapshots.mount__StorageOption", "description": "The mount option for the searchable snapshot index.\nFor further information on mount options, refer to: [Mount options](https://www.elastic.co/docs/deploy-manage/tools/snapshot-and-restore/searchable-snapshots#searchable-snapshot-mount-storage-options)", "x-found-in": "query" }, "index": { "type": "string", "description": "The name of the index contained in the snapshot whose data is to be mounted.\nIf no `renamed_index` is specified, this name will also be used to create the new index.", "x-found-in": "body" }, "renamed_index": { "type": "string", "description": "The name of the index that will be created.", "x-found-in": "body" }, "index_settings": { "type": "object", "additionalProperties": {}, "description": "The settings that should be added to the index when it is mounted.", "x-found-in": "body" }, "ignore_index_settings": { "type": "array", "items": { "type": "string" }, "description": "The names of settings that should be removed from the index when it is mounted.", "x-found-in": "body" } }, "required": ["repository", "snapshot", "index"], "description": "Mount a snapshot.\n\nMount a snapshot as a searchable snapshot index.\nDo not use this API for snapshots managed by index lifecycle management (ILM).\nManually mounting ILM-managed snapshots can interfere with ILM processes." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "searchable_snapshots.mount", "type": "object", "properties": { "master_timeout": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "The period to wait for the master node.\nIf the master node is not available before the timeout expires, the request fails and returns an error.\nTo indicate that the request should never timeout, set it to `-1`.", "x-found-in": "query" }, "wait_for_completion": { "type": "boolean", "description": "If true, the request blocks until the operation is complete.", "x-found-in": "query" }, "storage": { "$ref": "./searchable_snapshots.mount.json#/$defs/searchable_snapshots.mount__StorageOption", "description": "The mount option for the searchable snapshot index.\nFor further information on mount options, refer to: [Mount options](https://www.elastic.co/docs/deploy-manage/tools/snapshot-and-restore/searchable-snapshots#searchable-snapshot-mount-storage-options)", "x-found-in": "query" }, "index": { "type": "string", "description": "The name of the index contained in the snapshot whose data is to be mounted.\nIf no `renamed_index` is specified, this name will also be used to create the new index.", "x-found-in": "body" }, "renamed_index": { "type": "string", "description": "The name of the index that will be created.", "x-found-in": "body" }, "index_settings": { "type": "object", "additionalProperties": {}, "description": "The settings that should be added to the index when it is mounted.", "x-found-in": "body" }, "ignore_index_settings": { "type": "array", "items": { "type": "string" }, "description": "The names of settings that should be removed from the index when it is mounted.", "x-found-in": "body" }, "repository": { "type": "string", "description": "The name of the repository containing the snapshot of the index to mount.", "x-found-in": "path" }, "snapshot": { "type": "string", "description": "The name of the snapshot of the index to mount.", "x-found-in": "path" } }, "required": ["repository", "snapshot", "index"], "description": "Mount a snapshot.\n\nMount a snapshot as a searchable snapshot index.\nDo not use this API for snapshots managed by index lifecycle management (ILM).\nManually mounting ILM-managed snapshots can interfere with ILM processes." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "searchable_snapshots.stats", "type": "object", "properties": { "index": { "$ref": "./_types.json#/$defs/_types__Indices", "description": "A comma-separated list of data streams and indices to retrieve statistics for.", "x-found-in": "path" }, "level": { "$ref": "./searchable_snapshots._types.json#/$defs/searchable_snapshots._types__StatsLevel", "description": "Return stats aggregated at cluster, index or shard level", "x-found-in": "query" } }, "description": "Get searchable snapshot statistics." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "searchable_snapshots.stats", "type": "object", "properties": { "level": { "$ref": "./searchable_snapshots._types.json#/$defs/searchable_snapshots._types__StatsLevel", "description": "Return stats aggregated at cluster, index or shard level", "x-found-in": "query" }, "index": { "$ref": "./_types.json#/$defs/_types__Indices", "description": "A comma-separated list of data streams and indices to retrieve statistics for.", "x-found-in": "path" } }, "description": "Get searchable snapshot statistics." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.bulk_update_api_keys", "type": "object", "properties": { "expiration": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "Expiration time for the API keys.\nBy default, API keys never expire.\nThis property can be omitted to leave the value unchanged.", "x-found-in": "body" }, "ids": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }], "description": "The API key identifiers.", "x-found-in": "body" }, "metadata": { "$ref": "./_types.json#/$defs/_types__Metadata", "description": "Arbitrary nested metadata to associate with the API keys.\nWithin the `metadata` object, top-level keys beginning with an underscore (`_`) are reserved for system usage.\nAny information specified with this parameter fully replaces metadata previously associated with the API key.", "x-found-in": "body" }, "role_descriptors": { "type": "object", "additionalProperties": { "$ref": "./security._types.json#/$defs/security._types__RoleDescriptor" }, "description": "The role descriptors to assign to the API keys.\nAn API key's effective permissions are an intersection of its assigned privileges and the point-in-time snapshot of permissions of the owner user.\nYou can assign new privileges by specifying them in this parameter.\nTo remove assigned privileges, supply the `role_descriptors` parameter as an empty object `{}`.\nIf an API key has no assigned privileges, it inherits the owner user's full permissions.\nThe snapshot of the owner's permissions is always updated, whether you supply the `role_descriptors` parameter.\nThe structure of a role descriptor is the same as the request for the create API keys API.", "x-found-in": "body" } }, "required": ["ids"], "description": "Bulk update API keys.\n\nUpdate the attributes for multiple API keys.\n\nIMPORTANT: It is not possible to use an API key as the authentication credential for this API. To update API keys, the owner user's credentials are required.\n\nThis API is similar to the update API key API but enables you to apply the same update to multiple API keys in one API call. This operation can greatly improve performance over making individual updates.\n\nIt is not possible to update expired or invalidated API keys.\n\nThis API supports updates to API key access scope, metadata and expiration.\nThe access scope of each 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.\n\nIMPORTANT: If you don't specify `role_descriptors` in the request, a call to this API might still change an API key's access scope. This change can occur if the owner user's permissions have changed since the API key was created or last modified.\n\nA successful request returns a JSON structure that contains the IDs of all updated API keys, the IDs of API keys that already had the requested changes and did not require an update, and error details for any failed update." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.bulk_update_api_keys", "type": "object", "properties": { "expiration": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "Expiration time for the API keys.\nBy default, API keys never expire.\nThis property can be omitted to leave the value unchanged.", "x-found-in": "body" }, "ids": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }], "description": "The API key identifiers.", "x-found-in": "body" }, "metadata": { "$ref": "./_types.json#/$defs/_types__Metadata", "description": "Arbitrary nested metadata to associate with the API keys.\nWithin the `metadata` object, top-level keys beginning with an underscore (`_`) are reserved for system usage.\nAny information specified with this parameter fully replaces metadata previously associated with the API key.", "x-found-in": "body" }, "role_descriptors": { "type": "object", "additionalProperties": { "$ref": "./security._types.json#/$defs/security._types__RoleDescriptor" }, "description": "The role descriptors to assign to the API keys.\nAn API key's effective permissions are an intersection of its assigned privileges and the point-in-time snapshot of permissions of the owner user.\nYou can assign new privileges by specifying them in this parameter.\nTo remove assigned privileges, supply the `role_descriptors` parameter as an empty object `{}`.\nIf an API key has no assigned privileges, it inherits the owner user's full permissions.\nThe snapshot of the owner's permissions is always updated, whether you supply the `role_descriptors` parameter.\nThe structure of a role descriptor is the same as the request for the create API keys API.", "x-found-in": "body" } }, "required": ["ids"], "description": "Bulk update API keys.\n\nUpdate the attributes for multiple API keys.\n\nIMPORTANT: It is not possible to use an API key as the authentication credential for this API. To update API keys, the owner user's credentials are required.\n\nThis API is similar to the update API key API but enables you to apply the same update to multiple API keys in one API call. This operation can greatly improve performance over making individual updates.\n\nIt is not possible to update expired or invalidated API keys.\n\nThis API supports updates to API key access scope, metadata and expiration.\nThe access scope of each 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.\n\nIMPORTANT: If you don't specify `role_descriptors` in the request, a call to this API might still change an API key's access scope. This change can occur if the owner user's permissions have changed since the API key was created or last modified.\n\nA successful request returns a JSON structure that contains the IDs of all updated API keys, the IDs of API keys that already had the requested changes and did not require an update, and error details for any failed update." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.change_password", "type": "object", "properties": { "username": { "type": "string", "description": "The user whose password you want to change. If you do not specify this\nparameter, the password is changed for the current user.", "x-found-in": "path" }, "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" }, "password": { "type": "string", "description": "The new password value. Passwords must be at least 6 characters long.", "x-found-in": "body" }, "password_hash": { "type": "string", "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.", "x-found-in": "body" } }, "description": "Change passwords.\n\nChange the passwords of users in the native realm and built-in users." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.change_password", "type": "object", "properties": { "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" }, "password": { "type": "string", "description": "The new password value. Passwords must be at least 6 characters long.", "x-found-in": "body" }, "password_hash": { "type": "string", "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.", "x-found-in": "body" }, "username": { "type": "string", "description": "The user whose password you want to change. If you do not specify this\nparameter, the password is changed for the current user.", "x-found-in": "path" } }, "description": "Change passwords.\n\nChange the passwords of users in the native realm and built-in users." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.clear_cached_realms", "type": "object", "properties": { "realms": { "$ref": "./_types.json#/$defs/_types__Names", "description": "A comma-separated list of realms.\nTo clear all realms, use an asterisk (`*`).\nIt does not support other wildcard patterns.", "x-found-in": "path" }, "usernames": { "type": "array", "items": { "type": "string" }, "description": "A comma-separated list of the users to clear from the cache.\nIf you do not specify this parameter, the API evicts all users from the user cache.", "x-found-in": "query" } }, "required": ["realms"], "description": "Clear the user cache.\n\nEvict users from the user cache.\nYou can completely clear the cache or evict specific users.\n\nUser credentials are cached in memory on each node to avoid connecting to a remote authentication service or hitting the disk for every incoming request.\nThere are realm settings that you can use to configure the user cache.\nFor more information, refer to the documentation about controlling the user cache." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.clear_cached_realms", "type": "object", "properties": { "usernames": { "type": "array", "items": { "type": "string" }, "description": "A comma-separated list of the users to clear from the cache.\nIf you do not specify this parameter, the API evicts all users from the user cache.", "x-found-in": "query" }, "realms": { "$ref": "./_types.json#/$defs/_types__Names", "description": "A comma-separated list of realms.\nTo clear all realms, use an asterisk (`*`).\nIt does not support other wildcard patterns.", "x-found-in": "path" } }, "required": ["realms"], "description": "Clear the user cache.\n\nEvict users from the user cache.\nYou can completely clear the cache or evict specific users.\n\nUser credentials are cached in memory on each node to avoid connecting to a remote authentication service or hitting the disk for every incoming request.\nThere are realm settings that you can use to configure the user cache.\nFor more information, refer to the documentation about controlling the user cache." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.create_service_token", "type": "object", "properties": { "namespace": { "type": "string", "description": "The name of the namespace, which is a top-level grouping of service accounts.", "x-found-in": "path" }, "service": { "type": "string", "description": "The name of the service.", "x-found-in": "path" }, "name": { "type": "string", "description": "The name for the service account token.\nIf omitted, a random name will be generated.\n\nToken names must be at least one and no more than 256 characters.\nThey can contain alphanumeric characters (a-z, A-Z, 0-9), dashes (`-`), and underscores (`_`), but cannot begin with an underscore.\n\nNOTE: Token names must be unique in the context of the associated service account.\nThey must also be globally unique with their fully qualified names, which are comprised of the service account principal and token name, such as `<namespace>/<service>/<token-name>`.", "x-found-in": "path" }, "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" } }, "required": ["namespace", "service"], "description": "Create a service account token.\n\nCreate a service accounts token for access without requiring basic authentication.\n\nNOTE: Service account tokens never expire.\nYou must actively delete them if they are no longer needed.\n\nIMPORTANT: On Serverless, non-operator users can create tokens for only `elastic/fleet-server` and `elastic/fleet-server-remote`.\nCreating tokens for any other service account requires operator privileges." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.create_service_token", "type": "object", "properties": { "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" }, "namespace": { "type": "string", "description": "The name of the namespace, which is a top-level grouping of service accounts.", "x-found-in": "path" }, "service": { "type": "string", "description": "The name of the service.", "x-found-in": "path" }, "name": { "type": "string", "description": "The name for the service account token.\nIf omitted, a random name will be generated.\n\nToken names must be at least one and no more than 256 characters.\nThey can contain alphanumeric characters (a-z, A-Z, 0-9), dashes (`-`), and underscores (`_`), but cannot begin with an underscore.\n\nNOTE: Token names must be unique in the context of the associated service account.\nThey must also be globally unique with their fully qualified names, which are comprised of the service account principal and token name, such as `<namespace>/<service>/<token-name>`.", "x-found-in": "path" } }, "required": ["namespace", "service"], "description": "Create a service account token.\n\nCreate a service accounts token for access without requiring basic authentication.\n\nNOTE: Service account tokens never expire.\nYou must actively delete them if they are no longer needed.\n\nIMPORTANT: On Serverless, non-operator users can create tokens for only `elastic/fleet-server` and `elastic/fleet-server-remote`.\nCreating tokens for any other service account requires operator privileges." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.delete_privileges", "type": "object", "properties": { "application": { "type": "string", "description": "The name of the application.\nApplication privileges are always associated with exactly one application.", "x-found-in": "path" }, "name": { "$ref": "./_types.json#/$defs/_types__Names", "description": "The name of the privilege.", "x-found-in": "path" }, "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" } }, "required": ["application", "name"], "description": "Delete application privileges.\n\nTo use this API, you must have one of the following privileges:\n\n* The `manage_security` cluster privilege (or a greater privilege such as `all`).\n* The \"Manage Application Privileges\" global privilege for the application being referenced in the request." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.delete_privileges", "type": "object", "properties": { "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" }, "application": { "type": "string", "description": "The name of the application.\nApplication privileges are always associated with exactly one application.", "x-found-in": "path" }, "name": { "$ref": "./_types.json#/$defs/_types__Names", "description": "The name of the privilege.", "x-found-in": "path" } }, "required": ["application", "name"], "description": "Delete application privileges.\n\nTo use this API, you must have one of the following privileges:\n\n* The `manage_security` cluster privilege (or a greater privilege such as `all`).\n* The \"Manage Application Privileges\" global privilege for the application being referenced in the request." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.delete_role", "type": "object", "properties": { "name": { "type": "string", "description": "The name of the role.", "x-found-in": "path" }, "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" } }, "required": ["name"], "description": "Delete roles.\n\nDelete roles in the native realm.\nThe role management APIs are generally the preferred way to manage roles, rather than using file-based role management.\nThe delete roles API cannot remove roles that are defined in roles files." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.delete_role", "type": "object", "properties": { "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" }, "name": { "type": "string", "description": "The name of the role.", "x-found-in": "path" } }, "required": ["name"], "description": "Delete roles.\n\nDelete roles in the native realm.\nThe role management APIs are generally the preferred way to manage roles, rather than using file-based role management.\nThe delete roles API cannot remove roles that are defined in roles files." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.delete_role_mapping", "type": "object", "properties": { "name": { "type": "string", "description": "The distinct name that identifies the role mapping.\nThe 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.", "x-found-in": "path" }, "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" } }, "required": ["name"], "description": "Delete role mappings.\n\nRole mappings define which roles are assigned to each user.\nThe role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files.\nThe delete role mappings API cannot remove role mappings that are defined in role mapping files." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.delete_role_mapping", "type": "object", "properties": { "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" }, "name": { "type": "string", "description": "The distinct name that identifies the role mapping.\nThe 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.", "x-found-in": "path" } }, "required": ["name"], "description": "Delete role mappings.\n\nRole mappings define which roles are assigned to each user.\nThe role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files.\nThe delete role mappings API cannot remove role mappings that are defined in role mapping files." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.delete_service_token", "type": "object", "properties": { "namespace": { "type": "string", "description": "The namespace, which is a top-level grouping of service accounts.", "x-found-in": "path" }, "service": { "type": "string", "description": "The service name.", "x-found-in": "path" }, "name": { "type": "string", "description": "The name of the service account token.", "x-found-in": "path" }, "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" } }, "required": ["namespace", "service", "name"], "description": "Delete service account tokens.\n\nDelete service account tokens for a service in a specified namespace.\n\nIMPORTANT: On Serverless, non-operator users can delete tokens for only `elastic/fleet-server` and `elastic/fleet-server-remote`.\nDeleting tokens for any other service account requires operator privileges." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.delete_service_token", "type": "object", "properties": { "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" }, "namespace": { "type": "string", "description": "The namespace, which is a top-level grouping of service accounts.", "x-found-in": "path" }, "service": { "type": "string", "description": "The service name.", "x-found-in": "path" }, "name": { "type": "string", "description": "The name of the service account token.", "x-found-in": "path" } }, "required": ["namespace", "service", "name"], "description": "Delete service account tokens.\n\nDelete service account tokens for a service in a specified namespace.\n\nIMPORTANT: On Serverless, non-operator users can delete tokens for only `elastic/fleet-server` and `elastic/fleet-server-remote`.\nDeleting tokens for any other service account requires operator privileges." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.delete_user", "type": "object", "properties": { "username": { "type": "string", "description": "An identifier for the user.", "x-found-in": "path" }, "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" } }, "required": ["username"], "description": "Delete users.\n\nDelete users from the native realm." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.delete_user", "type": "object", "properties": { "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" }, "username": { "type": "string", "description": "An identifier for the user.", "x-found-in": "path" } }, "required": ["username"], "description": "Delete users.\n\nDelete users from the native realm." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.disable_user", "type": "object", "properties": { "username": { "type": "string", "description": "An identifier for the user.", "x-found-in": "path" }, "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" } }, "required": ["username"], "description": "Disable users.\n\nDisable users in the native realm.\nBy default, when you create users, they are enabled.\nYou can use this API to revoke a user's access to Elasticsearch." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.disable_user", "type": "object", "properties": { "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" }, "username": { "type": "string", "description": "An identifier for the user.", "x-found-in": "path" } }, "required": ["username"], "description": "Disable users.\n\nDisable users in the native realm.\nBy default, when you create users, they are enabled.\nYou can use this API to revoke a user's access to Elasticsearch." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.disable_user_profile", "type": "object", "properties": { "uid": { "type": "string", "description": "Unique identifier for the user profile.", "x-found-in": "path" }, "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation visible to search.\nIf 'wait_for', it waits for a refresh to make this operation visible to search.\nIf 'false', it does nothing with refreshes.", "x-found-in": "query" } }, "required": ["uid"], "description": "Disable a user profile.\n\nDisable user profiles so that they are not visible in user profile searches.\n\nNOTE: The user profile feature is designed only for use by Kibana and Elastic's Observability, Enterprise Search, and Elastic Security solutions.\nIndividual users and external applications should not call this API directly.\nElastic reserves the right to change or remove this feature in future releases without prior notice.\n\nWhen you activate a user profile, its automatically enabled and visible in user profile searches. You can use the disable user profile API to disable a user profile so it’s not visible in these searches.\nTo re-enable a disabled user profile, use the enable user profile API ." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.disable_user_profile", "type": "object", "properties": { "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation visible to search.\nIf 'wait_for', it waits for a refresh to make this operation visible to search.\nIf 'false', it does nothing with refreshes.", "x-found-in": "query" }, "uid": { "type": "string", "description": "Unique identifier for the user profile.", "x-found-in": "path" } }, "required": ["uid"], "description": "Disable a user profile.\n\nDisable user profiles so that they are not visible in user profile searches.\n\nNOTE: The user profile feature is designed only for use by Kibana and Elastic's Observability, Enterprise Search, and Elastic Security solutions.\nIndividual users and external applications should not call this API directly.\nElastic reserves the right to change or remove this feature in future releases without prior notice.\n\nWhen you activate a user profile, its automatically enabled and visible in user profile searches. You can use the disable user profile API to disable a user profile so it’s not visible in these searches.\nTo re-enable a disabled user profile, use the enable user profile API ." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.enable_user", "type": "object", "properties": { "username": { "type": "string", "description": "An identifier for the user.", "x-found-in": "path" }, "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" } }, "required": ["username"], "description": "Enable users.\n\nEnable users in the native realm.\nBy default, when you create users, they are enabled." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.enable_user", "type": "object", "properties": { "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" }, "username": { "type": "string", "description": "An identifier for the user.", "x-found-in": "path" } }, "required": ["username"], "description": "Enable users.\n\nEnable users in the native realm.\nBy default, when you create users, they are enabled." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.enable_user_profile", "type": "object", "properties": { "uid": { "type": "string", "description": "A unique identifier for the user profile.", "x-found-in": "path" }, "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search.\nIf 'wait_for', it waits for a refresh to make this operation visible to search.\nIf 'false', nothing is done with refreshes.", "x-found-in": "query" } }, "required": ["uid"], "description": "Enable a user profile.\n\nEnable user profiles to make them visible in user profile searches.\n\nNOTE: The user profile feature is designed only for use by Kibana and Elastic's Observability, Enterprise Search, and Elastic Security solutions.\nIndividual users and external applications should not call this API directly.\nElastic reserves the right to change or remove this feature in future releases without prior notice.\n\nWhen you activate a user profile, it's automatically enabled and visible in user profile searches.\nIf you later disable the user profile, you can use the enable user profile API to make the profile visible in these searches again." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.enable_user_profile", "type": "object", "properties": { "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "description": "If 'true', Elasticsearch refreshes the affected shards to make this operation\nvisible to search.\nIf 'wait_for', it waits for a refresh to make this operation visible to search.\nIf 'false', nothing is done with refreshes.", "x-found-in": "query" }, "uid": { "type": "string", "description": "A unique identifier for the user profile.", "x-found-in": "path" } }, "required": ["uid"], "description": "Enable a user profile.\n\nEnable user profiles to make them visible in user profile searches.\n\nNOTE: The user profile feature is designed only for use by Kibana and Elastic's Observability, Enterprise Search, and Elastic Security solutions.\nIndividual users and external applications should not call this API directly.\nElastic reserves the right to change or remove this feature in future releases without prior notice.\n\nWhen you activate a user profile, it's automatically enabled and visible in user profile searches.\nIf you later disable the user profile, you can use the enable user profile API to make the profile visible in these searches again." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.get_role", "type": "object", "properties": { "name": { "$ref": "./_types.json#/$defs/_types__Names", "description": "The name of the role.\nYou can specify multiple roles as a comma-separated list.\nIf you do not specify this parameter, the API returns information about all roles.", "x-found-in": "path" }, "include_implicit": { "type": "boolean", "description": "If `true`, include privileges that are implicitly granted by registered `ImplicitPrivilegesProviders` alongside the explicitly configured privileges.\nEach implicit entry in the response is annotated with `implicitly_granted: true`.", "x-found-in": "query" } }, "description": "Get roles.\n\nGet roles in the native realm.\nThe 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." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.get_role", "type": "object", "properties": { "include_implicit": { "type": "boolean", "description": "If `true`, include privileges that are implicitly granted by registered `ImplicitPrivilegesProviders` alongside the explicitly configured privileges.\nEach implicit entry in the response is annotated with `implicitly_granted: true`.", "x-found-in": "query" }, "name": { "$ref": "./_types.json#/$defs/_types__Names", "description": "The name of the role.\nYou can specify multiple roles as a comma-separated list.\nIf you do not specify this parameter, the API returns information about all roles.", "x-found-in": "path" } }, "description": "Get roles.\n\nGet roles in the native realm.\nThe 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." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.get_user", "type": "object", "properties": { "username": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }], "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.", "x-found-in": "path" }, "with_profile_uid": { "type": "boolean", "description": "Determines whether to retrieve the user profile UID, if it exists, for the users.", "x-found-in": "query" } }, "description": "Get users.\n\nGet information about users in the native realm and built-in users." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.get_user", "type": "object", "properties": { "with_profile_uid": { "type": "boolean", "description": "Determines whether to retrieve the user profile UID, if it exists, for the users.", "x-found-in": "query" }, "username": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }], "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.", "x-found-in": "path" } }, "description": "Get users.\n\nGet information about users in the native realm and built-in users." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.get_user_profile", "type": "object", "properties": { "uid": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }], "description": "A unique identifier for the user profile.", "x-found-in": "path" }, "data": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }], "description": "A comma-separated list of filters for the `data` field of the profile document.\nTo return all content use `data=*`.\nTo return a subset of content use `data=<key>` to retrieve content nested under the specified `<key>`.\nBy default returns no `data` content.", "x-found-in": "query" } }, "required": ["uid"], "description": "Get a user profile.\n\nGet a user's profile using the unique profile ID.\n\nNOTE: The user profile feature is designed only for use by Kibana and Elastic's Observability, Enterprise Search, and Elastic Security solutions.\nIndividual users and external applications should not call this API directly.\nElastic reserves the right to change or remove this feature in future releases without prior notice." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.get_user_profile", "type": "object", "properties": { "data": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }], "description": "A comma-separated list of filters for the `data` field of the profile document.\nTo return all content use `data=*`.\nTo return a subset of content use `data=<key>` to retrieve content nested under the specified `<key>`.\nBy default returns no `data` content.", "x-found-in": "query" }, "uid": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }], "description": "A unique identifier for the user profile.", "x-found-in": "path" } }, "required": ["uid"], "description": "Get a user profile.\n\nGet a user's profile using the unique profile ID.\n\nNOTE: The user profile feature is designed only for use by Kibana and Elastic's Observability, Enterprise Search, and Elastic Security solutions.\nIndividual users and external applications should not call this API directly.\nElastic reserves the right to change or remove this feature in future releases without prior notice." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.has_privileges", "type": "object", "properties": { "user": { "type": "string", "description": "Username", "x-found-in": "path" }, "application": { "type": "array", "items": { "$ref": "./security.has_privileges.json#/$defs/security.has_privileges__ApplicationPrivilegesCheck" }, "x-found-in": "body" }, "cluster": { "type": "array", "items": { "$ref": "./security._types.json#/$defs/security._types__ClusterPrivilege" }, "description": "A list of the cluster privileges that you want to check.", "x-found-in": "body" }, "index": { "type": "array", "items": { "$ref": "./security.has_privileges.json#/$defs/security.has_privileges__IndexPrivilegesCheck" }, "x-found-in": "body" } }, "description": "Check user privileges.\n\nDetermine whether the specified user has a specified list of privileges.\nAll users can use this API, but only to determine their own privileges.\nTo check the privileges of other users, you must use the run as feature." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.has_privileges", "type": "object", "properties": { "application": { "type": "array", "items": { "$ref": "./security.has_privileges.json#/$defs/security.has_privileges__ApplicationPrivilegesCheck" }, "x-found-in": "body" }, "cluster": { "type": "array", "items": { "$ref": "./security._types.json#/$defs/security._types__ClusterPrivilege" }, "description": "A list of the cluster privileges that you want to check.", "x-found-in": "body" }, "index": { "type": "array", "items": { "$ref": "./security.has_privileges.json#/$defs/security.has_privileges__IndexPrivilegesCheck" }, "x-found-in": "body" }, "user": { "type": "string", "description": "Username", "x-found-in": "path" } }, "description": "Check user privileges.\n\nDetermine whether the specified user has a specified list of privileges.\nAll users can use this API, but only to determine their own privileges.\nTo check the privileges of other users, you must use the run as feature." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.put_privileges", "type": "object", "properties": { "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" } }, "description": "Create or update application privileges.\n\nTo use this API, you must have one of the following privileges:\n\n* The `manage_security` cluster privilege (or a greater privilege such as `all`).\n* The \"Manage Application Privileges\" global privilege for the application being referenced in the request.\n\nApplication names are formed from a prefix, with an optional suffix that conform to the following rules:\n\n* The prefix must begin with a lowercase ASCII letter.\n* The prefix must contain only ASCII letters or digits.\n* The prefix must be at least 3 characters long.\n* If the suffix exists, it must begin with either a dash `-` or `_`.\n* The suffix cannot contain any of the following characters: `\\`, `/`, `*`, `?`, `\"`, `<`, `>`, `|`, `,`, `*`.\n* No part of the name can contain whitespace.\n\nPrivilege names must begin with a lowercase ASCII letter and must contain only ASCII letters and digits along with the characters `_`, `-`, and `.`.\n\nAction names can contain any number of printable ASCII characters and must contain at least one of the following characters: `/`, `*`, `:`." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.put_privileges", "type": "object", "properties": { "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" }, "privileges": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": { "$ref": "./security.put_privileges.json#/$defs/security.put_privileges__Actions" } }, "x-found-in": "body" } }, "description": "Create or update application privileges.\n\nTo use this API, you must have one of the following privileges:\n\n* The `manage_security` cluster privilege (or a greater privilege such as `all`).\n* The \"Manage Application Privileges\" global privilege for the application being referenced in the request.\n\nApplication names are formed from a prefix, with an optional suffix that conform to the following rules:\n\n* The prefix must begin with a lowercase ASCII letter.\n* The prefix must contain only ASCII letters or digits.\n* The prefix must be at least 3 characters long.\n* If the suffix exists, it must begin with either a dash `-` or `_`.\n* The suffix cannot contain any of the following characters: `\\`, `/`, `*`, `?`, `\"`, `<`, `>`, `|`, `,`, `*`.\n* No part of the name can contain whitespace.\n\nPrivilege names must begin with a lowercase ASCII letter and must contain only ASCII letters and digits along with the characters `_`, `-`, and `.`.\n\nAction names can contain any number of printable ASCII characters and must contain at least one of the following characters: `/`, `*`, `:`." }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.put_role", "type": "object", "properties": { "name": { "type": "string", "description": "The name of the role that is being created or updated. On Elasticsearch Serverless, the role name must begin with a letter or digit and can only contain letters, digits and the characters '_', '-', and '.'. Each role must have a unique name, as this will serve as the identifier for that role.", "x-found-in": "path" }, "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" }, "applications": { "type": "array", "items": { "$ref": "./security._types.json#/$defs/security._types__ApplicationPrivileges" }, "description": "A list of application privilege entries.", "x-found-in": "body" }, "cluster": { "type": "array", "items": { "$ref": "./security._types.json#/$defs/security._types__ClusterPrivilege" }, "description": "A list of cluster privileges. These privileges define the cluster-level actions for users with this role.", "x-found-in": "body" }, "global": { "type": "object", "additionalProperties": {}, "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.", "x-found-in": "body" }, "indices": { "type": "array", "items": { "$ref": "./security._types.json#/$defs/security._types__IndicesPrivileges" }, "description": "A list of indices permissions entries.", "x-found-in": "body" }, "remote_indices": { "type": "array", "items": { "$ref": "./security._types.json#/$defs/security._types__RemoteIndicesPrivileges" }, "description": "A list of remote indices permissions entries.\n\nNOTE: Remote indices are effective for remote clusters configured with the API key based model.\nThey have no effect for remote clusters configured with the certificate based model.", "x-found-in": "body" }, "remote_cluster": { "type": "array", "items": { "$ref": "./security._types.json#/$defs/security._types__RemoteClusterPrivileges" }, "description": "A list of remote cluster permissions entries.", "x-found-in": "body" }, "metadata": { "$ref": "./_types.json#/$defs/_types__Metadata", "description": "Optional metadata. Within the metadata object, keys that begin with an underscore (`_`) are reserved for system use.", "x-found-in": "body" }, "run_as": { "type": "array", "items": { "type": "string" }, "description": "A list of users that the owners of this role can impersonate. *Note*: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty `run_as` field, but a non-empty list will be rejected.", "x-found-in": "body" }, "description": { "type": "string", "description": "Optional description of the role descriptor", "x-found-in": "body" }, "transient_metadata": { "type": "object", "additionalProperties": {}, "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.", "x-found-in": "body" } }, "required": ["name"], "description": "Create or update roles.\n\nThe role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management.\nThe create or update roles API cannot update roles that are defined in roles files.\nFile-based role management is not available in Elastic Serverless." }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "security.put_role", "type": "object", "properties": { "refresh": { "$ref": "./_types.json#/$defs/_types__Refresh", "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.", "x-found-in": "query" }, "applications": { "type": "array", "items": { "$ref": "./security._types.json#/$defs/security._types__ApplicationPrivileges" }, "description": "A list of application privilege entries.", "x-found-in": "body" }, "cluster": { "type": "array", "items": { "$ref": "./security._types.json#/$defs/security._types__ClusterPrivilege" }, "description": "A list of cluster privileges. These privileges define the cluster-level actions for users with this role.", "x-found-in": "body" }, "global": { "type": "object", "additionalProperties": {}, "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.", "x-found-in": "body" }, "indices": { "type": "array", "items": { "$ref": "./security._types.json#/$defs/security._types__IndicesPrivileges" }, "description": "A list of indices permissions entries.", "x-found-in": "body" }, "remote_indices": { "type": "array", "items": { "$ref": "./security._types.json#/$defs/security._types__RemoteIndicesPrivileges" }, "description": "A list of remote indices permissions entries.\n\nNOTE: Remote indices are effective for remote clusters configured with the API key based model.\nThey have no effect for remote clusters configured with the certificate based model.", "x-found-in": "body" }, "remote_cluster": { "type": "array", "items": { "$ref": "./security._types.json#/$defs/security._types__RemoteClusterPrivileges" }, "description": "A list of remote cluster permissions entries.", "x-found-in": "body" }, "metadata": { "$ref": "./_types.json#/$defs/_types__Metadata", "description": "Optional metadata. Within the metadata object, keys that begin with an underscore (`_`) are reserved for system use.", "x-found-in": "body" }, "run_as": { "type": "array", "items": { "type": "string" }, "description": "A list of users that the owners of this role can impersonate. *Note*: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty `run_as` field, but a non-empty list will be rejected.", "x-found-in": "body" }, "description": { "type": "string", "description": "Optional description of the role descriptor", "x-found-in": "body" }, "transient_metadata": { "type": "object", "additionalProperties": {}, "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.", "x-found-in": "body" }, "name": { "type": "string", "description": "The name of the role that is being created or updated. On Elasticsearch Serverless, the role name must begin with a letter or digit and can only contain letters, digits and the characters '_', '-', and '.'. Each role must have a unique name, as this will serve as the identifier for that role.", "x-found-in": "path" } }, "required": ["name"], "description": "Create or update roles.\n\nThe role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management.\nThe create or update roles API cannot update roles that are defined in roles files.\nFile-based role management is not available in Elastic Serverless." }